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]
19392f7Review 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 commit
engineering/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
Copy a source-pinned command for your client. You run it yourself.
Destination: .claude/skills/karpathy-check · pinned to the source commit
# Run from your project root
git clone https://github.com/alirezarezvani/claude-skills.git .skillboard-tmp
git -C .skillboard-tmp checkout 19392f7a08264ed00486a251f5b2098321771f94
mkdir -p ".claude/skills"
cp -r ".skillboard-tmp/.gemini/skills/karpathy-check" ".claude/skills/"
rm -rf .skillboard-tmpReview the source before running. This copies files into your project; it is not a one-click install and does not verify runtime safety.
sudo apt update && sudo apt install -y gitnpm install -g @anthropic-ai/claude-code# Run from your project root
git clone https://github.com/alirezarezvani/claude-skills.git .skillboard-tmp
git -C .skillboard-tmp checkout 19392f7a08264ed00486a251f5b2098321771f94
mkdir -p ".claude/skills"
cp -r ".skillboard-tmp/.gemini/skills/karpathy-check" ".claude/skills/"
rm -rf .skillboard-tmpDestination: .claude/skills/karpathy-check
Scanner static-checks@0.1.0 · commit 19392f7a0826. Static checks cannot prove runtime safety – review the source and the exact diff before installing. How checks work.
No static rules matched. This is not a safety guarantee.