Tested, copy-pasteable recipes for Claude Code: hooks, slash commands, subagents, and settings.
Most Claude Code config lists are link dumps. This one is different:
- Tested — every recipe runs in a real workflow before it lands here
- Copy-pasteable — clone, copy a folder, you're done
- War stories — each recipe opens with the pain it solves, not the config
| Recipe | Pain it solves |
|---|---|
| block-main-branch-commits | Accidentally committing directly to main |
| auto-format-on-edit | Files drifting from your formatter's style |
| notify-on-completion | Watching a long Claude task instead of context-switching |
| pre-push-ci-mirror | CI catches what you could have caught locally in 5 seconds |
| Recipe | Pain it solves |
|---|---|
| ship-it | The 6-step PR ceremony, every time |
| standup | "What did I do yesterday?" at 9am |
| triage-deps | The Dependabot PR backlog you keep avoiding |
| Recipe | Pain it solves |
|---|---|
| rails-developer | Generic Rails advice that ignores your app's conventions |
| senior-architect | One opinionated answer when you wanted options + trade-offs |
| product-designer | UX advice that ignores your existing components and patterns |
| code-reviewer | Review feedback with no severity, no priorities, occasionally invented |
| Recipe | Pain it solves |
|---|---|
| sensible-permissions-rails | Permission prompts every 30 seconds (Rails) |
| sensible-permissions-electron | Permission prompts every 30 seconds (Electron / Node) |
| cost-conscious-defaults | Surprise API bills |
Install a recipe in 30 seconds:
git clone https://github.com/vicmaster/claude-code-cookbook.git
cd claude-code-cookbook/recipes/hooks/block-main-branch-commits
# follow the README in that folderMost recipes are 1–2 files dropped into ~/.claude/ or your project's .claude/ directory.
Got a recipe that earned its keep? See CONTRIBUTING.md. The bar is simple: it must follow the template, and you must have actually used it.
Built by Victor Velazquez — COO at MagmaLabs, working on AI agent platforms. Follow me on X and say hi! 👋
MIT — see LICENSE.
