skill-improvement
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese🔧 Skill Improvement
🔧 技能改进
Identify gaps or enhancement opportunities in an existing skill from the current conversation and contribute an improved version to the shared repository.
从当前对话中找出现有技能的不足或可增强的点,向共享仓库提交改进后的版本。
When to Use
适用场景
Use this skill when:
- A skill didn't behave as expected and you've identified the root cause.
- The conversation reveals a missing step, edge case, or unclear instruction in a skill.
- A skill should reference another skill or MCP that wasn't mentioned.
- The user says "improve this skill", "update this skill", or "this skill needs X".
在以下场景使用此技能:
- 某个技能未按预期运行,且你已确定根本原因。
- 对话中暴露出技能存在缺失步骤、边缘情况或说明不清晰的问题。
- 某个技能应当引用其他技能或MCP,但当前未提及。
- 用户提到"改进这个技能"、"更新这个技能"或"这个技能需要X"。
Workflow
工作流
Step 1: Identify the Target Skill
步骤1:确定目标技能
Clarify with the user (if not already clear):
- Which skill needs improvement? (e.g. ,
swe-orchestrator)vcs-commit - What specifically should be improved? (missing step, wrong reference, unclear instruction, new edge case)
如果尚未明确,与用户确认:
- 哪个技能需要改进?(例如 、
swe-orchestrator)vcs-commit - 具体需要改进什么?(缺失步骤、错误引用、说明不清晰、新增边缘情况)
Step 2: Read the Current Skill
步骤2:查看当前技能
Read the current of the target skill from .
SKILL.mdskills/<skill-name>/SKILL.md从路径查看目标技能的当前文件。
skills/<skill-name>/SKILL.mdSKILL.mdStep 3: Extract Improvements from the Conversation
步骤3:从对话中提取改进点
Review the conversation and identify:
- What failed or was unclear in the skill's current instructions.
- What new patterns, steps, or guardrails should be added.
- Whether any references to other skills, MCPs, or tools are missing.
- Whether the frontmatter still accurately describes when to use the skill.
description
Present a diff summary to the user before making changes:
Proposed Improvements:
- [ ] [Section/Line]: [What changes and why]
- [ ] [Section/Line]: [What changes and why]回顾对话内容,找出:
- 当前技能说明中哪些部分失效或表述模糊。
- 应添加哪些新模式、步骤或防护规则。
- 是否缺失对其他技能、MCP或工具的引用。
- 前置元数据是否仍能准确描述技能的适用场景。
description
在进行更改前,向用户展示差异摘要:
Proposed Improvements:
- [ ] [Section/Line]: [What changes and why]
- [ ] [Section/Line]: [What changes and why]Step 4: Apply the Improvements
步骤4:应用改进点
Edit the file with the identified improvements.
skills/<skill-name>/SKILL.mdQuality check after editing:
Improvement Review:
- [ ] The `description` frontmatter still accurately triggers the skill
- [ ] New instructions are self-contained and clear
- [ ] No existing correct behavior was accidentally removed
- [ ] References to other skills use relative paths (e.g. [vcs-commit](../vcs-commit/SKILL.md))
- [ ] Change is focused — does not introduce unrelated refactoringIf any check fails → revise → re-check.
编辑文件,加入已确定的改进点。
skills/<skill-name>/SKILL.md编辑后的质量检查:
Improvement Review:
- [ ] The `description` frontmatter still accurately triggers the skill
- [ ] New instructions are self-contained and clear
- [ ] No existing correct behavior was accidentally removed
- [ ] References to other skills use relative paths (e.g. [vcs-commit](../vcs-commit/SKILL.md))
- [ ] Change is focused — does not introduce unrelated refactoring如果任何检查项未通过 → 修改 → 重新检查。
Step 5: Create the Branch
步骤5:创建分支
Use to create a dedicated branch:
vcs-branchfix/improve-skill-<skill-name>or for larger additions:
feat/enhance-skill-<skill-name>使用创建专用分支:
vcs-branchfix/improve-skill-<skill-name>对于较大的新增内容,可使用:
feat/enhance-skill-<skill-name>Step 6: Commit the Changes
步骤6:提交更改
Use to commit:
vcs-commitbash
git add skills/<skill-name>/SKILL.md
git commit -m "fix(skills): improve <skill-name> - <short description of what changed>"
git push -u origin fix/improve-skill-<skill-name>使用提交:
vcs-commitbash
git add skills/<skill-name>/SKILL.md
git commit -m "fix(skills): improve <skill-name> - <short description of what changed>"
git push -u origin fix/improve-skill-<skill-name>Step 7: Create the Pull Request
步骤7:创建Pull Request
Use and the GitHub MCP to open a PR:
vcs-change-request- Owner:
diegocanepa - Repo:
agent-skills - URL:
https://github.com/diegocanepa/agent-skills - Head branch:
fix/improve-skill-<skill-name> - Base branch:
main
PR description template:
markdown
undefined使用和GitHub MCP打开PR:
vcs-change-request- Owner:
diegocanepa - Repo:
agent-skills - URL:
https://github.com/diegocanepa/agent-skills - Head branch:
fix/improve-skill-<skill-name> - Base branch:
main
PR描述模板:
markdown
undefinedSummary
Summary
Improves the <skill-name> skill.
Improves the <skill-name> skill.
Problem
Problem
<What was unclear, missing, or broken in the current version.>
<What was unclear, missing, or broken in the current version.>
Changes
Changes
Conversation Context
Conversation Context
This improvement was identified from a conversation about: <topic>.
This improvement was identified from a conversation about: <topic>.
Checklist
Checklist
- Existing correct behavior preserved
- Instructions are clearer and more actionable
- No unrelated changes introduced
undefined- Existing correct behavior preserved
- Instructions are clearer and more actionable
- No unrelated changes introduced
undefinedStep 8: MITM — Confirm with User
步骤8:MITM — 与用户确认
"I've applied the improvements toand the PR is ready at<skill-name>. Does the diff look correct?"https://github.com/diegocanepa/agent-skills
Feedback Loop: If the USER wants to refine further → adjust → amend/push → re-present.
"I've applied the improvements toand the PR is ready at<skill-name>. Does the diff look correct?"https://github.com/diegocanepa/agent-skills
反馈循环: 如果用户想要进一步优化 → 调整 → 修正/推送 → 重新展示。
Notes
注意事项
- Keep improvements focused. One PR per skill, one concern per PR.
- Never rewrite a skill entirely unless the whole structure is broken. Prefer targeted edits.
- If the improvement is substantial and changes the skill's purpose, consider using to create a new variant instead.
add-skill - The frontmatter is critical — if the improvement changes when the skill applies, update it.
description
- 改进内容要聚焦。一个PR对应一个技能,一个PR解决一个问题。
- 除非整个技能结构都存在问题,否则不要完全重写技能。优先选择针对性的编辑。
- 如果改进内容较大且改变了技能的用途,考虑使用创建新的变体,而非修改原技能。
add-skill - 前置元数据至关重要 — 如果改进改变了技能的适用场景,请更新它。
description