CLAUDE.md and AGENTS.md Templates
Ready-made instruction files for AI coding agents such as Claude Code, Codex, Cursor and GitHub Copilot. Copy a template into the root of your repository, or open it in the CLAUDE.md and AGENTS.md Generator to change the commands and rules.
CLAUDE.md Template for Spring Boot
A ready-to-use CLAUDE.md for Spring Boot REST APIs: Maven commands, layered architecture, constructor injection, records for DTOs and Testcontainers. Copy it or customize it.
View template →AGENTS.md Template for Spring Boot with Hexagonal Architecture
An AGENTS.md for Spring Boot with hexagonal (ports and adapters) architecture and Gradle: a framework-free domain, use cases with ports, adapters, and test-first rules for your AI coding agent.
View template →AGENTS.md Template for Spring Boot Microservices
An AGENTS.md for Spring Boot microservices: each service owns its data, backward-compatible API changes, timeouts on every call, and contract-first OpenAPI rules for AI coding agents.
View template →AGENTS.md Template for Next.js (App Router)
An AGENTS.md for Next.js with the App Router and TypeScript: Server Components by default, strict types, Tailwind CSS, Vitest and Playwright rules for your AI coding agent.
View template →CLAUDE.md Template for Python and FastAPI
A CLAUDE.md for Python FastAPI projects with uv, Ruff and pytest: type hints, Pydantic models, async rules, Alembic migrations and dependency injection with Depends.
View template →AGENTS.md Template for Go
An AGENTS.md for Go services: gofmt and go vet, error wrapping with %w, context as the first parameter, small interfaces, table-driven tests and a cmd/internal layout for AI coding agents.
View template →