skill-writer
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseSkill Writer
Skill Writer
Use this as the single canonical workflow for skill creation and improvement.
Primary success condition: maximize high-value input coverage before authoring so the resulting skill has minimal blind spots.
Load only the path(s) required for the task:
| Task | Read |
|---|---|
| Set skill class and required dimensions | |
| Apply writing constraints for depth vs concision | |
| Select structure pattern for this skill | |
| Select workflow orchestration pattern for process-heavy skills | |
| Select output format pattern for deterministic quality | |
| Choose workflow path and required outputs | |
| Load representative synthesis examples by skill type | |
| Synthesize external/local sources with depth gates | |
| Author or update SKILL.md and supporting files | |
| Optimize skill description and trigger precision | |
| Iterate using positive/negative/fix examples | |
| Evaluate behavior and compare baseline vs with-skill (opt-in quantitative) | |
| Register and validate skill changes | |
将此作为技能创建与优化的唯一标准工作流。
核心成功条件:在编写前最大化高价值输入覆盖范围,使最终技能的盲区最小化。
仅加载任务所需的路径:
| 任务 | 阅读内容 |
|---|---|
| 设置技能类别与所需维度 | |
| 应用关于深度与简洁性的编写约束 | |
| 为此技能选择结构模式 | |
| 为流程密集型技能选择工作流编排模式 | |
| 为确定性质量选择输出格式模式 | |
| 选择工作流路径与所需输出 | |
| 按技能类型加载代表性合成示例 | |
| 结合深度门限合成外部/本地资源 | |
| 编写或更新SKILL.md及支持文件 | |
| 优化技能描述与触发精度 | |
| 使用正面/负面/修复示例进行迭代 | |
| 评估行为并对比基准与技能启用后的表现(可选定量分析) | |
| 注册并验证技能变更 | |
Step 1: Resolve target and path
步骤1:确定目标与路径
- Resolve target skill path and intended operation (,
create,update,synthesize).iterate - Read and select the required path(s).
references/mode-selection.md - Classify the skill (,
workflow-process,integration-documentation,security-review,skill-authoring).generic - Ask one direct question if class or depth requirements are ambiguous; otherwise state explicit assumptions.
- 确定目标技能路径与预期操作(、
create、update、synthesize)。iterate - 阅读并选择所需路径。
references/mode-selection.md - 对技能进行分类(、
workflow-process、integration-documentation、security-review、skill-authoring)。generic - 若类别或深度要求不明确,提出一个直接问题;否则说明明确的假设。
Step 2: Run synthesis when needed
步骤2:必要时执行合成操作
Read .
references/synthesis-path.md- Collect and score relevant sources with provenance.
- Apply trust and safety rules when ingesting external content.
- Produce source-backed decisions and coverage/gap status.
- Load one or more profiles from when the skill is hybrid.
references/examples/*.md - Enforce baseline source pack for skill-authoring workflows.
- Enforce depth gates before moving to authoring.
阅读。
references/synthesis-path.md- 收集相关来源并按来源可信度评分。
- 引入外部内容时应用信任与安全规则。
- 生成基于来源的决策及覆盖范围/缺口状态。
- 当技能为混合型时,从加载一个或多个示例模板。
references/examples/*.md - 为技能编写工作流强制执行基础资源包要求。
- 在进入编写阶段前执行深度门限检查。
Step 3: Run iteration first when improving from outcomes/examples
步骤3:从结果/示例优化时先执行迭代
Read first when selected path includes (for example operation ).
references/iteration-path.mditerationiterate- Capture and anonymize examples with provenance.
- Re-evaluate skill behavior against working and holdout slices.
- Propose improvements from positive/negative/fix evidence.
- Carry concrete behavior deltas into authoring.
Skip this step when selected path does not include .
iteration当所选路径包含(例如操作为)时,先阅读。
iterationiteratereferences/iteration-path.md- 捕获并匿名化带有来源信息的示例。
- 根据有效样本和保留样本重新评估技能行为。
- 基于正面/负面/修复证据提出改进方案。
- 将具体的行为改进点带入编写阶段。
若所选路径不包含,则跳过此步骤。
iterationStep 4: Author or update skill artifacts
步骤4:编写或更新技能工件
Read .
references/authoring-path.md- Write or update in imperative voice with trigger-rich description.
SKILL.md - Create focused reference files and scripts only when justified.
- Follow ,
references/skill-patterns.md, andreferences/workflow-patterns.mdfor structure and output determinism.references/output-patterns.md - For authoring/generator skills, include transformed examples in references:
- happy-path
- secure/robust variant
- anti-pattern + corrected version
阅读。
references/authoring-path.md- 使用命令式语气编写或更新,并包含丰富的触发描述。
SKILL.md - 仅在合理情况下创建针对性的参考文件与脚本。
- 遵循、
references/skill-patterns.md和references/workflow-patterns.md以保证结构与输出的确定性。references/output-patterns.md - 对于编写/生成类技能,在参考资料中包含转换后的示例:
- 正常流程示例
- 安全/健壮变体示例
- 反模式+修正版本示例
Step 5: Optimize description quality
步骤5:优化描述质量
Read .
references/description-optimization.md- Validate should-trigger and should-not-trigger query sets.
- Reduce false positives and false negatives with targeted description edits.
- Keep trigger language generic across Codex and Claude.
阅读。
references/description-optimization.md- 验证应触发与不应触发的查询集合。
- 通过针对性的描述编辑减少误报与漏报。
- 保持触发语言在Codex和Claude中通用。
Step 6: Evaluate outcomes
步骤6:评估结果
Read .
references/evaluation-path.md- Run a lightweight qualitative check by default (recommended).
- For integration/documentation and skill-authoring skills, include the concise depth rubric from .
references/evaluation-path.md - Run deeper eval playbook and quantitative baseline-vs-with-skill only when requested or risk warrants it.
- Record outcomes and unresolved risks.
阅读。
references/evaluation-path.md- 默认执行轻量级定性检查(推荐)。
- 对于集成/文档类和技能编写类技能,包含中的简洁深度评估标准。
references/evaluation-path.md - 仅在被要求或风险需要时,执行更深入的评估手册及基准与技能启用后的定量对比。
- 记录评估结果与未解决的风险。
Step 7: Register and validate
步骤7:注册与验证
Read .
references/registration-validation.md- Apply repository registration steps.
- Run quick validation with strict depth gates.
- Reject shallow outputs that fail depth gates or required artifact checks.
阅读。
references/registration-validation.md- 执行仓库注册步骤。
- 结合严格的深度门限执行快速验证。
- 拒绝未通过深度门限或必要工件检查的浅层输出。
Output format
输出格式
Return:
SummaryChanges MadeValidation ResultsOpen Gaps
返回以下内容:
- (摘要)
Summary - (已做变更)
Changes Made - (验证结果)
Validation Results - (未解决缺口)
Open Gaps
When to Use
使用场景
Use this skill when tackling tasks related to its primary domain or functionality as described above.
当处理上述描述的主要领域或功能相关任务时,使用此技能。
Limitations
局限性
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
- 仅在任务明确匹配上述描述的范围时使用此技能。
- 不要将输出结果替代为特定环境下的验证、测试或专家评审。
- 若缺少必要的输入、权限、安全边界或成功标准,请停止操作并请求澄清。