FineReport CPT 编辑
Overview
Use this skill for local .cpt editing only after datasource evidence is ready. It covers dataset XML, parameters, table layout, and report cell changes.
Inputs
- Confirmed local
.cptpath - Datasource or field evidence from
fr-db - Remote freshness evidence from
fr-download-syncorfr-create
Execution
- macOS / Linux:
python3 .codex/skills/fr-cpt/scripts/run.py reportlets/<目标文件>.cpt - Windows:
py .codex\\skills\\fr-cpt\\scripts\\run.py reportlets\\<目标文件>.cpt
Example Index
examples/README.md- 先看这里,按“业务列表 / 综合模板 / 空白骨架”选样本
examples/live-remote-patterns.md- 需要直接抄 XML 块,例如 SQL、参数面板、高亮、公式、样式、超链接时看这个
Expected Evidence
- Edited CPT path
- Changed sections or XML blocks
- Datasource linkage summary
Failure Handling
- Do not guess datasource names or field names
- Stop if the target is not a
.cpt - Stop if remote freshness was not established
Next Skill
fr-upload-sync