metamask-docs / rules
Cursor rule865 starsChanged 16 days agoApache-2.0View on GitHub
Required spelling and casing for product names, industry terms, and standards referenced across MetaMask documentation.
We split this terminology.mdc into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Use the terms below consistently.
- Distinctive: line 37
When introducing a standard for the first time on a page, spell out the full name with the identifier in parentheses.
≈ “Common” is an estimate: at least 1 in 5 of the 6,350 Cursor rule files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
--- description: Required spelling and casing for product names, industry terms, and standards referenced across MetaMask documentation. globs: **/*.md,**/*.mdx alwaysApply: false --- # Terminology Use the terms below consistently. The left column is the required form. Do not use the variants listed on the right unless they appear in code, URLs, or direct quotations from a specification. | Required term | Do not use | | -------------------------------------- | ------------------------------------------------------------------------------- | | dapp | DApp, dApp, decentralized application, Dapp (capitalize only at sentence start) | | MetaMask | Metamask, metamask (except in code/URLs) | | smart account | smart contract account, SCA (unless quoting an ERC) | | externally owned account (EOA) | externally-owned account | | Snaps (platform) | snaps, SNAPS | | a Snap (singular) | a snap, a SNAP | | web3 | Web3, WEB3 (capitalize only at sentence start) | | sign in / sign out (verb) | log in, log out, login, logout (as verbs) | | sign-in / sign-out (noun or adjective) | log-in, log-out, login, logout (as nouns/adj) | | onchain / offchain | on-chain, off-chain | | Wallet Standard, Wallet Adapter | wallet-standard, wallet-adapter (except in URLs) | | Wagmi | wagmi (except in code, package names, imports, URLs, and file paths) | | MetaMask Agent Wallet | Agentic CLI, Agentic Wallet (except in code/URLs where `agentic` appears) | | `@metamask/agent-wallet` (npm package) | `@metamask/agentic-cli` | | Agent Wallet (short form) | agent wallet (lowercase product name) | | Guard Mode | guard mode (capitalize Mode) | | Beast Mode | beast mode (capitalize Mode) | | server-wallet | server wallet, Server Wallet (except as product phrase "server-wallet mode") | | Bring your own wallet | BYOK, bring your own key, byok (except CLI flag `--wallet byok`) | | `mm` (CLI binary) | MM, Mm (except at sentence start) | ## Standards and specifications When introducing a standard for the first time on a page, spell out the full name with the identifier in parentheses. Use the short form on subsequent references. Examples: - First use: "Chain Agnostic Improvement Proposal 25 (CAIP-25)" - Subsequent: "CAIP-25" - First use: "ERC-4337 (Account Abstraction Using Alt Mempool)" - Subsequent: "ERC-4337"
Where files are headingNew Cursor rule files have more rules about planning and tracking tasks, and fewer about code style.
Of the Cursor rule files we read, the 3,978 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .cursor/rules/content-types.mdcCursor rule
- .cursor/rules/contributor-workflow.mdcCursor rule
- .cursor/rules/editorial-voice.mdcCursor rule
- .cursor/rules/markdown-formatting.mdcCursor rule
- .cursor/rules/product-agent-wallet.mdcCursor rule
- .cursor/rules/product-embedded-wallets.mdcCursor rule
- .cursor/rules/product-infura.mdcCursor rule
- .cursor/rules/product-metamask-connect.mdcCursor rule
- .cursor/rules/product-smart-accounts-kit.mdcCursor rule
- .cursor/rules/product-snaps.mdcCursor rule
- .cursor/rules/vercel-redirects.mdcCursor rule
- static/llms.txtllms.txt
- author-pageSkill
- style-reviewSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

