Skip to content

docs(agents): add Cursor Cloud environment setup notes#855

Draft
skoshx wants to merge 2 commits into
mainfrom
cursor/setup-dev-environment-356c
Draft

docs(agents): add Cursor Cloud environment setup notes#855
skoshx wants to merge 2 commits into
mainfrom
cursor/setup-dev-environment-356c

Conversation

@skoshx

@skoshx skoshx commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Summary

Sets up and verifies the Cloud Agent development environment for this repo and documents the durable, non-obvious gotchas for future agents in AGENTS.md under a new ## Cursor Cloud specific instructions section.

No product code changed — only AGENTS.md.

Key learnings captured

  • Node version gotcha: pnpm lint / pnpm format load vite.config.ts (a TS config) which needs Node >=22.18.0. The daemon-pinned /exec-daemon/node is v22.14.0 (passes engines, fails the lint tool). The agent's ~/.bashrc now prefers an nvm-managed Node 22 (>=22.18) on PATH so fresh shells already work.
  • ni/nr (@antfu/ni) are not installed in the Cloud VM — use pnpm directly.
  • The product is a CLI (no server/DB). End-to-end run: node packages/react-doctor/bin/react-doctor.js <dir> --yes --no-score.
  • Optional Next.js website: pnpm --filter website devhttp://localhost:3000.

Environment verification

  • pnpm install, pnpm build — succeed.
  • pnpm lint, pnpm format:check, pnpm typecheck — pass.
  • pnpm test — 1798 passed / 15 skipped.
  • pnpm smoke:json-report — OK.
  • CLI scanned a sample React project and detected 7 issues (no-array-index-as-key, exhaustive-deps, click-events-have-key-events, …) with a valid schemaVersion: 1 JSON report.
  • Website dev server serves HTTP 200.

Demo

react_doctor_cli_and_website_demo.mp4

react-doctor CLI scan output
React Doctor website homepage

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

Co-authored-by: Skosh <skoshx@users.noreply.github.com>
@pkg-pr-new

pkg-pr-new Bot commented Jun 17, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/eslint-plugin-react-doctor@855
npm i https://pkg.pr.new/oxlint-plugin-react-doctor@855
npm i https://pkg.pr.new/react-doctor@855

commit: beef341

@github-actions

github-actions Bot commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

No React Doctor issues found. 🎉

Reviewed by React Doctor for commit beef341.

Co-authored-by: Skosh <skoshx@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants