Review MetaMask documentation for editorial compliance (voice, terminology, formatting, content type, frontmatter, workflow). Use before submitting a PR or when asked to audit existing pages.
The user provides a file path or directory to review. If not provided, ask what to review.
Read the file path to determine:
metamask-connect/,
services/, snaps/). Load the corresponding product rule from .cursor/rules/product-*.mdc.concepts/,
how-to/, reference/). Use .cursor/rules/content-types.mdc for the mapping.Try running Vale on the target file:
vale <file-or-directory>
If Vale is not installed, skip this step and note it in the report. Continue with the manual review.
Read the file fully. The following points are quick reminders; use the linked .mdc files as the
source of truth for full criteria, examples, and edge cases.
product-*.mdc rule file.title field.description field present (one sentence for SEO).sidebar_label only when needed (default nav label would be too long or wordy); otherwise omit.title is set in frontmatter.vercel.json.Present findings as a structured report grouped by category. For each issue:
## Style review: <file>
### Product: <product name> | Content type: <type>
### Summary
- X issues found (Y from Vale, Z from manual review)
- Severity: A critical, B suggestions
### Voice and tone
- Line 12: Passive voice - "The block number can be specified..." → "Specify the block number..."
### Terminology
- Line 8: "smart contract account" → Use "smart account" per terminology.mdc.
### Formatting
- Line 45: Code block missing language tag.
- Line 22: Em dash found - replace with comma or period.
### Content type
- Page is in `concepts/` but contains numbered step-by-step instructions. Move steps to a
how-to page and link to it.
### Frontmatter
- Missing `description` field.
If reviewing a directory, produce one report per file, then a summary at the end showing totals across all files.
If no issues are found, say so explicitly.