Analysis updated 2026-06-20
Drop this CLAUDE.md into a project so Claude Code stops making silent assumptions and asks clarifying questions before writing code.
Enforce a minimum-change rule so the AI only edits what you asked for and leaves unrelated code untouched.
Set up a test-driven workflow where the assistant writes a failing test first, then iterates until the code makes it pass.
Apply the same disciplined rules to the Cursor editor using the included Cursor rule file.
| forrestchang/andrej-karpathy-skills | clash-verge-rev/clash-verge-rev | iptv-org/iptv | |
|---|---|---|---|
| Stars | 116,250 | 116,117 | 115,965 |
| Language | — | TypeScript | TypeScript |
| Setup difficulty | easy | easy | easy |
| Complexity | 1/5 | 3/5 | 1/5 |
| Audience | developer | general | general |
Figures from each repo's GitHub metadata at analysis time.
This project is a single configuration file called CLAUDE.md, designed to make Claude Code (an AI coding assistant) behave better when helping developers write software. It is based on observations from Andrej Karpathy about common pitfalls that large language models fall into when generating code. The problems it tries to fix are familiar to anyone who has worked with AI coding tools: the model makes silent assumptions, writes more code than necessary, edits files it was not asked to touch, and removes or changes things it does not fully understand. The solution is a short rulebook organized around four principles. Think Before Coding asks the model to surface its assumptions and ask questions when ambiguous. Simplicity First tells it to write the minimum code that solves the problem and avoid speculative abstractions. Surgical Changes restricts edits to only what was requested, even if nearby code looks improvable. Goal-Driven Execution reframes tasks as verifiable success criteria, often by writing tests first, so the assistant can loop until it gets things right. You would use it if you regularly work with Claude Code (or, with the included rule file, Cursor) and find the assistant overcomplicates things or makes unwanted changes. The repository is distributed either as a Claude Code plugin or as a CLAUDE.md file you copy into a project. There is also a Chinese-language version. The project is MIT-licensed.
A CLAUDE.md configuration file for Claude Code and Cursor that enforces disciplined AI coding habits: surface assumptions first, make minimum changes, and verify with tests before finishing.
Free to use, copy, and adapt for any purpose under the MIT license.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.