fr-cpt

Edit FineReport CPT XML templates to modify structure and styles.

1|1|Updated Mar 20, 2026
One-click install
npx skills add https://github.com/s710082105/fine_d --skill fr-cpt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fr-cpt
Source: https://github.com/s710082105/fine_d/tree/main/.claude/skills/fr-cpt
Command: npx skills add https://github.com/s710082105/fine_d --skill fr-cpt

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

编辑 FineReport CPT 模板的过程通常繁琐且易出错。本 Skill 提供结构化的编辑工作流和参考,帮助用户快速定位并修改 CPT XML 结构中的数据、样式和参数。

Core Features & Use Cases

  • 支持 CPT XML 的核心要素编辑,如 TableDataMap、<Report>、RowHeight、ColumnWidth、StyleList、HighlightList、ParameterUI 等
  • 提供常见编辑场景示例,如添加参数、调整行高/列宽、应用条件高亮、修改样式等
  • 适用于设计师和开发人员在 FineReport CPT 模板的日常维护和快速迭代

Quick Start

请提供一个 CPT XML 文件的路径,AI 将按预设编辑工作流对该文件进行修改。

Frequently Asked Questions about fr-cpt

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I modify FineReport CPT XML templates to adjust row height and column width?

To modify FineReport CPT XML templates, provide the CPT file path so the tool can locate and update RowHeight and ColumnWidth elements across sheets. It applies a structured editing workflow to precisely adjust structural dimensions while enforcing safe fallback strategies.

What is the best way to add parameters to a FineReport CPT template?

Adding parameters to a FineReport CPT template involves editing the ParameterUI elements within the CPT XML structure. The tool guides automated parameter insertion by applying CPT XML editing requirements and providing validation throughout the modification process.

Can I update StyleList and HighlightList configurations in FineReport CPT files?

Yes, you can update StyleList and HighlightList configurations in FineReport CPT files. The tool modifies these XML nodes to apply conditional highlighting and style changes across template sheets while maintaining structural integrity.

How do I change data sources in FineReport CPT XML without breaking the template structure?

Changing data sources in FineReport CPT XML requires modifying TableDataMap elements safely. The tool enforces CPT XML editing requirements and uses validation with safe fallback strategies to ensure data source updates do not break the template structure.

Does FineReport CPT template editing support automated batch modifications across multiple sheets?

FineReport CPT template editing supports modifying elements like RowHeight, ColumnWidth, and parameters across CPT sheets. It provides workflow guidance and validation for automated editing tasks to ensure precise structural and style modifications.