agentleFS
jaysonventurajaysonventura/claude-dev-team/skills/karpathy-guidelines/SKILL.md

karpathy-guidelines

Skill19 starsChanged 6 months agoMITView on GitHub

Use when writing or reviewing code and you want a simplicity-first engineering bar - minimal, readable, measured. Apply during implementation, refactors, and the simplify step of the completion mandate.

73 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use stitch-design-taste, design-taste-frontend and 9 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • Jonathan0823Skill

    stitch-design-taste

    Semantic Design System Skill for Google Stitch. Generates agent-friendly DESIGN.md files that enforce premium, anti-generic UI standards — strict typography, calibrated color, asymmetric layouts, perpetual micro-motion, and hardware-accelerated performance.

    Also in 4 projects that use this

  • Jonathan0823Skill

    design-taste-frontend

    Senior UI/UX Engineer. Architect digital interfaces overriding default LLM biases. Enforces metric-based rules, strict component architecture, CSS hardware acceleration, and balanced design engineering.

    Also in 8 projects that use this

  • KubementatSkill

    ponytail

    Forces the laziest solution that actually works, simplest, shortest, most minimal. Channels a senior dev who has seen everything: question whether the task needs to exist at all (YAGNI), reach for the standard library before custom code, native platform features before dependencies, one line before fifty. Supports intensity levels: lite, full (default), ultra. Use on ANY coding task: writing, adding, refactoring, fixing, reviewing, or designing code, and choosing libraries or dependencies. Also use whenever the user says "ponytail", "be lazy", "lazy mode", "simplest solution", "minimal solution", "yagni", "do less", or "shortest path", or complains about over-engineering, bloat, boilerplate, or unnecessary dependencies. Do NOT use for non-coding requests (general knowledge, prose, translation, summaries, recipes).

    Also in 5 projects that use this

  • SentrySkill

    diagnosing-bugs

    A discipline for hard bugs, flaky tests, CI hangs, and performance regressions in this SDK. Use when the user says "diagnose" or "debug this", reports something broken/throwing/failing/hanging/slow, or a test is flaky. Builds a tight, red-capable feedback loop before hypothesizing.

    Also in 7 projects that use this

  • AWSSkill

    codebase-design

    Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.

    Also in 6 projects that use this

  • MicrosoftSkill

    diagnose

    Use to systematically diagnose why scenarios fail — identifies root causes by analyzing agent traces, codebase, and behavioral patterns

    Also in 6 projects that use this

  • +2 more from Jonathan0823

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 68 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Simple beats clever: Write the boring version that's obviously correct.

    line 11
  2. Distinctive:

    Make it work, make it right, make it fast — in that order: Don't optimize before you measure.

    line 18

“Common” is measured: kept by at least 6 in 10 of the 68 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Karpathy-style engineering guidelines

A bias toward simple, readable, minimal code that you can reason about.

Principles

  • Simple beats clever. Write the boring version that's obviously correct. Cleverness is a cost.
  • Readability is the priority. Code is read far more than written. Optimize for the next human.
  • Minimize moving parts. Fewer dependencies, fewer abstractions, fewer layers. Add structure only when the pain is real (rule of three before abstracting).
  • Small, composable functions with one job and honest names. If you can't name it cleanly, it's doing too much.
  • Delete code. The best change is often removal. Less code = less surface for bugs.
  • Make it work, make it right, make it fast — in that order. Don't optimize before you measure.
  • Measure before optimizing. Profile; fix the actual hot path, not the imagined one.
  • Strong feedback loops. Fast tests, quick runs, tight iteration. Verify by running, not by staring.
  • Explicit over implicit. Obvious data flow; avoid hidden state and spooky action at a distance.

When reviewing, ask

Is this the simplest thing that works? What can be deleted? Is any abstraction earning its keep? Would a newcomer understand this in one pass? Is there a measurement behind this "optimization"?

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.