Claude Code Master Config Bundle
For Developers using Claude Code, Cursor, or Windsurf
Battle-tested behavioral rules for Claude Code — fixes the three failure modes that cause most AI coding mistakes.
Description
Andrej Karpathy identified three failure modes in Claude Code: silent wrong assumptions, overcomplication, and orthogonal damage to code it wasn't asked to touch. This bundle contains a 472-line CLAUDE.md that fixes all three, plus 12 additional rules covering targeted edits, commit discipline, debugging protocol, test handling, context hygiene, and security defaults. Includes stack-specific addendums for TypeScript/Node.js, React/Next.js App Router, Python/FastAPI, SQL, REST APIs, and Git — plus a CUSTOMIZATION.md explaining which rules to keep, tune, or remove for your project.
What's included
- CLAUDE.md behavioral rules file (472 lines) — 15 core rules + 6 stack addendums
- README.md — installation for Claude Code, Cursor, Windsurf, GitHub Copilot
- CUSTOMIZATION.md — which rules to tune, which are load-bearing, how to extend
Sample content
Rule 1: No Silent Assumptions
Before writing code, state your interpretation explicitly. If there are two reasonable reads, present both. Format: Interpretation / Assumption / If I'm wrong. Never choose silently.
Rule 2: Minimum Viable Change
Write the smallest change that solves the problem. No refactoring adjacent code. No extracting helpers that weren't requested. No 'while I'm here' improvements.
Rule 3: No Orthogonal Damage
Only touch files and functions directly relevant to the task. If a change requires touching an adjacent file, call it out before touching it. Don't fix things you weren't asked to fix.
3 of 472 included items previewed above.
Delivery
Instant download after Stripe checkout. File: nightforge-claude-code-master-bundle.zip