Skip to content

Set up Cursor Cloud dev environment (AGENTS.md) - #3

Open
lpittman-g wants to merge 1 commit into
mainfrom
cursor/setup-dev-environment-c7d2
Open

Set up Cursor Cloud dev environment (AGENTS.md)#3
lpittman-g wants to merge 1 commit into
mainfrom
cursor/setup-dev-environment-c7d2

Conversation

@lpittman-g

Copy link
Copy Markdown
Owner

Summary

Sets up and verifies the development environment for this repo (the modular / modular-scripts Yarn-workspaces monorepo) so future cloud agents can install deps, lint, test, build, and run an app in dev mode.

No source code was modified. This PR only adds AGENTS.md with durable, non-obvious cloud setup guidance. The startup update script is configured separately to yarn install.

What was verified

  • Install: yarn install (Node 22 default, Yarn Classic 1.22.x) — runs patch-package + husky install.
  • Build: yarn build — compiles workspace-resolver, create-modular-react-app, modular-scripts, and @modular-scripts/remote-view.
  • Lint: yarn lint — 25/25 suites pass.
  • Tests: yarn modular testworkspace-resolver (33 tests) and a set of modular-scripts unit suites (35 tests) pass.
  • Run (dev mode): scaffolded a fresh app with the local CLI (yarn modular add), started yarn modular start on port 3000, and confirmed the React dev server serves the app in a browser.

Hello-world demo

The running dev server rendered a scaffolded app with custom text end to end:

modular_dev_server_hello_app.mp4

Notable gotcha documented

yarn build copies a publish artifact into packages/remote-view/dist/, which registers a duplicate workspace named @modular-scripts/remote-view and breaks subsequent installs (yarn install, modular add, modular start). Remove the git-ignored packages/remote-view/dist before install-dependent commands. See AGENTS.md for details.

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

@cursor

cursor Bot commented Aug 3, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_26adfe71-777e-4ef5-993b-f605d67cd938)

@lpittman-g
lpittman-g marked this pull request as ready for review August 4, 2026 06:18
@cursor

cursor Bot commented Aug 4, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@lpittman-g

Copy link
Copy Markdown
Owner Author

@copilot resolve the merge conflicts on this branch.

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