learn
Installation
SKILL.md
Learn
Extract patterns from git history, PRs, and handoffs to create durable artifacts (skills, rules, hooks).
For single-session reflection, use Skill("reflect") instead.
Methodology: Use compound-learnings skill for frequency thresholds and artifact categorization logic.
Data Sources
| Source | Command | What to Extract |
|---|---|---|
| Git commits | git log --oneline -100 |
Repeated fix types, patterns |
| PR descriptions | gh pr list --state merged -L 20 --json title,body |
Lessons, decisions |
| Handoffs | .agents/handoffs/*.md (main worktree) |
Patterns, What Worked/Failed |
| Existing learnings | CLAUDE.md Key Learnings section |
Already encoded patterns |