karpathy-guidelines
Originally fromszkocot/andrej-karpathy-skills
Installation
Summary
Behavioral guidelines to reduce common LLM coding mistakes through explicit assumptions, simplicity, and verifiable success criteria.
- Emphasizes surfacing assumptions and tradeoffs upfront rather than making silent decisions or hiding confusion
- Advocates for minimum viable code with no speculative features, abstractions, or error handling beyond what was requested
- Requires surgical, focused edits that touch only what's necessary and match existing code style without improving adjacent code
- Transforms tasks into verifiable goals with explicit success criteria and multi-step plans that enable independent verification loops
SKILL.md
Karpathy Guidelines
Behavioral guidelines to reduce common LLM coding mistakes, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Tradeoff: These guidelines bias toward caution over speed. For trivial tasks, use judgment.
1. Think Before Coding
Don't assume. Don't hide confusion. Surface tradeoffs.
Before implementing:
- State your assumptions explicitly. If uncertain, ask.
- If multiple interpretations exist, present them - don't pick silently.
- If a simpler approach exists, say so. Push back when warranted.
- If something is unclear, stop. Name what's confusing. Ask.
2. Simplicity First
Minimum code that solves the problem. Nothing speculative.
Installs
11.1K
Repository
forrestchang/an…y-skillsGitHub Stars
129.1K
First Seen
Jan 28, 2026
Security Audits