Extract reusable patterns from current session. Turn repeated value into a skill only when it will help future work.
When to Use
- Error fix should be reused
- Debugging technique worked well
- Tool combination saved time
- Library quirk needs remembering
- Project convention became clear
- Workflow should become a skill
Goal
Capture one reusable pattern. Avoid saving one-off fixes or noise.
Rules
- One pattern per skill.
- Prefer recurring problems.
- Keep pattern portable.
- Do not save trivial typos.
- Do not save outage-specific workarounds.
- Ask before writing new skill file.
Flow
- Review session.
- List candidate patterns.
- Keep only patterns likely to recur.
- Identify trigger: when future agent should use it.
- Draft short skill.
- Ask user to confirm before saving.
- Save under
skills/learned/only after approval.
Output
## Skill Candidate: [name]
What:
- [pattern or problem]
When to use:
- [trigger]
Why:
- [future value]
How:
1. [step]
2. [step]
3. [step]
Examples:
- [scenario]
Keep?
- [yes/no recommendation]
Checks
- Real problem occurred.
- Fix is not obvious or trivial.
- Pattern can apply in new contexts.
- Future trigger is clear.
- Skill would save time.