
18 production CLAUDE.md templates (organized by stack and team size)
Most CLAUDE.md files I've seen on GitHub cover code style. Almost none cover what actually causes autonomous runs to break. I spent 72 hours running Claude Code as an autonomous agent. Here's the template library I wish existed when I started. What's in the repo By stack: Next.js + Supabase FastAPI + PostgreSQL React + Vite (TypeScript) Express.js API Django REST Framework Ruby on Rails SvelteKit Go API Python CLI TypeScript library / npm package By team size: Solo indie hacker Startup team (3-15 people) Enterprise (50+ people) By use case: Autonomous agent runs (long sessions, context management) Data pipeline / ETL React Native (Expo) Docker / DevOps Monorepo (Turborepo / Nx) What these cover that most CLAUDE.md files don't Session recovery — after compaction, the agent re-reads CLAUDE.md but loses conversation context. Most files have nothing about recovery. Every template in this repo has: ## Recovery After compaction or restart: read tasks/current-task.md One line. Saves 15 minute
Continue reading on Dev.to Tutorial
Opens in a new tab


