Enforces Andrej Karpathy's four coding principles—surface assumptions, keep it simple, make surgical changes, define verifiable goals—through review tooling and pre-commit checks. Use when writing, reviewing, or committing code to catch overcomplicated solutions and hidden assumptions before they ship.

skills.sh installs
1.1K
GitHub stars
29.5K
last updated
Aug 21, 2026

Install

$ npx -y skills add alirezarezvani/claude-skills --skill karpathy-coder --agent claude-code

Installs into .claude/skills of the current project.

Files

Karpathy Coder — Active Coding Discipline

Derived from Andrej Karpathy's observations on LLM coding pitfalls. This is not just guidelines — it ships Python tools that detect violations, a review agent, a slash command, and a pre-commit hook.

"The models make wrong assumptions on your behalf and just run along with them without checking. They don't manage their confusion, don't seek clarifications, don't surface inconsistencies, don't present tradeoffs, don't push back when they should."

"They really like to overcomplicate code and APIs, bloat abstractions, don't clean up dead code... implement a bloated construction over 1000 lines when 100 would do."

"LLMs are exceptionally good at looping until they meet specific goals... Don't tell it what to do, give it success criteria and watch it go."

— Andrej Karpathy

The four principles

1. Think Before Coding

Don't assume. Don't hide confusion. Surface tradeoffs.

Sponsors

Details

Repository
github.com/alirezarezvani/claude-skills
Categories
Git & Pull Requests, Documentation, Code Review & Quality, AI & Agent Building
First seen
Jun 3, 2026

More from alirezarezvani/claude-skills

All 267
1posit-dev avatarcritical-code-reviewerposit-dev/skillsRigorously review code or pull requests for correctness, security, accessibility, maintainability, tests, and edge cases. Use when users request a critical code1.1Kskills.sh installs
2github avatararize-linkgithub/awesome-copilotGenerates deep links to the Arize UI for traces, spans, sessions, datasets, labeling queues, evaluators, and annotation configs. Produces clickable URLs for sha1.1Kskills.sh installs
3cap-go avatarcapacitor-ci-cdcap-go/capgo-skillsComplete CI/CD guide for Capacitor apps covering GitHub Actions, GitLab CI, build automation, app signing, and deployment pipelines. Use this skill when users n1Kskills.sh installs
4builderio avatarvisual-recapbuilderio/skillsTurn a PR, branch, commit, or git diff into an interactive visual recap with diagrams, file maps, API/schema summaries, annotated diffs, and focused review note984skills.sh installs
5ailabs-393 avatarcicd-pipeline-generatorailabs-393/ai-labs-claude-skillsThis skill should be used when creating or configuring CI/CD pipeline files for automated testing, building, and deployment. Use this for generating GitHub Acti982skills.sh installs
6gitbutlerapp avatarbutgitbutlerapp/gitbutlerCommit, push, branch, and manage version control with GitButler. Use for commits, selective dirty-file or hunk commits, branches, diffs, PRs, history edits, squ933skills.sh installs