com um clique
format-basic
工作表格式化与样式感知技能包,覆盖颜色/字体/边框/填充/合并单元格/行列尺寸
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
工作表格式化与样式感知技能包,覆盖颜色/字体/边框/填充/合并单元格/行列尺寸
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional 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 | format_basic |
| description | 工作表格式化与样式感知技能包,覆盖颜色/字体/边框/填充/合并单元格/行列尺寸 |
| file_patterns | ["*.xlsx"] |
| resources | ["references/color_palette.md","references/aesthetic_guide.md"] |
| version | 3.0.0 |
格式化任务标准流程:
read_excel(include=["styles"]) 了解目标范围的现有样式。read_excel(include=["styles"]) 定位哪些单元格有该样式。read_excel(include=["styles"]) 快速获取压缩样式类;也可按需附加 charts/images/freeze_panes 等维度。1:1)而非具体列范围(如 A1:J1),避免因视口限制遗漏列。如需精确列范围,从感知块的 range: NNNr x NNc 读取总列数。add_conditional_rule 支持三种模式:
operator + values。数值比较用 values 数组,如 values=[1000];范围比较用两个值,如 values=[50, 150]。formula 字符串,如 formula='=$C2="FATAL"'。icon_style,如 icon_style="3Arrows"。add_conditional_rule(cell_range="I4:I2000", rule_type="cell_is", operator="lessThan", values=[1000], fill_color="红色")run_code 中通过 openpyxl 自动适配列宽和行高(遍历单元格计算最大内容宽度并设置 column_dimensions[col].width、row_dimensions[row].height)。references/aesthetic_guide.md 获取完整设计原则、五套专业色板、场景模板和反模式清单。