Hook

Their other posts in the index, biggest breakout first.
Most people have no idea the .claude folder is the most important part of their Claude code Six files decide your whole Claude Code workflow. workflow 6 6 files matter get them right and everything changes first Claude.md: Claude reads this before every session build commands architecture naming conventions gotchas keep it under 20 lines or Claude starts ignoring parts of it second: the rules folder don't dump everything into one file split by concern code style testing API conventions scope them by file path so Claude only loads what it needs third: hooks - format, block bash, gate every commit. third: hooks the one most people sleep on run your formatter every time Claude edits a file block dangerous bash before it executes run your tests and don't let Claude say done until everything passes fourth: the agents folder custom sub agents you spawn on demand a reviewer that only does adversarial reviews a test writer that only writes tests a Docs agent that only updates docs fifth: settings.json - your permission system auto allow your build script block anything that touches dot env or runs destructive commands skills - capabilities, loaded on demand. skills reusable capabilities claude loads only when it needs them migrations API clients design system components right expertise right time zero context bloat I made a plugin so you can just run / setupdotClaude and everything gets configured specific to your project automatically open sourced at https://github.com/poshan0126/dotclaude and if you want to push it further DevSwarm runs swarms of these agents across parallel branches each in its own isolated environment learn more at devswarm.ai or the link in my bio