From atomic-habits
Optimizes project structure, config files, and tools to make productive actions obvious and errors invisible. Use for project setup, codebase audits, or reducing dev workflow friction.
How this skill is triggered — by the user, by Claude, or both
Slash command
/atomic-habits:environment-designThe summary Claude sees in its skill listing — used to decide when to auto-load this 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:
npx claudepluginhub supratikpm/atomic-habits-skills --plugin atomic-habitsAssesses codebase for AI agent readiness by detecting stacks, monorepos, git setup, and evaluating style, testing, code quality, secrets, and file sizes.
Bootstraps repositories with harness engineering scaffolding: AGENTS.md orientation map, docs/ system of record, boundary tests, linter rules, CI pipeline, GC scripts. Use for new projects, agent-readiness, or architecture boundaries.
Enforces GitHub Flow branch strategy, pinned dependencies via lockfiles across languages, domain-first directory structure, and audits for hardcoded absolute paths. Language-agnostic.