From reflect
Analyze the current conversation and determine the smallest durable change to Claude Code setup: update CLAUDE.md, patch an existing skill, create a new skill, split or merge skills, introduce a subagent, add hooks, connect MCP, or scaffold a plugin. Use after a failed workflow, repeated user correction, or when a session exposes a missing capability.
How this skill is triggered — by the user, by Claude, or both
Slash command
/reflect:reflect-architectureThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Analyze the current conversation and any directly referenced artifacts to find
Analyze the current conversation and any directly referenced artifacts to find the smallest durable change that would prevent the same failure from recurring.
Look for:
Ignore:
For each finding, choose exactly one primary target:
| # | Target | When to choose |
|---|---|---|
| 1 | CLAUDE.md rule | Rule should apply in every conversation |
| 2 | Existing skill patch | Skill exists but has wrong steps, criteria, or format |
| 3 | New skill | Repeatable user-invoked workflow with no existing home |
| 4 | Split skill | One skill covers too many concerns |
| 5 | Merge skills | Multiple skills overlap significantly |
| 6 | New subagent | Task floods context, needs a specialist worker, or should return only summary |
| 7 | Orchestrator skill | Skill that coordinates one or more subagents |
| 8 | Hook | Step must always execute without model discretion |
| 9 | MCP integration | Required data or actions live outside Claude Code |
| 10 | Plugin packaging | Solution spans skills, agents, hooks, or MCP across repositories |
| 11 | No durable change needed | Signal is one-off or already addressed |
/invoke trigger and describe
at least 3 distinct future scenarios where it would fire.context: fork is good for research (code, logs, PRs) but bad for reflecting
on the current conversation — forked skills lose conversation history.For each finding, show:
Ask the user whether to:
| Target | Action |
|---|---|
| CLAUDE.md rule | Edit the narrowest-scope CLAUDE.md (local > user > global) |
| Existing skill patch | Edit the skill's SKILL.md |
| New skill | Create skills/<name>/SKILL.md (or plugin path if inside a plugin) |
| Split skill | Create new skills, then edit the original to narrow its scope |
| Merge skills | Consolidate into one skill, remove the other |
| New subagent | Create .claude/agents/<name>.md |
| Orchestrator skill | Create skill that uses Agent tool to dispatch subagents |
| Hook | Update the narrowest safe settings.json scope |
| MCP integration | Scaffold config and usage notes; do not assume credentials |
| Plugin packaging | Scaffold structure only unless explicitly asked to finish |
context: fork) to preserve access to conversation
history. If you need to analyze saved logs or external artifacts instead,
consider a forked variant.Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub materkey/cc-plugins --plugin reflect