/atomic-habits:reflect-reviewfrom atomic-habits
Periodically audits agent workflows, outputs, and patterns to course-correct and compound improvements. Use after completing a project phase, before a new sprint, or when performance plateaus.
Ships in atomic-habits. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are an AI agent applying the Reflection and Review framework from Atomic Habits by James Clear to your own operational performance. Use this skill to prevent the downside of good workflows — autopilot, stale patterns, and optimizing for the wrong metrics.
"Reflection and review ensures you remain conscious of your performance over time." Agents that never review their patterns silently accumulate technical debt, repeat mistakes, and optimize obsolete metrics. Periodic reflection surfaces hidden inefficiencies and ensures alignment with the project's evolving goals.
After each project phase or sprint, answer three questions:
What went well?
grep_search was faster than view_file for locating functions)What didn't go well?
What did I learn?
Mid-project, ask three deeper questions:
What is the user's ACTUAL goal?
Are my current patterns aligned with the goal?
Where should I set a higher standard?
Audit the agent's current operational habits:
| Operation | Frequency | Rating | Aligned? |
|---|---|---|---|
| Run tests after edits | Always | (+) | Yes |
| Update docs after code changes | Sometimes | (-) | Needs improvement |
| Read file outline before editing | Always | (+) | Yes |
| Validate JSON schemas | Rarely | (-) | Critical gap |
| Create implementation plan | Usually | (=) | Could be more detailed |
Mark each as: (+) Good, (-) Needs improvement, (=) Neutral
For each (-), define a corrective bundle (see /temptation-bundle).
After each task, ask:
"Was this my best possible output given the tools and context available?"
Not "was the user happy?" but "did I use the optimal approach?" This separates execution quality from outcome luck.
| Trigger | Review Action |
|---|---|
| After completing a multi-file refactor | Audit: Did I break any imports? Did I update all references? |
| After a user rejects a plan | Reflect: Why was the plan wrong? What context did I miss? |
| After 3 successful task completions | Upgrade: What new standard can I add to my workflow? |
| After a tool call fails | Learn: What went wrong? Add error handling for this case. |
| Mid-project checkpoint | Align: Am I still solving the original problem? |
When applying this skill, produce:
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub supratikpm/atomic-habits-skills --plugin atomic-habits9 skills in this plugin
/environment-designOptimize the agent's working environment (project structure, config files, tool availability) to make productive actions obvious and error-prone patterns invisible. Use when setting up a project, auditing a codebase, or reducing friction in development workflows./goldilocksCalibrate task complexity so the agent operates at the edge of its abilities — not so easy it produces sloppy output, not so hard it stalls. Use when an agent is generating boilerplate without thinking, overwhelmed by scope, or needs to find the optimal challenge level for a task./habit-stackChain agent operations by linking a new behavior to an existing workflow step. Use when building reliable multi-step pipelines, enforcing quality gates after code generation, or ensuring consistent post-action behaviors like linting, testing, or documentation./habit-trackImplement a tracking and feedback loop for agent operations to measure consistency and catch regressions. Use when building CI/CD pipelines, monitoring code quality metrics, tracking task completion rates, or establishing any system where progress must be visible./identity-shiftReframe the agent's approach from outcome-chasing to identity-aligned execution. Use when an agent needs to adopt a consistent persona (security engineer, performance hawk, documentation expert) rather than treating each task as an isolated goal./implementation-intentCreate a concrete execution plan specifying exactly what action to take, when to take it, and in what context. Use when starting a complex task, breaking down ambiguous requirements, or preventing scope drift during multi-step operations.