Karpathy review

From hamzafarooq/multi-agent-course · View interactive version

Karpathy review is an AI agent skill from the GitHub repository hamzafarooq/multi-agent-course. Review code or a plan against Andrej Karpathy's LLM coding principles — catch over-engineering, silent assumptions, unnecessary abstractions, and scope creep before they ship. Use when the user wants a sanity check on code, a plan, or a feature spec.

How to use this skill

Skill file

Review the provided code, plan, or spec against Karpathy's four principles. Credit: guidelines distilled from Andrej Karpathy's January 2026 observations, adapted by Forrest Chang.

Ask the user: "Paste the code, plan, or spec you want reviewed."

Then score it against each principle:


Karpathy Review

1. Think Before Coding — were assumptions stated?

2. Simplicity First — is this the minimal solution?

3. Surgical Changes — does it stay in its lane?

4. Goal-Driven Execution — is success verifiable?


Verdict

| Principle | Result |

|-----------|--------|

| Think before coding | ✅ PASS / ⚠️ FLAG |

| Simplicity first | ✅ PASS / ⚠️ FLAG |

| Surgical changes | ✅ PASS / ⚠️ FLAG |

| Goal-driven execution | ✅ PASS / ⚠️ FLAG |

One thing to fix: [If any flags, name the single most important change to make]

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.