Post-session reflection skill. 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.
63
75%
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
Fix and improve this skill with Tessl
tessl review fix ./tiles/crafter/skills/reflect/SKILL.mdPost-session learning loop: Capture what worked, what caused friction, and embed those insights back into the codebase's context engineering.
After coding sessions, learnings about workflow friction, missing context, and skill gaps evaporate. The Reflect skill closes this loop by:
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 |
The reflection artifact MUST include an Agent Dispatch Manifest table documenting the agents dispatched:
## Agent Dispatch Manifest
| Agent | Type | Status | Key Finding |
|-------|------|--------|-------------|
| Git Historian | Explore | completed | {1-line summary} |
| Artifact Scout | Explore | completed | {1-line summary} |
| Context Reader | Explore | completed | {1-line summary} |
| Skill Inspector | Explore | completed | {1-line summary} |This table provides observable evidence of parallel agent dispatch.
If git is unavailable (e.g., eval sandbox), include a Commits (Simulated) section in the reflection artifact listing the commits that would have been created:
## Commits (Simulated)
- `reflect: {description of improvement 1}`
- `reflect: {description of improvement 2}`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.