Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# AGENTS.md

## Cursor Cloud specific instructions

This is a **content/configuration monorepo** of Cursor IDE plugins. There is no backend, database, or build step. Each top-level directory is a standalone plugin with its own `.cursor-plugin/plugin.json` manifest.

### Validation (the main "build/test/lint" step)

```bash
npm install --no-save ajv ajv-formats
node scripts/validate-plugins.mjs
```

This validates all plugin manifests (JSON) against schemas in `schemas/`. It is the only CI check (see `.github/workflows/validate-plugins.yml`). Node.js >= 20 is required.

### Hooks testing

- **continual-learning** stop hook requires **Bun**: `echo '{"conversation_id":"x","status":"completed","loop_count":0}' | bun run continual-learning/hooks/continual-learning-stop.ts`
- **ralph-loop** hooks require **bash** and **jq** (both pre-installed). The stop hook expects a state file at `.cursor/ralph/scratchpad.md`; without it, it exits cleanly.

### Caveats

- There is no `package.json` in the repo. Dependencies (`ajv`, `ajv-formats`) are installed ephemerally with `npm install --no-save`. The resulting `node_modules/` is gitignored.
- No lockfile exists; `npm install --no-save` always fetches the latest compatible versions, matching CI behavior.