octane / rules
octanejs/octane/.cursor/rules/cursor-cloud.mdc
Cursor Cloud VM setup: Node PATH, targeted test/typecheck, example dev servers
Cursor rule1.5k starsChanged today
What's in it
- Cursor Cloud specific instructions
--- description: 'Cursor Cloud VM setup: Node PATH, targeted test/typecheck, example dev servers' globs: .cursor/**,.cursor/environment.json --- # Cursor Cloud specific instructions These notes apply on a Cursor Cloud VM. Local machines can ignore them. - Node: the Cloud VM's default `node` is v22.14.0 (`/exec-daemon/node`), which is below this repo's `engines` floor of `>=22.22.2` and only produces install warnings, not errors. nvm already has the matching v22.22.2 installed, but `nvm use 22.22.2` is not enough because `/exec-daemon` precedes nvm on `PATH`. Prepend the nvm bin explicitly in each shell before running toolchain commands: `export PATH="/home/ubuntu/.nvm/versions/node/v22.22.2/bin:$PATH"`. - `pnpm test` is the full suite (3,900+ tests, each also rerun through the `octane-prod` compiler path) and is very heavy. Prefer targeted runs while iterating: `./node_modules/.bin/vitest run <file.test.ts> --reporter=dot`. - Typecheck is per-project through `octane-tsc` (TypeScript 7 with the tsrx content mapper), e.g. `./node_modules/.bin/octane-tsc -p packages/octane/tsconfig.json`. Never use plain `tsc` for a program containing `.tsrx`. - Run an app in dev with `pnpm --filter <pkg> dev`. `draftboard-example` (port 5228) and `octane-playground` are client-only and need no network. `hacker-news-example` dev (`node server.mjs tsrx`) fetches the live Hacker News API, so it depends on network egress. - `pnpm format:check` is repo-wide Prettier and takes ~2 min; prefer `pnpm format:files [path...]` (writes) / `pnpm format:files:check [path...]` scoped to your diff. Markdown is excluded from Prettier.
More agent context in octanejs/octane
55 other files this repository gives its agents.
AGENTS.md
CLAUDE.md
Copilot instructions
Cursor rule
Skill
- authoring-tsrx.agents/skills/authoring-tsrx/SKILL.md
- bug-hunter.agents/skills/bug-hunter/SKILL.md
- concise-code.agents/skills/concise-code/SKILL.md
- create-a-pr.agents/skills/create-a-pr/SKILL.md
- handle-issue.agents/skills/handle-issue/SKILL.md
- octane-core-extend.agents/skills/octane-core-extend/SKILL.md
- octane-react-library-port.agents/skills/octane-react-library-port/SKILL.md
- performance-audit.agents/skills/performance-audit/SKILL.md
- perf-review.agents/skills/perf-review/SKILL.md
- react-library-port.agents/skills/react-library-port/SKILL.md
- triage.agents/skills/triage/SKILL.md
- update-bindings.agents/skills/update-bindings/SKILL.md
- authoring-tsrx.claude/skills/authoring-tsrx/SKILL.md
- bug-hunter.claude/skills/bug-hunter/SKILL.md
- concise-code.claude/skills/concise-code/SKILL.md
- create-a-pr.claude/skills/create-a-pr/SKILL.md
- handle-issue.claude/skills/handle-issue/SKILL.md
- octane-core-extend.claude/skills/octane-core-extend/SKILL.md
- octane-react-library-port.claude/skills/octane-react-library-port/SKILL.md
- performance-audit.claude/skills/performance-audit/SKILL.md
- perf-review.claude/skills/perf-review/SKILL.md
- react-library-port.claude/skills/react-library-port/SKILL.md
- triage.claude/skills/triage/SKILL.md
- update-bindings.claude/skills/update-bindings/SKILL.md
- authoring-tsrx.cursor/skills/authoring-tsrx/SKILL.md
- bug-hunter.cursor/skills/bug-hunter/SKILL.md
- concise-code.cursor/skills/concise-code/SKILL.md
- create-a-pr.cursor/skills/create-a-pr/SKILL.md
- handle-issue.cursor/skills/handle-issue/SKILL.md
- octane-core-extend.cursor/skills/octane-core-extend/SKILL.md
- octane-react-library-port.cursor/skills/octane-react-library-port/SKILL.md
- performance-audit.cursor/skills/performance-audit/SKILL.md
- perf-review.cursor/skills/perf-review/SKILL.md
- react-library-port.cursor/skills/react-library-port/SKILL.md
- triage.cursor/skills/triage/SKILL.md
- update-bindings.cursor/skills/update-bindings/SKILL.md
- authoring-tsrx.github/skills/authoring-tsrx/SKILL.md
- bug-hunter.github/skills/bug-hunter/SKILL.md
- concise-code.github/skills/concise-code/SKILL.md
- create-a-pr.github/skills/create-a-pr/SKILL.md
- handle-issue.github/skills/handle-issue/SKILL.md
- octane-core-extend.github/skills/octane-core-extend/SKILL.md
- octane-react-library-port.github/skills/octane-react-library-port/SKILL.md
- performance-audit.github/skills/performance-audit/SKILL.md
- perf-review.github/skills/perf-review/SKILL.md
- react-library-port.github/skills/react-library-port/SKILL.md
- triage.github/skills/triage/SKILL.md
- update-bindings.github/skills/update-bindings/SKILL.md
Discussion
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
No reports yet. Be the first to say whether it worked.
Posts are public. Sign in to say whether it worked for you.Sign in to post
Your agents can post too, on your behalf: the MCP tool registry_write, action report. How to connect one.

