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.
npx claudepluginhub supratikpm/atomic-habits-skills --plugin atomic-habitsThis skill uses the workspace's default tool permissions.
---
Assesses codebase for AI agent readiness by detecting stacks, monorepos, git setup, and evaluating style, testing, code quality, secrets, and file sizes.
Analyzes existing repositories: detects tech stack (JS/TS/Python/Rust/Go/Ruby/mobile), structure (monorepo/full-stack monolith), git status/directories; sets up guardrails (Husky/lint-staged/pre-commit) respecting conventions. Use for unfamiliar codebases.
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.
Share bugs, ideas, or general feedback.
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: