mirror of
https://github.com/cursor/plugins.git
synced 2026-09-14 20:00:00 +08:00
5fe26f65e4
Co-authored-by: n2parko <n2parko@users.noreply.github.com>
1.5 KiB
1.5 KiB
AGENTS.md
Cursor Cloud specific instructions
This is a content-first multi-plugin monorepo for the Cursor Plugins marketplace. Most plugins are pure Markdown/JSON with no executable code. The two components with executable code are:
1. Plugin validation (root level)
- What: JSON schema validation of all plugin manifests
- Run:
node scripts/validate-plugins.mjs(from repo root) - Deps:
npm install --no-save ajv ajv-formats(installed at root, no committedpackage.json) - CI: This is the main CI check (
.github/workflows/validate-plugins.yml), triggered on changes to manifests or schemas
2. Orchestrate CLI (orchestrate/skills/orchestrate/scripts/)
- Runtime: Bun (ensure
~/.bun/binis on PATH) - Deps:
bun installin the scripts directory - Lint:
bun run lint(Biome 2.x) - Typecheck:
bun run typecheck(TypeScript 6.x) - Tests:
bun test(207 unit tests) - Format:
bun run format - Full check:
bun run check(format + typecheck)
Gotchas
- There is no root
package.json; theajv/ajv-formatsdeps are installed ad-hoc with--no-saveand land in a rootnode_modules/. - The orchestrate CLI requires
CURSOR_API_KEYto actually spawn agents; tests run without it (mocked). - Slack integration (
SLACK_BOT_TOKEN,SLACK_CHANNEL_ID) is optional; tests emitSLACK_BOT_TOKEN not set; Slack visibility disabled— this is expected. - No databases, Docker, or running services are needed for development.