karpathy-coder
by alirezarezvani (GitHub) in alirezarezvani/claude-skills
What it does
Use when writing, reviewing, or committing code to enforce Karpathy's 4 coding principles - surface assumptions before coding, keep it simple, make surgical changes, define verifiable goals. Triggers on "review my diff", "check complexity", "am I overcomplicating this", "karpathy check", "before I
Quoted from the skill's SKILL.md under its MIT license.
Install
git clone --depth 1 https://github.com/alirezarezvani/claude-skills.git /tmp/claude-skills mkdir -p ~/.claude/skills/ cp -r /tmp/claude-skills/engineering/karpathy-coder/skills/karpathy-coder ~/.claude/skills/karpathy-coder
The command copies the skill from the author's repo. SkillTrove does not host it.
Files
- SKILL.md
- expected_outputs/assumption_linter.json
- expected_outputs/complexity_checker.json
- expected_outputs/diff_surgeon.json
- expected_outputs/goal_verifier.json
- references/anti-patterns.md
- references/enforcement-patterns.md
- references/karpathy-principles.md
- scripts/assumption_linter.py
- scripts/complexity_checker.py
- scripts/diff_surgeon.py
- scripts/goal_verifier.py
Source: https://github.com/alirezarezvani/claude-skills/tree/main/engineering/karpathy-coder/skills/karpathy-coder. Checked 2026-10-13.
Similar skills
code-review-and-quality
Conducts multi-axis code review. Use before merging any change. Use when reviewing code written by yourself, another agent, or a human. Use when you need to ...
code-simplification
Simplifies code for clarity. Use when refactoring code for clarity without changing behavior. Use when code works but is harder to read, maintain, or extend ...
constraint-driven-development
Establishes a project's quality bar as a written contract and stops agents quietly lowering it. Interviews the user on which dimensions matter, supplies sane...
git-workflow-and-versioning
Structures git workflow practices. Use when making any code change. Use when committing, branching, resolving conflicts, splitting uncommitted work in a mess...
idea-refine
Refines raw ideas into sharp, actionable concepts through structured divergent and convergent thinking. Use when an idea is still vague, when you need to str...
incremental-implementation
Delivers changes incrementally in thin, verifiable slices. Use when implementing any feature or change that touches more than one file, or when picking up th...