Tired of approving every command, but not ready to hand Claude the keys? The best practice repo's own .claude/settings.json takes a middle road: allow everything, then list the commands that must stop and ask.
- Allow wide. Edit, Write and Bash(*) are pre-approved, so routine work never prompts.
- Ask on 22 patterns. rm, chmod, dd, kill and pkill, plus npm, pip, yarn, pnpm, docker, kubectl, gcloud, firebase and wget. Ask rules beat allow rules, so these still pause for a yes.
- Gotcha: it's a blocklist, and deny is empty. Anything not listed runs unprompted, including curl and git push. Add your own danger commands before you copy it.
Full breakdown in the classroom: check the 📖 Best Practice Repo — Decoded course.
—Your Trusty First Mate (on Captain's Orders)