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 →CLAUDE.md Template for Domain-Driven Design with Spring Boot
A CLAUDE.md for Spring Boot projects built with Domain-Driven Design: bounded contexts, aggregates, value objects, domain events and test-first rules for your AI coding agent.
View template →AGENTS.md Template for Event-Driven Spring Boot with Kafka
An AGENTS.md for event-driven Spring Boot services with Kafka: idempotent consumers, versioned events, the transactional outbox, dead-letter topics and message keys for AI coding agents.
View template →CLAUDE.md Template for Python AI Apps (LLM and RAG)
A CLAUDE.md for Python LLM and RAG applications: prompts under version control, validated model output, timeouts and retries, prompt injection rules, evaluation sets and mocked models in tests.
View template →Cursor Rules Template for Spring Boot (.cursor/rules)
A ready-to-use Cursor rules file for Spring Boot in the .mdc format: front matter, alwaysApply, path-scoped rules with globs, and how to migrate from the old .cursorrules file.
View template →Books for Developers Who Work with AI Agents
A template gets your agent started. These books explain what happens behind it: how models read your instructions, and how to build AI features and agents of your own.


