Skip to content

vicmaster/claude-code-cookbook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

claude-code-cookbook

Tested, copy-pasteable recipes for Claude Code: hooks, slash commands, subagents, and settings.

A Claude Code session where the block-main-branch-commits hook intercepts a commit and prints a refusal message

Why this exists

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

Browse by category

Hooks

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

Slash commands

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

Subagents

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

Settings

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

Quickstart

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 folder

Most recipes are 1–2 files dropped into ~/.claude/ or your project's .claude/ directory.

Contributing

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.

Who built this

Built by Victor Velazquez — COO at MagmaLabs, working on AI agent platforms. Follow me on X and say hi! 👋

License

MIT — see LICENSE.

About

Tested, copy-pasteable recipes for Claude Code: hooks, slash commands, subagents, and settings.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages