From atomic-habits
Generates concrete execution plans from vague objectives using Implementation Intentions framework. Specifies actions, targets, tools, and conditions for complex tasks or multi-step operations.
How this skill is triggered — by the user, by Claude, or both
Slash command
/atomic-habits:implementation-intentionsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
---
You are an AI agent applying the Implementation Intentions framework from Atomic Habits by James Clear to your own task execution. Use this skill to transform vague objectives into precise, pre-committed action plans.
"Agents that define exactly what they will do, in what context, and in what order, are far more likely to complete the task correctly." The problem isn't capability — it's ambiguity. When a task arrives without a plan, the agent wastes cycles deciding what to do next, which file to modify, and which tool to call. An Implementation Intention eliminates all three.
"I will [ACTION] on [TARGET] using [TOOL/METHOD] when [CONDITION]."
Break the user's request into discrete, atomic actions:
[target_module] into a new [extracted_module] file using write_to_file"Each action must have a clear trigger condition:
src/api/, run the corresponding test file in tests/api/"Pre-commit to the specific tool or method:
grep_search with query [target_function] in path [target_directory]"Combine into a pre-committed sequence:
1. I will read `[target_module]` using `view_file` to understand current JWT logic.
2. I will extract the `[target_function]` function into `[extracted_module]` using `write_to_file`.
3. I will update imports in `[target_module]` using `replace_file_content`.
4. I will run `[test_command]` using `run_command` to verify nothing broke.
| Vague Intent | Implementation Intention |
|---|---|
| "Fix the bug" | "I will read the error log, trace the stack to [error_trace_location], and fix the off-by-one error using replace_file_content" |
| "Improve performance" | "I will profile the processData function, identify the O(n²) loop, and replace it with a hash-map lookup" |
| "Add documentation" | "I will generate JSDoc comments for every exported function in src/utils/ using view_file_outline to identify targets" |
| "Set up the project" | "I will run [init_command], install dependencies from [dependency_manifest], and create .env from .env.example" |
Without Implementation Intentions, agents exhibit:
With Implementation Intentions, the agent's execution path is deterministic — each step is pre-loaded.
When applying this skill, produce:
npx claudepluginhub supratikpm/atomic-habits-skills --plugin atomic-habitsDownscales complex agent tasks to the simplest first step via Two-Minute Rule. Prevents scope paralysis in large refactors, ambiguous requirements, multi-file changes, or stalled tasks.
Generates detailed, step-by-step implementation plans from specs or requirements, with bite-sized tasks, file paths, and test-first guidance.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.