🎯

karpathy-guidelines

🎯Skill

from forrestchang/andrej-karpathy-skills

VibeIndex|
What it does
|

A CLAUDE.md file derived from Andrej Karpathy's observations on LLM coding pitfalls, enforcing four principles: think before coding, simplicity first, surgical changes, and goal-driven work.

Overview

Karpathy Guidelines is a Claude Code skill inspired by Andrej Karpathy's observations on common LLM coding pitfalls. It provides a single CLAUDE.md file with four core principles designed to combat issues like wrong assumptions, overcomplication, bloated abstractions, and unintended side effects when AI agents write code.

Key Features

  • Think Before Coding - Forces explicit reasoning by requiring the agent to state assumptions, present multiple interpretations, push back when simpler approaches exist, and stop when confused
  • Simplicity First - Combats overengineering by prohibiting speculative features, unnecessary abstractions, unasked-for flexibility, and code that could be significantly shorter
  • Surgical Changes - Prevents unintended side effects by limiting edits to only what the request requires, without improving adjacent code, reformatting, or deleting pre-existing dead code
  • Goal-Driven Execution - Transforms imperative tasks into verifiable goals with defined success criteria and test-first approaches

Who is this for?

This skill is designed for any developer using AI coding agents who has experienced the frustration of LLMs making wrong assumptions, overcomplicating solutions, or making unauthorized side-effect changes to code. It is ideal for teams that want a lightweight, principle-based approach to improving AI code generation quality across any project.

karpathy-guidelines

Installation

Vibe Index InstallInstalls to .claude/skills/ - auto-recognized by Claude Code
npx vibeindex add forrestchang/andrej-karpathy-skills --skill karpathy-guidelines
skills.sh Install⚠ Installs to .agents/skills/ - may not be auto-recognized by Claude Code
npx skills add forrestchang/andrej-karpathy-skills --skill karpathy-guidelines
Manual InstallCopy SKILL.md content and save to the path below
~/.claude/skills/karpathy-guidelines/SKILL.md

SKILL.md

1,870Installs
3,528
-
Last UpdatedJan 28, 2026