|
| 1 | +# AGENTS.md |
| 2 | + |
| 3 | +Guidance for AI coding agents working on the Monday Cursor Plugin repository. |
| 4 | + |
| 5 | +## Repository overview |
| 6 | + |
| 7 | +A Cursor IDE plugin for Monday.com integration. 21 skills and 8 rules covering boards, items, sprints, docs, dashboards, and GraphQL queries. 44 MCP tools for Monday.com API operations. |
| 8 | + |
| 9 | +**Docs site:** https://tmhsdigital.github.io/Monday-Cursor-Plugin/ |
| 10 | + |
| 11 | +## Repository structure |
| 12 | + |
| 13 | +``` |
| 14 | +Monday-Cursor-Plugin/ |
| 15 | + .cursor-plugin/plugin.json # Plugin manifest (name, version, description) |
| 16 | + skills/ # 21 skill directories, each with SKILL.md |
| 17 | + rules/ # 8 rule files (.mdc) |
| 18 | + mcp-tools.json # MCP tool catalog (44 tools, manually maintained) |
| 19 | + site.json # GitHub Pages branding/config |
| 20 | + docs/ # Generated GitHub Pages site (do not edit manually) |
| 21 | + assets/ # Logo and images |
| 22 | + tests/ # Test suite |
| 23 | + .github/workflows/ # CI/CD (codeql, pages, release-drafter, stale, validate) |
| 24 | +``` |
| 25 | + |
| 26 | +## Branching and commit model |
| 27 | + |
| 28 | +- **Single branch:** `main` only |
| 29 | +- **Conventional commits:** `feat:`, `fix:`, `chore:`, `docs:` |
| 30 | + |
| 31 | +## Skills |
| 32 | + |
| 33 | +Each skill lives in `skills/<skill-name>/SKILL.md`. Every SKILL.md starts with YAML frontmatter: |
| 34 | + |
| 35 | +```yaml |
| 36 | +--- |
| 37 | +name: skill-name |
| 38 | +description: One-line description of what the skill does |
| 39 | +--- |
| 40 | +``` |
| 41 | + |
| 42 | +The `name` and `description` fields are parsed by the site template build system to generate the GitHub Pages site. When adding a new skill: |
| 43 | +1. Create `skills/<skill-name>/SKILL.md` with frontmatter |
| 44 | +2. Update the `skills` count in `.cursor-plugin/plugin.json` |
| 45 | +3. Use `feat:` commit prefix |
| 46 | + |
| 47 | +## Rules |
| 48 | + |
| 49 | +Rules are `.mdc` files in `rules/`. Each starts with YAML frontmatter containing `description` and `globs` fields. |
| 50 | + |
| 51 | +## MCP Tools |
| 52 | + |
| 53 | +`mcp-tools.json` is a manually maintained JSON array of all MCP tools. Each entry has `name`, `description`, and `category` fields. This file is used by the GitHub Pages build system to render the tools catalog. |
| 54 | + |
| 55 | +## GitHub Pages |
| 56 | + |
| 57 | +The docs site is auto-generated. Do not edit `docs/index.html` directly. It is built by the shared template system from the Developer-Tools-Directory repo. |
| 58 | + |
| 59 | +Data sources: |
| 60 | +- `.cursor-plugin/plugin.json` -- metadata |
| 61 | +- `site.json` -- branding (accent color, install steps, links) |
| 62 | +- `skills/*/SKILL.md` -- parsed for name/description via frontmatter |
| 63 | +- `rules/*.mdc` -- parsed for name/scope/description |
| 64 | +- `mcp-tools.json` -- tool catalog |
| 65 | + |
| 66 | +The `pages.yml` workflow clones Developer-Tools-Directory, runs `build_site.py`, and deploys the output. |
| 67 | + |
| 68 | +## CI/CD workflows |
| 69 | + |
| 70 | +- `validate.yml` -- validates plugin.json schema |
| 71 | +- `pages.yml` -- builds and deploys GitHub Pages via shared template |
| 72 | +- `codeql.yml` -- security scanning |
| 73 | +- `release-drafter.yml` -- auto-drafts release notes |
| 74 | +- `stale.yml` -- marks/closes inactive issues and PRs |
| 75 | + |
| 76 | +## Key conventions |
| 77 | + |
| 78 | +- No em dashes or en dashes -- use hyphens or rewrite |
| 79 | +- No hardcoded credentials, tokens, or API keys |
| 80 | +- Conventional commits required |
| 81 | +- CC-BY-NC-ND-4.0 license |
| 82 | +- All content written for public readership |
0 commit comments