What problem does it solve? Large language models often make wrong assumptions, overcomplicate code, make unnecessary changes to unrelated sections, and lack clear success criteria. This Skill provides a structured framework to prevent these pitfalls and ensure focused, minimal, well-reasoned implementations. ## Core Features & Use Cases - Think Before Coding: State assumptions explicitly, surface tradeoffs, and push back on unclear requirements before implementation. - Simplicity First: Write minimum code that solves the problem—no speculative features, unnecessary abstractions, or defensive error handling. - Surgical Changes: Edit only what the task requires; match existing style; remove only orphaned code your changes created. - Goal-Driven Execution: Define verifiable success criteria and loop until goals are met through tests or concrete checks. - Use Case: When an AI assistant is refactoring a payment module, apply these guidelines to avoid over-engineering the code, accidentally changing unrelated logic, or adding features that weren't requested. ## Quick Start When working with an AI on code, ask it to follow the Karpathy guidelines by referencing the four core principles: think before coding, keep it simple, make surgical changes, and define measurable success criteria.