A PreToolUse hook is the guardrail that survives bypass mode
Permission prompts depend on what mode you're in. A PreToolUse deny hook doesn't. Here's a small one that blocks force pushes, and where it falls short.
3 min read
Permission prompts depend on what mode you're in. A PreToolUse deny hook doesn't. Here's a small one that blocks force pushes, and where it falls short.
3 min read
A reviewer that never saw the code being written catches different things. Here's the file, the invocation and the over-reporting trap.
3 min read
Anthropic's engineering team spent nearly $20,000 on it. The lessons about tests, locks and duplicate code transfer to much smaller jobs.
3 min read
A three-step workflow for features too big for one prompt, and what makes a spec worth handing over.
3 min read
A 0.4% false positive rate sounds great. The 17% miss rate on real overeager actions is the number to plan around.
3 min read
The --worktree flag gives each session its own checkout and branch. The setup details are where people get caught.
3 min read
Anthropic's own advice is to prune ruthlessly. A one-question test, a before and after, and where each deleted rule should go instead.
3 min read
A bug prompt in three parts, and a rule for when to throw the whole session away.
4 min read
A Stop hook turns 'please run the tests' from a request into a rule. Here's a working setup and the trap to avoid.
3 min read