skill-evolve

GitHub

将实际工作中的经验教训转化为持久的技能知识,通过提取模式、修复反模式并更新 SKILL.md,实现技能的持续演进和知识库的完善。

.agents/skills/skill-evolve/SKILL.md UniClipboard/UniClipboard

Trigger Scenarios

解决实际问题后发现现有技能文档存在缺失或错误 需要总结新的最佳实践或反模式以增强团队能力

Install

npx skills add UniClipboard/UniClipboard --skill skill-evolve -g -y
More Options

Non-standard path

npx skills add https://github.com/UniClipboard/UniClipboard/tree/v1/.agents/skills/skill-evolve -g -y

Use without installing

npx skills use UniClipboard/UniClipboard@skill-evolve

指定 Agent (Claude Code)

npx skills add UniClipboard/UniClipboard --skill skill-evolve -a claude-code -g -y

安装 repo 全部 skill

npx skills add UniClipboard/UniClipboard --all -g -y

预览 repo 内 skill

npx skills add UniClipboard/UniClipboard --list

SKILL.md

Frontmatter
{
    "name": "skill-evolve",
    "description": "Meta-skill for evolving other skills. Invoke after resolving a real-world issue to extract lessons and merge them into the referenced SKILL.md. Usage - $skill-evolve @path\/to\/SKILL.md"
}

Skill Evolve

Turn real-world experience into durable skill knowledge.

When to Use

User invokes this skill after completing work that revealed a gap, pitfall, or new pattern not yet captured in an existing SKILL.md. Typical trigger: $skill-evolve @path/to/SKILL.md

Procedure

Step 1 — Gather Context

  1. Read the referenced SKILL.md in full.
  2. Review the current conversation to identify:
    • What went wrong or was discovered (the incident/finding)
    • Root cause (why it happened)
    • The fix or pattern (what the correct approach is)
    • Why the existing skill didn't prevent it (the gap)

Step 2 — Classify the Learning

Determine which type of update is needed:

Type Description Example
New Rule A pattern/anti-pattern not covered at all .entered() in async is forbidden
Rule Refinement Existing rule needs caveats or edge cases skip_all needed when params include trait objects
New Example Correct/incorrect code pattern to illustrate existing rule async {}.instrument(span).await for match arms
Checklist Addition New review checkpoint ".entered() held across .await? FORBIDDEN"
Section Expansion Existing section needs a new subsection Adding async lifecycle patterns to spawn section

Step 3 — Draft the Update

Write the proposed additions following these principles:

  • Match the existing style — same heading levels, table formats, code block conventions
  • Place it where it belongs — near related content, not appended randomly at the end
  • Lead with the rule, then the why, then the example
  • Include both CORRECT and FORBIDDEN patterns when adding anti-patterns
  • Keep it concise — skills are reference material, not tutorials

Step 4 — Apply and Summarize

  1. Edit the SKILL.md with the new content.
  2. Present a summary to the user:
## Skill Evolution Summary

**Skill**: <skill name>
**Trigger**: <what happened that revealed the gap>
**Update type**: <New Rule | Rule Refinement | New Example | Checklist Addition | Section Expansion>
**What was added**:
- <bullet summary of each change>
**Section(s) modified**: <list of modified section numbers/names>

Quality Gates

Before applying the update, verify:

  • The new content does NOT duplicate existing rules (check the full SKILL first)
  • The new content is grounded in a real incident from this conversation (not hypothetical)
  • Code examples compile conceptually (correct syntax, realistic types)
  • The learning is generalizable — useful beyond this one specific case
  • If adding a FORBIDDEN pattern, a CORRECT alternative is shown alongside it

Anti-Patterns for This Skill

  • Don't bloat: If the learning is too narrow or one-off, suggest the user add it to memory instead of a skill
  • Don't rewrite: Evolve the skill incrementally. Don't restructure or rewrite existing sections unless they are wrong
  • Don't speculate: Only add patterns that were validated in practice during this conversation
  • Don't duplicate: If the fix was specific to this codebase and not transferable, it belongs in the nearest AGENTS.md, not a skill

Version History

  • c6483d7 Current 2026-11-13 18:21

Same Skill Collection

.agents/skills/babysit-pr/SKILL.md
.agents/skills/beui/SKILL.md
.agents/skills/continue-task/SKILL.md
.agents/skills/create-formal-verification-skill/SKILL.md
.agents/skills/create-pr/SKILL.md
.agents/skills/cross-device-diagnose/SKILL.md
.agents/skills/design-audit/SKILL.md
.agents/skills/dual-side-debug/SKILL.md
.agents/skills/dual-side-sync/SKILL.md
.agents/skills/e2e-test-thinker/SKILL.md
.agents/skills/error-diagnose-fix/SKILL.md
.agents/skills/gen-changelog/SKILL.md
.agents/skills/learn/SKILL.md
.agents/skills/plan-reviewer/SKILL.md
.agents/skills/pr-evidence/SKILL.md
.agents/skills/pr-greenlight/SKILL.md
.agents/skills/react-doctor/SKILL.md
.agents/skills/refresh-agents/SKILL.md
.agents/skills/research-then-implement/SKILL.md
.agents/skills/review-strict/SKILL.md
.agents/skills/statechart/SKILL.md
.agents/skills/systematic-debugging/SKILL.md
.agents/skills/tracing-best-practices/SKILL.md
.agents/skills/trigger-prepare-release/SKILL.md
.agents/skills/ui-iteration/SKILL.md
.agents/skills/verify-receive-reply-fence/SKILL.md
.agents/skills/wrap/SKILL.md
.claude/skills/gui-user-review/SKILL.md
.agents/skills/ios-log-diagnose/SKILL.md
.agents/skills/local-log-debug/SKILL.md

Metadata

Files
0
Version
c6483d7
Hash
3dd5af03
Indexed
2026-11-13 18:21

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.156.0. UTC+08:00, 2026-11-14 06:03
浙ICP备14020137号-1