templates/skills/learn/SKILL.md
Extract reusable patterns from the current session and save them as skill files. Use when the user says 'learn from this', 'extract patterns', 'save this as a skill', 'what did we learn', or after solving a non-trivial debugging or integration problem worth capturing for future sessions.
npx skillsauth add samwang0723/claudecode-setup learnInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Analyze the current session and extract patterns worth saving as reusable skill files in ~/.claude/skills/learned/.
Review the session for these pattern categories:
jest.mock() above imports")git bisect + vitest --reporter=verbose to isolate flaky test to specific commit")useSearchParams requires Suspense boundary or build fails silently")Skip patterns that are:
Keep patterns that:
Create ~/.claude/skills/learned/[pattern-name].md using this structure:
# [Descriptive Pattern Name]
**Extracted:** [Date]
**Context:** [Brief description of when this applies]
## Problem
[What problem this solves — be specific about symptoms]
## Solution
[The pattern/technique/workaround — include concrete steps]
## Example
[Code example if applicable]
## When to Use
[Trigger conditions — what should activate this skill]
~/.claude/skills/learned/ on approvaljest-mock-hoisting-fix.md)development
Generate a technical specification document using the DDD template in template.md. Use when the user says 'write tech spec', 'create tech spec', 'technical specification', or needs a structured design document for a new feature or major change covering architecture, domain models, APIs, data design, security, and operations.
testing
Write a Product Requirements Document (PRD) using the standard TMAB template with stakeholders, user stories (Given-When-Then), success metrics, and A/B testing plans. Use when the user asks to write a PRD, create product requirements, document a feature spec, or plan a new product feature.
data-ai
Clean up an agent team. Removes team resources, optionally cleans worktrees and branches. Use after team work is complete and merged. Use when told to "stop team", "cleanup team", "disband team".
testing
Check progress of an active agent team. Shows member status, completed tasks, pending work, and any messages. Use when asked "team status", "how's the team", "check team progress", "team update".