← Back to feed
Top Tweets

Karpathy's LLM-coding pitfalls compiled into viral CLAUDE.md — #2 on GitHub weekly

A community-maintained distillation of Andrej Karpathy's observations about where LLMs fail at coding — shipped as a single CLAUDE.md you drop into any Claude Code project — racked up ~5,000 stars this week, landing at #2 on GitHub trending. The repo encodes Karpathy's rules for atomic commits, test-driven scaffolding, and guarding against hallucinated APIs. Author forrestchang says it cut his own Claude Code hallucination rate by roughly half. Part of a wider trend: Karpathy-shaped opinions becoming infrastructure.

KarpathyClaude CodeGitHub TrendingAgentic CodingCLAUDE.md

Why it matters

Karpathy's informal observations becoming a de-facto standard — via a fan repo he didn't even author — is the clearest sign that "practitioner prompts" are turning into real engineering artifacts. Expect every team running AI-coding tools to adopt a similar CLAUDE.md / AGENT.md pattern over the next quarter, with competing distillations from Nat Friedman, swyx, and others emerging. The era of shared LLM "coding constitutions" has started.

Impact scorecard

7.1/10
Stakes
6.0
Novelty
7.0
Authority
8.0
Coverage
5.5
Concreteness
8.5
Social
8.0
FUD risk
1.5
Coverage8 outlets · 0 tier-1
GitHub Trending, The Pragmatic Engineer, Hacker News, Every.to, AI Noon
X / Twitter6,800 mentions
@karpathy · 9,200 likes
@forrestchang · 3,100 likes
Reddit2,400 upvotes
r/ClaudeAI
r/ClaudeAI, r/ChatGPT, r/programming

Trust check

high

Trending rank and star counts are directly verifiable on github.com/trending. Content in the CLAUDE.md is cross-checked against Karpathy's own public tweets and YouTube transcripts. Low FUD risk; the only caveat is attribution — Karpathy hasn't formally endorsed the repo.

Primary source ↗