원클릭으로
chart-basic
图表与表格技能包:Excel 原生图表插入、PNG 图表导出、Excel 表格对象创建
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
图表与表格技能包:Excel 原生图表插入、PNG 图表导出、Excel 表格对象创建
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
通过 Python 脚本 (python-docx) 处理复杂 Word 文档操作
Word 文档读取、编辑与内容生成
Use when performing systematic codebase health checks, proactive bug hunting, or comprehensive code review across a repository. Trigger for requests like "find bugs", "code audit", "check code quality", "find dead code", "race condition review", and periodic maintenance inspections.
Scaffold MCP server projects and baseline tool contract checks. Use for defining tool schemas, generating starter server layouts, and validating MCP-ready structure.
Lightweight helper to enforce TDD-style loops for non-deterministic agents.
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
| name | chart_basic |
| description | 图表与表格技能包:Excel 原生图表插入、PNG 图表导出、Excel 表格对象创建 |
| file_patterns | ["*.xlsx"] |
| resources | ["references/chart_and_table_templates.md"] |
| version | 2.0.0 |
create_excel_chart 工具
适用:用户要求"在 Excel 中画图"、"插入图表到工作表"、目标产物是 Excel 文件。run_code + matplotlib(见参考模板)
适用:用户要求"导出图片"、"生成图表图片"、目标产物是独立图片文件。create_excel_chart。read_excel 或 list_sheets(include=["columns"]) 确认数据范围和列名。create_excel_chart 的 data_range 必须包含表头行(第一行作为系列名)。当需要分组统计后再绘图(如"各部门人数饼图"):
run_code 做 pandas 聚合并写回 Excel 新 sheet。create_excel_chart 基于该 sheet 的单元格范围创建图表。run_code + matplotlib 直接生成 PNG(见参考模板)。当用户要求"插入表格"、"创建筛选表"、"添加 Excel Table" 时,通过 run_code 使用 openpyxl 的 ws.add_table() 创建。参考模板见 references/chart_and_table_templates.md。
关键点:
ref 参数必须包含表头行(如 "A1:D20")。TableStyleMedium9)。