@@ -21,8 +21,9 @@ The user provides a file path or directory to review. If not provided, ask what
2121Read the file path to determine:
2222
23231 . ** Product area** - which product folder the file lives in (for example, ` metamask-connect/ ` ,
24- ` services/ ` , ` snaps/ ` ). Load the corresponding product rule from ` .cursor/rules/product-*.mdc ` .
25- 2 . ** Content type** - which subfolder determines the expected structure (for example, ` concepts/ ` ,
24+ ` snaps/ ` , ` agent-wallet/ ` ). Load the corresponding product rule from ` .cursor/rules/product-*.mdc ` .
25+ For Infura content, use ` .cursor/rules/product-infura.mdc ` and link to Infura documentation.
26+ 2 . ** Content type** - which folder determines the expected structure (for example, ` concepts/ ` ,
2627 ` how-to/ ` , ` reference/ ` ). Use ` .cursor/rules/content-types.mdc ` for the mapping.
2728
2829## Step 2: Run Vale (if available)
@@ -44,7 +45,7 @@ source of truth for full criteria, examples, and edge cases.
4445
4546- Active voice and present tense used throughout.
4647- Second person ("you"), not "the developer" or "users."
47- - Contractions used naturally .
48+ - Contractions used where appropriate .
4849- No marketing language, superlatives, or promotional tone.
4950- No em dashes or en dashes; use commas, parentheses, or semicolons.
5051- First sentence of each section gets to the point.
@@ -57,16 +58,16 @@ source of truth for full criteria, examples, and edge cases.
5758 "Chain Agnostic Improvement Proposal 25 (CAIP-25)"), short form on subsequent references.
5859- Product-specific terminology matches the corresponding ` product-*.mdc ` rule file.
5960
60- ### Markdown formatting (markdown-formatting.mdc)
61+ ### Markdown formatting (` markdown-formatting.mdc ` )
6162
62- - Lines wrapped at roughly 100 columns.
63+ - Lines wrapped at about 100 columns.
6364- Each sentence on its own line.
6465- Code blocks have a language tag.
6566- Links use relative paths within the product, absolute paths across products.
6667- Descriptive link text; no "click here" or bare URLs.
6768- Admonitions use Docusaurus syntax and are not nested.
6869- Tables are aligned in source Markdown.
69- - No duplicate H1 if frontmatter contains a ` title ` field.
70+ - No duplicate H1 if page metadata contains a ` title ` field.
7071
7172### Content type compliance (content-types.mdc)
7273
@@ -77,11 +78,11 @@ source of truth for full criteria, examples, and edge cases.
7778- Quickstart pages: complete, copy-paste-and-run code.
7879- Troubleshooting pages: symptom/error first, then fix.
7980
80- ### Frontmatter
81+ ### Page metadata
8182
8283- ` description ` field present (one sentence for SEO).
8384- ` sidebar_label ` only when needed (default nav label would be too long or wordy); otherwise omit.
84- - No duplicate H1 if ` title ` is set in frontmatter .
85+ - No duplicate H1 if ` title ` is set in page metadata .
8586
8687### Contributor workflow (contributor-workflow.mdc)
8788
@@ -94,7 +95,7 @@ source of truth for full criteria, examples, and edge cases.
9495Present findings as a structured report grouped by category. For each issue:
9596
96971 . ** Line number** - approximate location in the file.
97- 2 . ** Category** - Voice/Tone, Terminology, Formatting, Content Type, Frontmatter , or Workflow.
98+ 2 . ** Category** - Voice/Tone, Terminology, Formatting, Content Type, Page metadata , or Workflow.
98993 . ** Issue** - what is wrong.
991004 . ** Suggestion** - how to fix it.
100101
@@ -123,7 +124,7 @@ Present findings as a structured report grouped by category. For each issue:
123124- Page is in `concepts/` but contains numbered step-by-step instructions. Move steps to a
124125 how-to page and link to it.
125126
126- ### Frontmatter
127+ ### Page metadata
127128- Missing `description` field.
128129```
129130
0 commit comments