Every developer tool repo must include an AGENTS.md file at the root. This file tells AI coding agents how the repository works and how to contribute correctly.
# AGENTS.md
This file tells AI coding agents how the <Tool Name> repo works
and how to contribute correctly.
**Documentation site:** <URL> (auto-deployed on push to main)List every top-level directory and file with a brief description. Use the same format as the folder structure standard:
## Repository overview
This is a Cursor IDE plugin for <domain>. It contains:
- **`.cursor-plugin/plugin.json`** -- plugin manifest (version, skills, rules)
- **`skills/`** -- X SKILL.md files teaching the AI domain-specific knowledge
- **`rules/`** -- Y .mdc rule files enforcing coding conventions
- **`mcp-server/`** -- Python MCP server with Z tools and JSON data files
- **`docs/`** -- documentation and GitHub Pages site## Branching and commit model
- **Single branch**: `main` only. No develop/release branches.
- **Conventional commits** are required. The release workflow parses them:
- `feat:` -- triggers a **minor** version bump
- `feat!:` or `BREAKING CHANGE` -- triggers a **major** version bump
- Everything else -- triggers a **patch** bump
- Commit messages should be concise and describe the "why", not the "what".Describe each workflow in the repo, what it does, and what triggers it. Include any important caveats (e.g., "do not manually edit the version").
## Version management
- The **source of truth** for the current version is `.cursor-plugin/plugin.json`.
- The release workflow auto-bumps it and the README badge on every qualifying
push to main.
- Never manually change the version.List project-specific rules that AI agents must follow. Examples:
- File naming conventions
- Forbidden patterns (e.g., no em dashes, no hardcoded credentials)
- Required fields in data files
- Language-specific conventions
Step-by-step checklists for common tasks:
### New skill
1. Create `skills/<name>/SKILL.md` with YAML frontmatter
2. Add the path to `plugin.json` under `"skills"`
3. Update counts in README.md
4. Use `feat:` commit prefix
### New rule
1. Create `rules/<name>.mdc` with frontmatter
2. Add the path to `plugin.json` under `"rules"`Document the MCP server's entry point, tool modules, data files, and how they connect.
Domain-specific knowledge that AI agents need to generate correct code. List as bullet points.
State the license so agents know to include it in generated content.
- Be specific and actionable. Agents follow instructions literally.
- Include file paths, not just descriptions.
- Explain what CI will reject so agents avoid those patterns.
- Update
AGENTS.mdwhenever you add workflows, change conventions, or restructure the repo.