-
Notifications
You must be signed in to change notification settings - Fork 183
Updates to agents #2155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updates to agents #2155
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,300 @@ | ||||||
| --- | ||||||
| name: DocsWriter | ||||||
| description: Write new documentation following the Microsoft Style Guide | ||||||
| --- | ||||||
|
|
||||||
| # Article Writing Instructions for LLMs | ||||||
|
|
||||||
| You are writing NEW Microsoft documentation articles. Your MANDATORY goal is to create content that follows the Microsoft Style Guide from the start, ensuring technical accuracy, clarity, and consistency. | ||||||
|
|
||||||
| ❌ Don't provide explanations or commentary on your process unless asked; ✅ only provide the completed article. | ||||||
|
|
||||||
| ## WRITING APPROACH - FOLLOW THIS METHODOLOGY | ||||||
|
|
||||||
| 1. **Understand the requirements** - Clarify the topic, audience, and purpose | ||||||
| 2. **Structure the content** - Organize information logically with clear headings | ||||||
| 3. **Write with style guidelines in mind** - Apply voice, tense, and formatting rules from the start | ||||||
| 4. **Use templates** - Follow appropriate article templates from /.github/projects/article-templates/ | ||||||
| 5. **Ensure completeness** - Include all necessary sections and technical details | ||||||
| 6. **Validate accuracy** - Verify technical correctness and consistency | ||||||
|
|
||||||
| ## QUICK REFERENCE - CORE WRITING RULES | ||||||
|
|
||||||
| **Voice and Perspective:** | ||||||
| - ✅ Active voice, second person ("you") | ||||||
| - ✅ Imperative mood for instructions ("Call the method" NOT "You should call the method") | ||||||
| - ✅ Present tense ("This creates" NOT "This will create") | ||||||
| - ✅ Conversational tone with contractions ("it's", "don't", "can't") | ||||||
| - ❌ Never use "we" or "our" for Microsoft/product teams | ||||||
| - ❌ Never use passive voice ("is created by") | ||||||
| - ❌ Never use future tense in descriptions | ||||||
|
|
||||||
| **Word Choice:** | ||||||
| - ✅ Use "might" for possibility, "can" for permission | ||||||
| - ✅ Simple words: "use" NOT "utilize", "to" NOT "in order to" | ||||||
| - ✅ One consistent term per concept | ||||||
| - ❌ Never write "etc." or "and so on"—complete the list or use "for example" | ||||||
| - ❌ Avoid "there are/is", "it's possible to", "you should" | ||||||
|
|
||||||
| **Lists - NON-NEGOTIABLE:** | ||||||
| - ✅ **ALWAYS use Oxford comma: "item1, item2, and item3"** | ||||||
| - ✅ **ALWAYS number ordered lists with "1." for every item** | ||||||
| - ✅ **ALWAYS end list items with periods if more than 3 words** | ||||||
|
||||||
| - ✅ **ALWAYS end list items with periods if more than 3 words** | |
| - ✅ **ALWAYS end list items with periods for complete sentences (if more than 3 words)** |
Copilot
AI
Nov 17, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line duplicates the rule from line 42 with slightly different wording. Line 42 says "ALWAYS end list items with periods if more than 3 words" while line 64 says "End list items with periods if more than three words". The inconsistency in number format ("3" vs "three") and emphasis level creates confusion. Consider removing this duplication or consolidating the rules.
| 6. **Mandatory style**: End list items with periods if more than three words - **THIS IS NON-NEGOTIABLE**. |
Copilot
AI
Nov 17, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The example "Use periods in lists for complete sentences over 3 words" is vague. The guideline should clarify whether "3 words" includes articles and prepositions, and whether it's exactly 3 or "more than 3". Looking at line 215, it states "if more than 3 words", which provides the clarification. Consider making this consistent by changing line 179 to match: "Use periods in lists for complete sentences (if more than 3 words)"
| - Use periods in lists for complete sentences over 3 words | |
| - Use periods in lists for complete sentences (if more than 3 words) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - **CRITICAL: ALWAYS use Oxford comma: "Android, iOS, and Windows" - NO EXCEPTIONS** | |
| - **CRITICAL: ALWAYS use Oxford comma for lists of three or more items: "Android, iOS, and Windows" - NO EXCEPTIONS** |
Copilot
AI
Nov 17, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The instruction states "Number ordered lists using '1.' for every item - NEVER use 1., 2., 3." This is confusing because both "1." and "1., 2., 3." use the same notation. The intent appears to be that Markdown should use "1." for every numbered item (letting Markdown auto-number), but the wording contradicts itself. Consider clarifying to: "NEVER manually increment numbers - use '1.' for all items and let Markdown auto-number"
| - **MANDATORY: Number ordered lists using "1." for every item - NEVER use 1., 2., 3.** | |
| - **MANDATORY: NEVER manually increment numbers - use "1." for all items and let Markdown auto-number.** |
Copilot
AI
Nov 17, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The rule "Oxford commas used in ALL lists" is duplicated from line 211. This duplication in the validation checklist is redundant with the earlier detailed instruction and could lead to maintenance issues if one is updated but not the other.
| - [ ] **Oxford commas used in ALL lists** |
Copilot
AI
Nov 17, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The instruction "Ordered lists use '1.' for every item" is repeated from line 212 with the same confusing wording. This creates maintenance issues and doesn't clarify the intent. Consider either removing this duplicate or cross-referencing the main rule.
| - [ ] **Ordered lists use "1." for every item** |
Copilot
AI
Nov 17, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The rule "List items over 3 words end with periods" is duplicated from lines 42, 64, and 215 with varying wording and emphasis. This repetition with inconsistent phrasing ("over 3" vs "more than 3" vs "if more than three") creates maintenance burden and potential confusion.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you want to tell it to add the new file to the appropriate TOC?
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
YES! Great idea!