Enforce ordered lists for procedural steps only in instructions/agents#52859
Merged
Enforce ordered lists for procedural steps only in instructions/agents#52859
Conversation
…isabled by default Agent-Logs-Url: https://github.com/dotnet/docs/sessions/2cf0c42e-e0f1-48d8-aff7-196f9738cc53 Co-authored-by: gewarren <24882762+gewarren@users.noreply.github.com>
Agent-Logs-Url: https://github.com/dotnet/docs/sessions/cf27aee1-b5b4-4127-b243-417527790fb2 Co-authored-by: gewarren <24882762+gewarren@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] [WIP] Update documentation for ordered lists as per review feedback on PR #52853
Enforce ordered lists for procedural steps only in instructions/agents
Apr 3, 2026
gewarren
approved these changes
Apr 3, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR tightens the Markdown writing-style guidance to restrict ordered lists to true step-by-step procedures, and updates the internal Copilot instructions to follow that rule for non-procedural “reference rules” content.
Changes:
- Added a mandatory writing-style rule: use ordered lists only for sequential procedural steps (bullets for everything else).
- Converted the API doc ID encoding “rules” in Copilot instructions from a numbered list to bullet points.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
.github/instructions/Markdown.WritingStyle.instructions.md |
Adds an explicit rule clarifying when ordered vs. unordered lists must be used. |
.github/copilot-instructions.md |
Reformats encoding guidance from ordered to unordered list to align with the clarified rule. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ordered lists (1, 2, 3…) were not explicitly restricted to procedural steps in the writing style instructions, and
copilot-instructions.mdused a numbered list for encoding rules—non-procedural content.Changes
.github/instructions/Markdown.WritingStyle.instructions.md: Added explicit MANDATORY rule — ordered lists are for sequential procedural steps only; unordered lists for everything else..github/copilot-instructions.md: Converted the API doc ID encoding rules from an ordered list to bullets (they're reference rules, not steps).The
docseditor.agent.mdalready had this rule correctly; no change needed there.Internal previews