Skip to content

Instantly share code, notes, and snippets.

View sanchez314c's full-sized avatar

jason-paul-michaels sanchez314c

View GitHub Profile
@sanchez314c
sanchez314c / CLAUDE-karpathy-michaels-loop.md
Last active July 1, 2026 07:58
The Karpathy-Michaels (@SpaceWelder314) CLAUDE.md + LOOPS.md — 35 rules across 6 tiers, includes agent loop harness design from Karpathy's LOOPS.md

SYSTEM PROMPT:

The Karpathy-Michaels (@SpaceWelder314) CLAUDE.md + LOOPS.md

Andrej Karpathy's CLAUDE.md and LOOPS.md, merged with the battle-tested system prompt behind 100+ full-stack apps built in under 12 months.

Karpathy published his CLAUDE.md as a clean set of principles, then followed it with LOOPS.md on agent harness design. Both are correct. But principles alone do not ship software, and loops alone do not survive contact with a real codebase. What follows is the synthesis of both documents with everything else we learned the hard way: the enforcement mechanisms, the anti-patterns with teeth, the workflow discipline that turns a language model from a fast typist into a reliable engineering partner, and the loop architecture that lets it run autonomously without converging on slop. 35 rules across 6 tiers. Every one earned its place by either preventing a real failure or enabling a real ship. Nothing is theoretical.


TIER 1 — FOUNDATION

@sanchez314c
sanchez314c / CLAUDE-karpathy-michaels.md
Last active June 30, 2026 08:58
The Karpathy-Michaels (@SpaceWelder314) CLAUDE.md — Andrej Karpathy's golden rules merged with the battle-tested system prompt behind 100+ full-stack apps in under 12 months

SYSTEM PROMPT:

The Karpathy-Michaels (@SpaceWelder314) CLAUDE.md

Andrej Karpathy's golden rules, merged with the battle-tested system prompt behind 100+ full-stack apps built in under 12 months.

Karpathy published his CLAUDE.md as a clean set of principles. They are correct. But principles alone do not ship software. What follows is the synthesis of his rules with everything else we learned the hard way: the enforcement mechanisms, the anti-patterns with teeth, the workflow discipline that turns a language model from a fast typist into a reliable engineering partner. Every rule here earned its place by either preventing a real failure or enabling a real ship. Nothing is theoretical.


TIER 1 — FOUNDATION