r/coderabbit • u/shifu_legend • 4h ago
Showcase & Tutorial I distilled Boris's 28-minute Claude Code guide into one /claude-ready setup skill instead of a 400-line CLAUDE.md (open-source repo)
After watching Boris's 28-minute Claude Code prompt guide, I noticed two things people keep getting wrong when they try to apply it:
- They stuff everything into CLAUDE.md and custom slash commands. Half of that talk is human ergonomics (shortcuts, dictation, --worktree) or features Claude Code already handles natively (/verify, /code-review, /ship, /init, /doctor). Putting all of that into CLAUDE.md just burns context and after compaction, long prose rules get ignored anyway.
- They put hard guardrails in prose instead of settings.json. Telling Claude "don't touch .env" in CLAUDE.md is a suggestion; putting Read(./.env) in permissions.deny and typechecks in a Stop hook (exiting 2 to stderr) is actually enforced by the harness.
So I built a minimal, manual-only setup skill (/claude-ready) and a set of copy-paste templates in one repo:
https://github.com/shifulegend/claude-ready
What it does when you run /claude-ready in any project:
- Read-only audit first: Checks your manifests (package.json, pyproject.toml, Makefile, Cargo.toml, go.mod), existing .claude/ config, and sensitive paths—then stops and asks 3–5 questions before touching a single file.
- Lean non-deterministic layer: Generates a <80-line CLAUDE.md (only commands and non-obvious gotchas) plus path-scoped .claude/rules/\*.md files so domain rules only load when editing matching files.
- Deterministic layer: Scaffolds .claude/settings.json with safe allow rules (no npx or docker exec wildcards), .env / secrets/\*\* deny rules, a PostToolUse formatter hook, and a Stop verification hook guarded with stop_hook_active.
- 1-page cheat sheet: Moves all the outer-loop stuff (claude -p, --worktree, terminal shortcuts) into playbooks/cheatsheet.md so it never wastes a single token in your repo context.
Where do everyone else land on this:
- Do you still rely on CLAUDE.md rules to keep the agent in bounds, or have you moved your non-negotiables into settings.json hooks and deny rules?
- What's the one rule you wish you'd automated on day one instead of repeating in chat?
0
Upvotes