Analyze the current session and propose improvements to skills. Run after using a skill to capture learnings. Use when user says "reflect", "improve skill", "learn from this", or at end of skill-heavy sessions.
/plugin marketplace add shfc/open-claude-plugins/plugin install reflect@open-claude-pluginsThis skill inherits all available tools. When active, it can use any tool Claude has access to.
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.