andrej-karpathy-skills

23 articles 8.4k View on GitHub ↗
23 articles
How to Reduce Unnecessary Changes in Diffs: Karpathy-Inspired LLM Guidelines

Learn how to reduce unnecessary changes in diffs using Karpathy-inspired LLM guidelines. Enforce surgical edits, simplicity, and clarification to improve code quality.

best-practices
Apr 8, 2026
How to Create Test Cases That Reproduce Bugs Before Fixing: A Test-First Workflow

Learn to write failing tests that reproduce bugs before fixing them. Implement minimal code changes and establish a regression safety net with this test-first workflow.

best-practices
Apr 8, 2026
Orthogonal Edits vs Related Changes: How to Structure Clean Pull Requests

Learn the difference between orthogonal edits and related changes to structure clean pull requests. Make your code reviews more efficient and maintainable.

best-practices
Apr 8, 2026
How the Karpathy Guidelines Prevent Over-Abstraction of Single-Use Code

Learn how Karpathy guidelines prevent over-abstraction of single-use code by enforcing inline implementation until duplication is necessary. Read more!

best-practices
Apr 8, 2026
Handling Impossible Error Scenarios: The Karpathy Code Guidelines Pattern

Handle impossible error scenarios efficiently. Learn Andrej Karpathy's code guideline pattern to fail fast during development and maintain clean production code. Assert for impossible conditions.

best-practices
Apr 8, 2026
How to Identify and Surface Hidden Assumptions Before Implementing

Learn to identify and surface hidden assumptions before implementing. Convert implicit models into clear requirements to prevent coding errors. Improve your development process.

best-practices
Apr 8, 2026
Best Approach When User Request Is Vague or Underspecified: 4 Principles from the Andrej Karpathy Guidelines

Master vague user requests with Andrej Karpathy's 4 principles. Uncover assumptions, ask clarifying questions, and define success criteria before coding.

best-practices
Apr 8, 2026
Handling Multiple Valid Interceptions of a Request: The Andrej Karpathy Claude Skill Guide

Learn how to handle multiple valid interpretations of requests with the Andrej Karpathy Claude Skill Guide. Avoid assumption-driven development by getting explicit user confirmation.

how-to-guide
Apr 8, 2026
When Does Simplicity Become Too Simple? Finding the Threshold for Abstraction

Discover the threshold where simplicity becomes too simple. Learn when to introduce abstraction to avoid maintenance headaches caused by repetition, changing needs, or testing issues.

deep-dive
Apr 8, 2026
Balancing Matching Existing Code Style vs. Improving It: A Surgical Framework

Learn how to balance matching existing code style with improving it. Apply a surgical framework for effective, problem-driven refactors that enhance functionality without unnecessary complexity.

best-practices
Apr 8, 2026
How to Handle Unused Imports After Code Changes Create Orphans

Learn to handle unused imports in your code. Safely remove only new orphans after changes and avoid touching existing dead code to maintain code quality.

how-to-guide
Apr 8, 2026
Creating Effective Verification Checks for Multi-Step Plans: A Goal-Driven Execution Guide

Master effective verification checks for multi-step plans. Define success criteria, write failing tests first, and use regression guards for reliable validation. Learn Goal-Driven Execution now.

how-to-guide
Apr 8, 2026

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →