Run Karpathy's 4-principle review on staged changes or the last commit. Checks complexity, diff noise, hidden assumptions, and goal verification. Usage /karpathy-check [--last-commit]
70
85%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Review your staged changes (or last commit) against Karpathy's 4 coding principles.
/karpathy-check # review staged changes
/karpathy-check --last-commit # review the most recent commitengineering/karpathy-coder/skills/karpathy-coder/scripts/complexity_checker.py on all changed files — detects over-engineering, premature abstractions, deep nesting, long functionsengineering/karpathy-coder/skills/karpathy-coder/scripts/diff_surgeon.py on the diff — detects comment-only changes, whitespace noise, style drift, drive-by refactorskarpathy-reviewer agent reads the diff and applies human-judgment checks — hidden assumptions, missing verificationA structured report with per-principle verdicts and specific line-level fix recommendations.
Dispatches the karpathy-reviewer agent. See agents/karpathy-reviewer.md.
engineering/karpathy-coder/skills/karpathy-coder/scripts/complexity_checker.pyengineering/karpathy-coder/skills/karpathy-coder/scripts/diff_surgeon.pyengineering/karpathy-coder/skills/karpathy-coder/scripts/assumption_linter.pyengineering/karpathy-coder/skills/karpathy-coder/scripts/goal_verifier.py→ engineering/karpathy-coder/skills/karpathy-coder/SKILL.md
19392f7
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.