Claude Code Library
A small, curated collection of subagents, hooks, slash commands, and settings for Claude Code — each one tested, with the install path and a note on when to use it. Copy, paste, done.
Subagents 3
Specialized agents for code review, testing, docs, and more.
- Code Reviewer A senior-level review pass over your diff — correctness, security, concurrency, and high-confidence simplifications, with severity-tagged findings and file:line citations.
- Test Runner & Fixer Runs the test suite, reads failures, and fixes the underlying code — not the test — until green.
- Docs Writer Writes or updates README / docstrings from the actual code — no invented APIs, no marketing fluff.
Hooks 3
settings.json hooks that fire on edits, stops, and tool use.
- Auto-format on edit A PostToolUse hook that runs your formatter (Prettier/Black/gofmt) on every file Claude edits — so you never review unformatted diffs.
- Block edits to secret files A PreToolUse hook that denies any read or write to .env, credentials, and key files — a guardrail against leaking secrets into context or commits.
- Notify when Claude finishes Fires a desktop notification when Claude stops — so you can switch tasks during a long run and get pulled back when it's done.
Slash commands 3
Custom /commands for commits, PRs, and explaining code.
- /commit Stages and commits with a clean conventional-commit message generated from the actual diff — no "update files" commits.
- /explain Explains how a file, function, or feature works — traces the real call path instead of guessing from names.
- /pr Generates a pull-request title and body from every commit on the branch — not just the latest diff.
Settings 3
Status lines, permission presets, and output defaults.
- Git-aware status line A status line showing model, current dir, git branch, and dirty state — so you always know where Claude is operating.
- Safe auto-allow permissions Allows common read-only commands to run without a prompt, while still confirming anything destructive — fewer interruptions, same safety.
- Concise output + model defaults Trims Claude's preamble and sets sensible model + cleanup defaults — less chatter, more doing.