Analyze the current session and propose improvements to skills. Proactively invoke this skill when you notice user corrections after skill usage, or at the end of skill-heavy sessions...
Analyze the current session and propose improvements to skills based on what worked, what didn't, and edge cases discovered.
Run /reflect or /reflect [skill-name] after a session where you used a skill.
Additional commands:
/reflect on - Enable automatic end-of-session reflection/reflect off - Disable automatic reflection/reflect status - Check if auto-reflect is enabledIf skill name not provided, ask:
Which skill should I analyze this session for?
- frontend-design
- code-reviewer
- [other]
Look for these signals in the current conversation:
Present findings using accessible colors (WCAG AA 4.5:1 contrast ratio):
āā Skill Reflection: [skill-name] āāāāāāāāāāāāāāāāāāāā
ā ā
ā Signals: X corrections, Y successes ā
ā ā
ā Proposed changes: ā
ā ā
ā š“ [HIGH] + Add constraint: "[specific constraint]"ā
ā š” [MED] + Add preference: "[specific preference]"ā
ā šµ [LOW] ~ Note for review: "[observation]" ā
ā ā
ā Commit: "[skill]: [summary of changes]" ā
ā ā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
Apply these changes? [Y/n] or describe tweaks
\033[1;31m (bold red #FF6B6B - 4.5:1 on dark)\033[1;33m (bold yellow #FFE066 - 4.8:1 on dark)\033[1;36m (bold cyan #6BC5FF - 4.6:1 on dark)\033[0mAvoid: pure red (#FF0000) on black, green on red (colorblind users)
Y ā Apply changes, commit, and pushn ā Skip this update.claude/skills/[skill-name]/SKILL.mdcd .claude/skills
git add [skill-name]/SKILL.md
git commit -m "[skill]: [change summary]"
git push origin main
Ask: "Would you like to save these observations for later review?"
If yes, append to .claude/skills/[skill-name]/OBSERVATIONS.md
/reflect onEnable automatic end-of-session reflection:
~/.claude/reflect-skill-state.json with {"enabled": true, "updatedAt": "[timestamp]"}/reflect offDisable automatic reflection:
~/.claude/reflect-skill-state.json with {"enabled": false, "updatedAt": "[timestamp]"}/reflect statusCheck current status:
~/.claude/reflect-skill-state.jsonNote: The state file is saved in the global Claude user directory (~/.claude/) so it persists across plugin upgrades.
User runs /reflect frontend-design after a UI session:
āā Skill Reflection: frontend-design āāāāāāāāāāāāāāāā
ā ā
ā Signals: 2 corrections, 3 successes ā
ā ā
ā Proposed changes: ā
ā ā
ā š“ [HIGH] + Constraints/NEVER: ā
ā "Use gradients unless explicitly requested" ā
ā ā
ā š“ [HIGH] + Color & Theme: ā
ā "Dark backgrounds: use #000, not #1a1a1a" ā
ā ā
ā š” [MED] + Layout: ā
ā "Prefer CSS Grid for card layouts" ā
ā ā
ā Commit: "frontend-design: no gradients, #000 dark"ā
ā ā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
Apply these changes? [Y/n] or describe tweaks
This skill has permission to:
.claude/skills/git add, git commit, git push in the skills directoryThe skills repo should be initialized at .claude/skills with a remote origin.