agentleFS
MetaMaskMetaMask/metamask-docs/.cursor/rules/editorial-voice.mdc

metamask-docs / rules

Cursor rule865 starsChanged 16 days agoApache-2.0View on GitHub

Editorial voice and tone rules aligned with the Microsoft Writing Style Guide and Consensys documentation standards.

  • Reads credentials

We split this editorial-voice.mdc into the rules it gives an agent

20 rules. About 0 are common, 18 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈18

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Follow the Microsoft Writing Style Guide and the Consensys documentation style guide.

    line 9
  2. Distinctive:

    Use active voice and present tense.

    line 15
  3. Distinctive:

    Write in second person. Address the reader as "you."

    line 16
  4. Distinctive:

    Use contractions naturally ("it's," "don't").

    line 17
  5. Distinctive:

    Use short, simple sentences.

    line 25
  6. Distinctive:

    Write for developers who want to accomplish a task or learn a skill, not for marketing purposes.

    line 27
  7. Distinctive:

    Start sentences with a verb when possible.

    line 32
  8. Distinctive:

    Use the Oxford (serial) comma in lists of three or more items (for example, "Android, iOS, and Windows").

    line 33
  9. Distinctive:

    Do not start sentences with "So," "Basically," or "Actually."

    line 35
  10. Distinctive:

    Keep items short enough that the reader can see two or three at a glance.

    line 40
  11. Distinctive:

    Do not use em dashes (—) to set off extra information.

    line 47
  12. Distinctive:

    Use only one space after periods, question marks, and colons.

    line 48
  13. Distinctive:

    Use sentence case for all headings and titles.

    line 49
  14. Distinctive:

    Do not end headings, subheadings, or UI titles with periods.

    line 50
  15. Distinctive:

    Use backticks for inline code, file names, and URLs referenced in prose.

    line 51
  16. Very specific:

    Write code samples that are readable, can be copied and pasted, and work as expected.

    line 60
  17. Very specific:

    Use angle-bracket placeholders for user-supplied values (for example, <YOUR_API_KEY>).

    line 62
  18. Distinctive:

    No marketing language, superlatives, or promotional tone ("best-in-class," "powerful," "seamless").

    line 66
  19. Distinctive:

    No slang, figures of speech, or culturally specific idioms.

    line 67
  20. Distinctive:

    No jargon without definition.

    line 69

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
editorial-voice.mdc
---
description: Editorial voice and tone rules aligned with the Microsoft Writing Style Guide and Consensys documentation standards.
globs: **/*.md,**/*.mdx
alwaysApply: false
---

# Editorial voice

Follow the [Microsoft Writing Style Guide](https://learn.microsoft.com/en-us/style-guide/welcome/)
and the [Consensys documentation style guide](https://docs-template.consensys.net/contribute/style-guide).
The rules below are the most actionable subset for AI-assisted editing.

## Voice and tone

- Use active voice and present tense.
- Write in second person. Address the reader as "you."
- Use contractions naturally ("it's," "don't"). Be informal but not sloppy.
- Refer to the reader's application as "your dapp" (not "the dapp" or "your application").
- Refer to the reader as "you" (not "the developer," "the user," or "users").
- Dapp developers (our readers) in turn have users. It's ok to use "users" in that context.

## Clarity

- Get to the point in the first sentence of every section. Does it answer "what," "why," and "when"?
- Use short, simple sentences. Remove nonessential or redundant words.
- Break up three or more paragraphs with subheadings, lists, tables, code samples, or admonitions.
- Write for developers who want to accomplish a task or learn a skill, not for marketing purposes.

## Sentence construction

- Lead with what's most important. Front-load keywords for scanning.
- Start sentences with a verb when possible. Edit out "you can" and "there is/are" phrasing.
- Use the Oxford (serial) comma in lists of three or more items (for example, "Android, iOS, and
  Windows").
- Do not start sentences with "So," "Basically," or "Actually."

## Lists

- Include at least two items but, if possible, no more than seven.
- Keep items short enough that the reader can see two or three at a glance. A couple of short
  paragraphs per item is acceptable, but don't exceed that length often.
- Make all items consistent in structure (for example, each item is a noun or a phrase that starts
  with a verb).

## Punctuation and formatting

- Do not use em dashes (—) to set off extra information. Use commas, parentheses, semicolons, or rephrase the sentence.
- Use only one space after periods, question marks, and colons.
- Use sentence case for all headings and titles. Never use title case.
- Do not end headings, subheadings, or UI titles with periods.
- Use backticks for inline code, file names, and URLs referenced in prose.
- In general, do not use bold to emphasize words in a paragraph. Use bold sparingly:
  - For UI element names (buttons, menu items, field labels).
  - For emphasis in exceptional cases such as critical security warnings when an admonition is not enough.

## Developer content

- List prerequisites before the first step. Suggest good practices (for example, "secure private
  keys," "protect RPC endpoints in production").
- Write code samples that are readable, can be copied and pasted, and work as expected. Do not
  include shell prompts (for example, `user@host $`) in code blocks.
- Use angle-bracket placeholders for user-supplied values (for example, `<YOUR_API_KEY>`).

## What to avoid

- No marketing language, superlatives, or promotional tone ("best-in-class," "powerful," "seamless").
- No slang, figures of speech, or culturally specific idioms.
- No run-on sentences.
- No jargon without definition. If a term must be used, define it on first use or link to a
  glossary entry.

Download now (ZIP)

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.