docs: add Cursor Cloud specific instructions to AGENTS.md - #36
Merged
Conversation
Co-authored-by: Ulisses Ferreira <ulisses@hey.com>
ulissesferreira
marked this pull request as ready for review
July 21, 2026 09:12
ulissesferreira
temporarily deployed
to
default-branch
July 21, 2026 09:12 — with
GitHub Actions
Inactive
taran-a
reviewed
Jul 21, 2026
|
|
||
| ## Cursor Cloud specific instructions | ||
|
|
||
| This repo is a Yarn 4 monorepo of MetaMask Snaps. The two products live in `packages/`: `@metamask/bitcoin-wallet-snap` and `@metamask/sample-snap`. Dependencies are already installed by the startup update script (`corepack enable` + `yarn install`), so no install step is needed at session start. Yarn is pinned via `packageManager` (`yarn@4.17.1`) and provisioned by corepack; use `yarn ...`, not the classic global yarn. |
Contributor
There was a problem hiding this comment.
The two products live in packages/: @metamask/bitcoin-wallet-snap and @metamask/sample-snap.
maybe worth mentioning that later this repo will include other snaps or this doc would require modifications later anyway ?
Contributor
Author
There was a problem hiding this comment.
We can update them once they are added in. It all happens automatically by dispatching a Cursor Agent (funnily enough xD)
taran-a
approved these changes
Jul 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Sets up the Cloud Agent development environment for this MetaMask Snaps monorepo and documents non-obvious startup/run caveats for future agents.
The registered startup update script is:
This adds a
## Cursor Cloud specific instructionssection toAGENTS.mdcapturing durable, non-obvious notes (build-before-test,yarn lintdeletingdist/, port 8080 shared by both snaps, no headless end-to-end, optional.env). No application code was changed.Verification
All commands run against the current tree:
@metamask/sample-snapyarn lint(monorepo) ✅yarn workspace @metamask/sample-snap run test— 2 passed ✅yarn build✅mm-snap serveon :8080,snap.manifest.json+dist/bundle.js→ HTTP 200 ✅@metamask/bitcoin-wallet-snapyarn lint(monorepo) ✅yarn build+yarn test✅yarn build✅mm-snap serveon :8080,snap.manifest.json+dist/bundle.js→ HTTP 200 ✅Hello-world: the
sample-snapJest suite (via@metamask/snaps-jest) installs the snap and invokes itshelloJSON-RPC method, showing a confirmation dialog — exercising the snap's core functionality end-to-end without a browser.