Post-session reflection skill for review session, retrospective, or session summary. Reads recent git history, artifacts, and context files to extract learnings and produce improvement proposals for skills, CLAUDE.md, hooks, and plan templates. Use after any substantive session to capture what did we learn and embed improvements back into codebase context.
70
85%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Post-session learning loop: Capture what worked, what caused friction, and embed those insights back into the codebase's context engineering.
Learnings about workflow friction, missing context, and skill gaps evaporate after sessions. This skill closes that loop by mining git history and artifacts, identifying friction points and successful patterns, and producing concrete improvement proposals. Approved proposals are applied with atomic commits.
Output: Reflection artifact at docs/plans/YYYY-MM-DD-{topic}-reflection.md
Use this skill when:
Don't use for:
If the trigger includes a topic, use it. Otherwise, use AskUserQuestion to ask:
Derive a reflection slug from the topic (e.g., auth-feature, payment-refactor).
CRITICAL: Dispatch ALL agents in a SINGLE message with run_in_background: true.
Agents need full tool access, so this step MUST happen before plan mode.
See agent prompts for full templates.
| Agent | Type | What It Reads |
|---|---|---|
| Git Historian | Explore | git log --oneline -20, git diff HEAD~5..HEAD --stat |
| Artifact Scout | Explore | docs/plans/ files from last 14 days |
| Context Reader | Explore | ./CLAUDE.md, ~/.claude/CLAUDE.local.md, .claude/settings.json |
| Skill Inspector | Explore | SKILL.md files for skills used in the session |
TaskOutput block: false to check progressTaskOutput block: trueCall EnterPlanMode — synthesis is a read/write-only activity.
Use the reflection artifact template to structure the output.
Cross-reference agent findings to identify:
Categorize each improvement using the taxonomy from the improvement guide.
Improvement types:
| Type | Target | Example |
|---|---|---|
skill-update | A SKILL.md | Add missing anti-pattern to /craft |
claude-md | ./CLAUDE.md or ~/.claude/CLAUDE.local.md | Document new convention |
hook | .claude/settings.json | Add PreToolUse reminder |
plan-template | A references/template.md | Add missing section |
new-skill | New skill directory (sketch only) | Outline a /standup skill |
Constraints:
Write the reflection artifact to the plan file.
Call ExitPlanMode to present the reflection for review.
Then use AskUserQuestion to list each proposal with its type and target. Ask the user to pick: All / None / specific items by number.
For each approved proposal:
Edit or Writereflect: <description>One improvement per commit. Do NOT bundle multiple changes.
Save the reflection artifact:
docs/plans/YYYY-MM-DD-{topic}-reflection.mdCommit with: reflect: add session reflection for {topic}
~/.claude/CLAUDE.md — it's auto-overwritten by tech-pass; use ~/.claude/CLAUDE.local.md.claude/settings.json firstOnce improvements are applied:
docs/plans/git log --oneline -52a98cc1
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.