Files
skill-template/assets/examples/README.md
chendelian 78c24a515d
All checks were successful
技能自动化发布 / release (push) Successful in 8s
docs: document year and year_month display_type host contract
2026-09-26 10:23:06 +08:00

1.9 KiB
Raw Blame History

示例 JSON

  • version-response.json:python main.py version 成功时 stdout 单行对象的形状参考。
  • skill-policy-snapshot.*.example.json:Data Policy Snapshot 形状参考(见 references/POLICY.md)。
  • skill-cell-presentation.example.json:数据管理单元格呈现文档形状参考(见 references/CELL_PRESENTATION.md)。
  • skill-grid-presentation.example.json:数据管理整行 / 整列 / 区域呈现文档形状参考(见 references/CELL_PRESENTATION.md)。
  • render-html.action.example.json:HTML 报告「重新生成」Action 形状参考(固定 id render-html;见 references/ACTIONS.md)。
  • lookup-action.example.json:Action 内联 Lookup 形状参考(单选 + multiple: true 多选并列;跨表引用勿填编号;见 references/ACTIONS.md「跨表引用:Lookup」)。
  • year-month-action.example.json:Action / CRUD 账期月份字段 display_type: year_month 形状参考(见 references/ACTIONS.md「表单字段类型对照」)。
  • visible-when-action.example.json:Action 参数字段条件显隐 visibleWhen 形状参考(互斥模式联动;见 references/ACTIONS.md「字段条件显隐」;≠ Policy L3)。
  • selection-label-column.action.example.json:选择摘要 bind.labelColumn 形状参考(见 references/ACTIONS.md「选择摘要」)。
  • selection-mode-optional.action.example.json:bind.selectionMode: "optional" 智能勾选/按数量合并形状参考;用户可见文案为口语中文(见 references/ACTIONS.md「勾选驱动模式」「用户可见文案」)。
  • replaces-create.action.example.json / replaces-update.action.example.json / replaces-delete.action.example.json / replaces-import.action.example.json:数据管理默认按钮接管(replaces)形状参考;import 时 UI 仍用宿主「导入数据」面板,确认后调技能写库(见 references/ACTIONS.md「replaces」)。