/atomic-habits:environment-designfrom atomic-habits
Optimizes project structure, config files, and tooling to make productive actions frictionless and error-prone patterns invisible. Use when setting up a project, auditing a codebase, or reducing development friction.
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 Environment Design framework from Atomic Habits by James Clear to your operational workspace. Use this skill to engineer the project structure, configuration, and tooling so that the RIGHT actions are frictionless and the WRONG actions require deliberate effort.
"Motivation is overrated; environment often matters more." An agent doesn't need better prompting — it needs a better-structured workspace. When the project layout, configs, and tool integrations are optimized, productive behavior becomes the path of least resistance.
Surface critical information and tools so they are immediately accessible:
README.md with clear setup instructions so the agent finds context instantly[poorly_named_file]).env.example alongside .env so required variables are obviousCONTRIBUTING.md to surface coding conventionsHide or gate dangerous operations so they require deliberate effort:
.gitignore to prevent committing secrets, build artifacts, and temp filespre-commit hooks to block malformed commits automaticallyUsing list_dir, find_by_name, and grep_search, audit the current project for:
[dependency_folders] checked in, [compiled_binaries] scattered)[dependency_manifest] so running tests is [test_command], not a 3-step manual process.git push.Each directory should have a single purpose:
/src for source code — not mixed with configs/tests for test files — not scattered across source directories/docs for documentation — not inline comments only/scripts for automation — not embedded in READMEs| Friction Problem | Environment Fix | Effect |
|---|---|---|
| Agent can't find config | Move [config_file] to project root | Instant context |
| Tests require manual setup | Add [setup_script] | One-command testing |
| Secrets in source code | Add .gitignore + secret scanning | Prevent leaks |
| Inconsistent code style | Add [formatter_config] + pre-commit hook | Auto-enforcement |
| Unused imports everywhere | Configure auto-remove in linter | Clean codebase |
.gitignore after adding new tools/frameworksWhen applying this skill, produce:
What SKILL.md sets; muted values are Claude Code's defaults
9 skills in this plugin
/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./reflect-reviewConduct a periodic audit of the agent's workflows, outputs, and patterns to course-correct and compound improvements. Use after completing a project phase, before starting a new sprint, or when performance has plateaued.npx claudepluginhub supratikpm/atomic-habits-skills --plugin atomic-habitsOther plugins' skills for the same job