Style review
When to use
- You want to check existing content for style, terminology, formatting, or content-type issues.
- You are preparing to submit a PR and want a structured editorial pass.
Inputs
The user provides a file path or directory to review. If not provided, ask what to review.
Step 1: Identify the content type
Read the file path to determine which subfolder it lives in (for example, concepts/, how-to/,
reference/, get-started/, or the top-level troubleshooting.md). Use
.cursor/rules/content-types.mdc for the structural expectations of each type.
Also load .cursor/rules/product-zesu.mdc for product-specific conventions.
Step 2: Run Vale (if available)
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.
Step 3: Review against editorial rules
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.
Voice and tone (editorial-voice.mdc)
- Active voice and present tense used throughout.
- Second person ("you"), not "the developer" or "users."
- Contractions used naturally.
- No marketing language, superlatives, or promotional tone.
- No em dashes or en dashes; use commas, parentheses, or semicolons.
- First sentence of each section gets to the point.
- No slang, figures of speech, or culturally specific idioms.
Terminology (terminology.mdc)
- Product names match the required forms (Zesu, Consensys).
- Shared Ethereum and web terms use the required casing (JSON-RPC, web3, dapp, onchain, etc.).
- Standards spelled out on first use with identifier in parentheses (for example,
"Ethereum Improvement Proposal 1559 (EIP-1559)"), short form on subsequent references.
Markdown formatting (markdown-formatting.mdc)
- Lines wrapped at roughly 80 columns.
- Each sentence on its own line.
- Code blocks have a language tag.
- Links use relative paths between pages.
- Descriptive link text; no "click here" or bare URLs.
- Admonitions use Docusaurus syntax and are not nested.
- Tables are aligned in source Markdown.
- No duplicate H1 if frontmatter contains a
title field.
Content type compliance (content-types.mdc)
- Page structure matches the expected content type for its folder.
- Concept pages: no step-by-step instructions, ends with "Next steps."
- How-to pages: goal stated first, prerequisites listed, numbered steps.
- Reference pages: format matches surrounding pages in the same section.
- Troubleshooting entries: short, grouped by symptom, link out for longer fixes.
Frontmatter
description field present (one sentence for SEO).
sidebar_label only when needed (default nav label would be too long or wordy); otherwise omit.
- No duplicate H1 if
title is set in frontmatter.
Contributor workflow (contributor-workflow.mdc)
- If the file is new, verify it has been added to
sidebars.js in the correct category and
position (sidebars are manually maintained, not autogenerated).
- If the file was moved or renamed, verify a redirect exists in
vercel.json.
- Verify no claims are made about Zesu CLI options, configuration, or behavior that have not been
checked against the codebase or official reference.
Step 4: Generate the report
Present findings as a structured report grouped by category. For each issue:
- Line number - approximate location in the file.
- Category - Voice/Tone, Terminology, Formatting, Content Type, Frontmatter, or Workflow.
- Issue - what is wrong.
- Suggestion - how to fix it.
Report format
## Style review: <file>
### 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: "ZESU" → Use "Zesu" 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.
### Workflow
- New page is not listed in `sidebars.js`. Add it under the appropriate category.
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.
1---2name: style-review-23description: Review Zesu documentation for editorial compliance (voice, terminology, formatting, content type, frontmatter, workflow). Use before submitting a PR or when asked to audit existing pages.4---56# Style review78## When to use910- You want to check existing content for style, terminology, formatting, or content-type issues.11- You are preparing to submit a PR and want a structured editorial pass.1213## Inputs1415The user provides a file path or directory to review. If not provided, ask what to review.1617## Step 1: Identify the content type1819Read the file path to determine which subfolder it lives in (for example, `concepts/`, `how-to/`,20`reference/`, `get-started/`, or the top-level `troubleshooting.md`). Use21`.cursor/rules/content-types.mdc` for the structural expectations of each type.2223Also load `.cursor/rules/product-zesu.mdc` for product-specific conventions.2425## Step 2: Run Vale (if available)2627Try running Vale on the target file:2829```bash30vale <file-or-directory>31```3233If Vale is not installed, skip this step and note it in the report. Continue with the manual review.3435## Step 3: Review against editorial rules3637Read the file fully. The following points are quick reminders; use the linked `.mdc` files as the38source of truth for full criteria, examples, and edge cases.3940### Voice and tone (editorial-voice.mdc)4142- Active voice and present tense used throughout.43- Second person ("you"), not "the developer" or "users."44- Contractions used naturally.45- No marketing language, superlatives, or promotional tone.46- No em dashes or en dashes; use commas, parentheses, or semicolons.47- First sentence of each section gets to the point.48- No slang, figures of speech, or culturally specific idioms.4950### Terminology (terminology.mdc)5152- Product names match the required forms (Zesu, Consensys).53- Shared Ethereum and web terms use the required casing (JSON-RPC, web3, dapp, onchain, etc.).54- Standards spelled out on first use with identifier in parentheses (for example,55 "Ethereum Improvement Proposal 1559 (EIP-1559)"), short form on subsequent references.5657### Markdown formatting (markdown-formatting.mdc)5859- Lines wrapped at roughly 80 columns.60- Each sentence on its own line.61- Code blocks have a language tag.62- Links use relative paths between pages.63- Descriptive link text; no "click here" or bare URLs.64- Admonitions use Docusaurus syntax and are not nested.65- Tables are aligned in source Markdown.66- No duplicate H1 if frontmatter contains a `title` field.6768### Content type compliance (content-types.mdc)6970- Page structure matches the expected content type for its folder.71- Concept pages: no step-by-step instructions, ends with "Next steps."72- How-to pages: goal stated first, prerequisites listed, numbered steps.73- Reference pages: format matches surrounding pages in the same section.74- Troubleshooting entries: short, grouped by symptom, link out for longer fixes.7576### Frontmatter7778- `description` field present (one sentence for SEO).79- `sidebar_label` only when needed (default nav label would be too long or wordy); otherwise omit.80- No duplicate H1 if `title` is set in frontmatter.8182### Contributor workflow (contributor-workflow.mdc)8384- If the file is new, verify it has been added to `sidebars.js` in the correct category and85 position (sidebars are manually maintained, not autogenerated).86- If the file was moved or renamed, verify a redirect exists in `vercel.json`.87- Verify no claims are made about Zesu CLI options, configuration, or behavior that have not been88 checked against the codebase or official reference.8990## Step 4: Generate the report9192Present findings as a structured report grouped by category. For each issue:93941. **Line number** - approximate location in the file.952. **Category** - Voice/Tone, Terminology, Formatting, Content Type, Frontmatter, or Workflow.963. **Issue** - what is wrong.974. **Suggestion** - how to fix it.9899### Report format100101```102## Style review: <file>103104### Content type: <type>105106### Summary107- X issues found (Y from Vale, Z from manual review)108- Severity: A critical, B suggestions109110### Voice and tone111- Line 12: Passive voice - "The block number can be specified..." → "Specify the block number..."112113### Terminology114- Line 8: "ZESU" → Use "Zesu" per terminology.mdc.115116### Formatting117- Line 45: Code block missing language tag.118- Line 22: Em dash found - replace with comma or period.119120### Content type121- Page is in `concepts/` but contains numbered step-by-step instructions. Move steps to a122 how-to page and link to it.123124### Frontmatter125- Missing `description` field.126127### Workflow128- New page is not listed in `sidebars.js`. Add it under the appropriate category.129```130131If reviewing a directory, produce one report per file, then a summary at the end showing totals132across all files.133134If no issues are found, say so explicitly.