Hook

Their other posts in the index, biggest breakout first.
I've spent over a year building my perfect Claude code setup, and this is what my .Claude/ folder turned into. Let me break it down. First, hooks/ these are hard safety rules, no exceptions. They catch things before they run. So if I try to force push to main, publish a package by accident, or hit a destructive database command, it just stops. Then rules, this is where it gets smart. Instead of dumping one huge prompt, everything is modular. If I'm writing database, it loads database rules. If I'm designing, it loads front-end rules. If I'm touching security sensitive code, security rules kick in automatically, so Claude only sees what actually matters in that moment. Next, agents/ these are specialist reviewers. One for bugs like race conditions and null crashes, one for security issues attackers would actually use, one for performance problems like N+1 queries, one that checks if your documentation is lying to you, and one front-end designer that aggressively rejects bad UI decisions. Then skills/ this is the real magic, commands that run full workflows. /ship takes you from staged code to merged PR. /debug-fix reproduces the bug, finds the root cause, fixes it, and adds a regression test. /tdd runs strict red green refactor cycles. /pr-review runs all agents together and gives you a merge or reject decision. And /setupdotclaude builds the whole .Claude/ folder automatically based on your project. At the root there's Claude.md, that's the project brain. Architecture, decisions, rules, everything lives there, and settings wire it all together so nothing leaks or breaks. This whole thing is open source. You can grab it at github.com/poshan0126/dotclaude.git. Run setup once and you're done. And if you're wondering what environment this is, this is DevSwarm. It lets me run multiple isolated branches in parallel, so I can build features in parallel without breaking anything. Try it at devswarm.ai or the link in my bio.