/reflect:reflect runs instead · from reflect
Analyzes the current Claude Code session and proposes improvements to skills based on corrections, successes, edge cases, and user preferences. Run after skill-heavy sessions or when asked to reflect.
This skill never runs in Claude Code
It ships in reflect at skills/, but /reflect:reflect (a command, or a skill Claude Code finds first) has the same name: typing it, or Claude choosing it, runs that one instead.
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.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub shfc/open-claude-plugins --plugin reflectOther plugins' skills for the same job