These instructions define a unified style and process standard for authoring and maintaining learn.microsoft.com documentation with GitHub Copilot or other AI assistance.
Below are instructions that apply to all Microsoft Learn documentation authored with AI assistance. Learn product team will update this periodically as needed. Each repository SHOULD NOT update this to avoid being overwritten, but update the repository-specific instructions below as needed.
All Markdown content created or substantially modified with AI assistance must include an ai-usage front matter entry:
ai-usage: ai-generated– AI produced the initial draft with minimal human authorshipai-usage: ai-assisted– Human-directed, reviewed, and edited with AI support- Omit only for purely human-authored legacy content
If missing, add it. However, do not add or update the ai-usage tag if the changes proposed are confined solely to:
- Links (link text and/or URLs)
- Single words or short phrases, such as entries in table cells
- Less than 5% of the article's word count
Follow Microsoft Writing Style Guide with these specifics:
- Active voice, second person addressing reader directly
- Conversational tone with contractions
- Present tense for instructions/descriptions
- Imperative mood for instructions ("Call the method" not "You should call the method")
- Use "might" instead of "may" for possibility
- Avoid "we"/"our" referring to documentation authors
- Sentence case headings (no gerunds in titles)
- Be concise, break up long sentences
- Oxford comma in lists
- Number all ordered list items as "1." (not sequential numbering like "1.", "2.", "3.", etc.)
- Complete sentences with proper punctuation in all list items
- Avoid "etc." or "and so on" - provide complete lists or use "for example"
- No consecutive headings without content between them
- Bold for UI elements
Code stylefor file names, folders, custom types, non-localizable text- Raw URLs in angle brackets
- Use relative links for files in this repo
- Remove
https://learn.microsoft.com/en-usfrom learn.microsoft.com links
Below are instructions specific to this repository. These may be updated by repository maintainers as needed.