Templates for coding agents
Starting points you can copy: a CLAUDE.md for each popular stack, an AGENTS.md for Codex and Cursor, and a feature-plan template an agent fills in before it codes. Each page says when to use it and why each section is there. Copy, fill in the brackets, and commit.
- CLAUDE.md
Next.js
For a Next.js App Router app with TypeScript.
Open template → - CLAUDE.md
Django
For a Django app on Postgres with pytest.
Open template → - CLAUDE.md
Rails
For a Ruby on Rails 7 app.
Open template → - CLAUDE.md
Swift / SwiftUI
For a SwiftUI app targeting macOS.
Open template → - CLAUDE.md
Go
For a Go service or CLI, standard library first.
Open template → - CLAUDE.md
Python / FastAPI
For a FastAPI service with Pydantic.
Open template → - AGENTS.md
AGENTS.md example
The file Codex and Cursor read instead of CLAUDE.md.
Open template → - Plan
Feature plan
A plan an agent fills in before it writes code.
Open template →