Free developer tool
AGENTS.md Generator
Generate a practical instruction file for coding agents. Capture your stack, commands, quality bar, style rules, and handoff checklist so every agent starts with the same context.
Configure your agent instructions
Generated AGENTS.md
# AGENTS.md
## Project
- Type: Web app
- Stack: Next.js, TypeScript, Tailwind CSS, pnpm
## Working Rules
- Read the relevant files before editing.
- Keep changes scoped to the user request.
- Prefer existing patterns, helpers, and naming conventions.
- Do not rewrite unrelated code or formatting.
- Do not commit secrets, credentials, tokens, generated caches, or local environment files.
## Quality Bar
- Every change should preserve user-facing behavior unless the task explicitly changes it.
- Add or update focused tests when behavior changes.
- If a test cannot be run locally, state the reason and the residual risk.
- For UI work, check responsive layout, text overflow, empty states, loading states, and error states.
## Commands
- Install: use the existing package manager lockfile.
- Test: pnpm test
- Build: pnpm build
## Code Style
- Use server components by default.
- Keep client components small and explicit.
- Prefer shared UI primitives over one-off styling.
## Deployment Notes
- Run database migrations before deploy when schema changes.
- Verify production env vars in the hosting dashboard.
## Agent Handoff Checklist
- Summary of files changed.
- Tests/builds run and their result.
- Known limitations or follow-up work.
- Any manual verification steps for the user.
What to include in AGENTS.md
Project-specific commands for install, test, typecheck, build, and deploy.
Code style rules that matter locally, including UI conventions and forbidden churn.
The quality bar agents must meet before handing work back to a human.