DevKits

AGENTS.md Generator — Create AI Coding Agent Instructions

Generate an AGENTS.md (or CLAUDE.md / .cursorrules) file that tells AI coding agents how to work in your repo — stack, build/test commands, conventions, and do's and don'ts. Fill the form and copy the Markdown. 100% local.

Last updated:

Comments

Fill in your project's stack, build/test/lint commands, conventions, and do's and don'ts, and this tool outputs a clean AGENTS.md (or CLAUDE.md / .cursorrules) in Markdown for AI coding agents. Copy it to your repo root. Everything runs in your browser.

AGENTS.md
# Acme Web App — Agent Instructions

A Next.js 15 app with a Postgres backend. Keep changes small and tested.

## Tech stack

Next.js 15 (App Router), React 19, TypeScript, Tailwind CSS, Drizzle ORM, PostgreSQL.

## Commands

- **Build**: `pnpm build`
- **Test**: `pnpm test`
- **Lint**: `pnpm lint`

## Conventions

- Use named functions, not anonymous functions.
- Prefer server components; mark client components with 'use client'.
- Keep components under 200 lines.

## Do's and don'ts

- ✅ Run the test suite before committing.
- ✅ Update types when changing the database schema.
- ❌ Never edit generated files in /src/db/migrations.
- ❌ Don't commit secrets — use .env.local.

The content is the same Markdown regardless of filename — save it at your repo root. Generated locally, nothing is uploaded.

What is AGENTS.md Generator?

AGENTS.md is an emerging convention for a Markdown file at a repository's root that briefs AI coding agents on how to work in the project: the tech stack, the exact commands to build, test, and lint, the code-style conventions to follow, and explicit do's and don'ts. It's the agent-facing counterpart to README.md — README is for humans, AGENTS.md is for the model. Several tools read a file like this: Claude Code looks for CLAUDE.md, Cursor uses .cursorrules or .cursor/rules, and AGENTS.md is the vendor-neutral name that's gaining adoption. The content is the same Markdown regardless of filename, so this generator lets you compose it once and export under whichever name your tool expects.

How to generate an AGENTS.md

  1. 1Enter the project name, tech stack, and the build / test / lint commands.
  2. 2Add coding conventions and concrete do's and don'ts.
  3. 3Pick the output filename (AGENTS.md / CLAUDE.md / .cursorrules) and copy it to your repo root.

Key Concepts

CLAUDE.md
The filename Claude Code reads for project instructions — same Markdown content.
.cursorrules
Cursor's project rules file; superseded by .cursor/rules in newer versions.
MCP servers
To give agents extra tools beyond instructions, configure MCP servers.

Tips & Best Practices

  • ▸Keep it short and concrete — agents follow checkable instructions ('run pnpm test before committing') far better than vague prose.
  • ▸Put the exact commands in fenced code blocks so they can be copied verbatim.

Frequently Asked Questions

What is AGENTS.md?

AGENTS.md is an emerging convention for a single Markdown file at your repo root that gives AI coding agents the context they need — how to build, test, and lint, plus coding conventions and constraints. It's the agent-facing counterpart to README.md, and tools like Cursor, Claude Code and others read it (CLAUDE.md and .cursorrules are tool-specific variants of the same idea).

AGENTS.md vs CLAUDE.md vs .cursorrules — which do I use?

AGENTS.md is the vendor-neutral name gaining traction. CLAUDE.md is what Claude Code looks for; .cursorrules (or .cursor/rules) is Cursor's. The content is essentially the same Markdown — this generator lets you export under whichever filename your tool expects.

What should go in it?

Keep it short and high-signal: the tech stack, exact build/test/lint commands, code-style conventions, and clear do's and don'ts (e.g. 'run tests before committing', 'never edit generated files'). Agents follow concrete, checkable instructions best.

Try Next

Cosine Similarity

Compute cosine similarity, dot product, and Euclidean distance between two vectors online. Perfect for debugging LLM embeddings, semantic search, and RAG pipelines. 100% local — vectors never leave your browser.

Related Tools

Reference & Guides