| applyTo | docs/**/*.md,includes/**/*.md |
|---|---|
| description | Follow these comprehensive writing style guidelines when creating or editing Markdown documentation. Apply active voice, conversational tone, Oxford commas, and specific formatting rules to ensure consistency and readability across all documentation. |
When writing or editing Markdown documentation, follow these style guidelines:
ALWAYS write using:
- Active voice with second person ("you")
- Conversational tone with contractions
- Present tense for instructions and descriptions
- Imperative mood for instructions (write "Call the method" NOT "You should call the method")
- "might" for possibility (NOT "may")
- "can" for permissible actions (NOT "may")
NEVER use:
- "we" or "our" when referring to documentation authors or product teams
- Jargon or overly complex technical language
- Weak phrases like "you can" or "there is/are/were" unless they add value
- "this" as a standalone pronoun — replace it with the specific noun it refers to (adjectival use before a noun, such as "this method", is fine)
ALWAYS:
- Write like you speak using everyday words
- Create a friendly, informal tone
- Start statements with verbs when possible
- Use sentence case headings (capitalize only first word and proper nouns)
- Never use gerunds in titles
- Never place consecutive headings without content between them
- Lead with the most important information first
- Front-load keywords for scanning
- CRITICAL: Use Oxford comma in ALL lists (item1, item2, and item3) - NO EXCEPTIONS
- MANDATORY: Use ordered lists ONLY for sequential procedural steps - NEVER for non-procedural content
- MANDATORY: Number ordered lists using "1." for every item (NOT 1., 2., 3.) - ALWAYS USE "1."
- REQUIRED: Use bullets for unordered lists - NEVER use numbers for unordered content
- ESSENTIAL: Write complete sentences in lists with proper punctuation
- Skip end punctuation on titles, headings, and UI elements (3 words or fewer)
- Add blank lines around Markdown elements (but don't add extra if they exist)
- Use only one space after periods, question marks, and colons
- Use no spaces around dashes (word—word)
- Break up long sentences for clarity
- Never write "etc." or "and so on" - provide complete lists or use "for example"
- Use "for example" instead of "e.g."
- Use "that is" instead of "i.e."
Apply these formatting rules:
- Bold text for UI elements
Code stylefor file names, folders, custom types, and non-localizable text- Raw URLs in angle brackets
- Relative links for files in this repository
- Remove
https://learn.microsoft.com/en-usfrom Microsoft Learn links
- Choose simple verbs without modifiers
- Avoid weak verbs: "be," "have," "make," "do"
- Use precise verbs (write "tell" NOT "inform")
- Use one word instead of multiple when possible (write "to" NOT "in order to")
- Choose words with one clear meaning (write "because" NOT "since" for causation)
- Omit unnecessary adverbs unless critical to meaning
- Use one term consistently for each concept
- Use common contractions: "it's," "you're," "that's," "don't"
- Avoid ambiguous contractions: "there'd," "it'll," "they'd"
- Never form contractions from noun + verb (avoid "Microsoft's developing")