A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Browse cluster: Cluster 61 →This repository provides a single `CLAUDE.md` file containing behavioral guidelines designed to improve how Claude Code, an AI coding assistant, approaches software development tasks. The guidelines address common LLM coding mistakes identified by Andrej Karpathy, including making unfounded assumptions, overcomplicating code, and making unrelated changes to existing code. The project is built around four core principles: Think Before Coding, which emphasizes explicit reasoning and surfacing confusion; Simplicity First, which prioritizes minimal code over speculative features; Surgical Changes, which restricts edits to only what's necessary; and Goal-Driven Execution, which transforms tasks into verifiable success criteria. The repository, created by Forrestchang, can be installed either as a Claude Code plugin or as a per-project `CLAUDE.md` file, and also includes rules for use with the Cursor editor.