author-page
Skill869 starsChanged 7 days agoApache-2.0View on GitHub
Scaffold or draft new MetaMask documentation to editorial standards. Use when creating a new page, writing a first draft, or helping a non-writer meet the documentation team's expectations.
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 6 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Ask the user for any information they have not already provided:
- Distinctive: line 40
Check how existing pages in the same folder are structured.
- Distinctive: line 45
Create the file with the correct structure for its content type.
- Very specific: line 49
Follow page metadata rules in .cursor/rules/markdown-formatting.mdc (required description, recommended keywords, optional sidebar_label …
- Distinctive: line 223
No em/en dashes: use commas, parentheses, or semicolons.
- Very specific: line 226
Code blocks: always include a language tag.
- Very specific: line 227
Terminology: use the required forms from terminology.mdc.
- Very specific: line 229
No invented API behavior: if you are not certain about a parameter, return value, or behavior, add a :::note admonition flagging it for …
- Distinctive: line 248
After creating the page, remind the user to:
- Very specific: line 250
Add the page to the correct sidebar file (see contributor-workflow.mdc for the mapping).
- Very specific: line 251
If any page was moved, renamed, or removed in the same change set, add redirects in vercel.json (see contributor-workflow.mdc).
- Distinctive: line 254
Check that the CI linter passes before requesting review.
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill 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
Author a new documentation page
Help create a new documentation page that follows MetaMask editorial standards from the start.
When to use
- You need to scaffold a new page or write a first draft.
- You are helping someone who is not a writer produce content that meets team expectations.
Inputs
Ask the user for any information they have not already provided:
- Product area - which product is this for? (MetaMask Connect, Embedded Wallets, Smart Accounts Kit, Agent Wallet, Snaps). Infura API and dashboard docs live at Infura documentation and are not authored in this repository.
- Content type - what kind of page? (concept/explanation, how-to guide, quickstart, reference, tutorial, troubleshooting)
- Topic - what is the page about?
- File path - where should the file live? (Suggest one based on product and content type if the user doesn't specify.)
Step 1: Determine conventions
Based on the product and content type, load the relevant rules:
.cursor/rules/content-types.mdc- structural expectations for the content type..cursor/rules/product-*.mdc- product-specific terminology and conventions..cursor/rules/editorial-voice.mdc- tone and voice..cursor/rules/markdown-formatting.mdc- formatting conventions..cursor/rules/terminology.mdc- required terms and casing.
Check how existing pages in the same folder are structured. Match their conventions for headings, front-matter fields, intro style, and parameter formats.
Step 2: Scaffold the page
Create the file with the correct structure for its content type.
Page metadata
Follow page metadata rules in .cursor/rules/markdown-formatting.mdc (required description,
recommended keywords, optional sidebar_label only when the nav label would otherwise be too
long or wordy, and the title vs duplicate H1 rule). Do not repeat or contradict that rule here.
Structure by content type
Concept / Explanation (for concepts/ or learn/ folders):
---
description: <one sentence>
---
# <Topic name>
<Opening paragraph: what this is and why it matters. 2-3 sentences. Get to the point.>
## <First concept section>
<Explain the concept. No step-by-step instructions.>
## <Second concept section>
...
## Next steps
- [<Related how-to guide>](<relative link>)
- [<Related reference>](<relative link>)How-to guide (for guides/ or how-to/ folders):
---
description: <one sentence>
---
# <Action-oriented title: "Send a transaction" not "Sending transactions">
<Opening paragraph: what the reader will accomplish. 1-2 sentences.>
## Prerequisites
- <Requirement 1>
- <Requirement 2>
## Steps
### 1. <First action>
<Instruction. One action per step.>
### 2. <Second action>
...
## Next steps
- [<Related content>](link)Quickstart (for quickstart/ or get-started/ folders):
---
description: <one sentence>
---
# <What the reader will build or achieve>
<Opening paragraph: what the reader will have at the end. 1-2 sentences.>
## Prerequisites
- <Requirement>
## Steps
### 1. <First step>
<Complete, copy-paste-ready code.>
### 2. <Second step>
...
## Next steps
- [<Extend this with a how-to guide>](link)Reference (for reference/ folders):
---
description: <one sentence>
---
# <API or method name>
<One sentence describing what the method or API does.>
## Parameters
<Match the parameter format used in surrounding reference pages in the same product. Use tables
or nested bulleted lists depending on the established convention.>
## Returns
<Describe the return value.>
## Example
<Working code example.>Tutorial (for tutorials/ folders):
---
description: <one sentence>
---
# <What the reader will learn>
<Opening paragraph: what the reader will build, what they will learn, and why it matters.
2-3 sentences.>
## Prerequisites
- <Requirement - assume no prior knowledge>
## Steps
### 1. <First step>
<Explain every step. Include expected output.>
...
## Complete code
<Full working code sample the reader can download or copy.>
## Next steps
- [<More advanced guide>](link)Troubleshooting (for troubleshooting/ folders):
---
description: <one sentence>
---
# <Symptom or error message>
## Problem
<Describe the symptom. Include the exact error text if available.>
## Solution
<Steps to fix the issue.>Step 3: Write the content
Fill in the scaffold with content based on what the user provides. Follow these rules:
- Voice: active, present tense, second person ("you"). Use contractions where appropriate.
- First sentence: get to the point. Answer "what" or "why" immediately.
- No em/en dashes: use commas, parentheses, or semicolons.
- Sentence case for all headings.
- One sentence per line, wrapped at about 100 columns.
- Code blocks: always include a language tag. Use
bash npm2yarnfor install commands. - Terminology: use the required forms from
terminology.mdc. - No marketing language: no "powerful," "seamless," "best-in-class."
- No invented API behavior: if you are not certain about a parameter, return value, or
behavior, add a
:::noteadmonition flagging it for review rather than stating it as fact.
Step 4: Verify the file is complete
Before finishing, check:
- Page metadata includes
description; addsidebar_labelonly when the default nav label would be too long or wordy (seemarkdown-formatting.mdc). - Opening paragraph answers "what" and "why" in the first 1-2 sentences.
- Structure matches the content type.
- Terminology matches
terminology.mdcand the product rule file. - Code blocks have language tags.
- No em dashes, en dashes, or marketing language.
- File name uses lowercase and dashes (
send-transactions.md, notsendTransactions.md). - File is placed in the correct product and content-type folder.
Step 5: Remind the contributor
After creating the page, remind the user to:
- Add the page to the correct sidebar file (see
contributor-workflow.mdcfor the mapping). - If any page was moved, renamed, or removed in the same change set, add redirects in
vercel.json(seecontributor-workflow.mdc). - Preview locally with
npm start. - Check that the CI linter passes before requesting review.
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/terminology.mdcCursor rule
- .cursor/rules/vercel-redirects.mdcCursor rule
- static/llms.txtllms.txt
- 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.

