Skip to content

Enforce ordered lists for procedural steps only in instructions/agents#52859

Merged
gewarren merged 5 commits intomainfrom
copilot/sub-pr-52853
Apr 6, 2026
Merged

Enforce ordered lists for procedural steps only in instructions/agents#52859
gewarren merged 5 commits intomainfrom
copilot/sub-pr-52853

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 3, 2026

Ordered lists (1, 2, 3…) were not explicitly restricted to procedural steps in the writing style instructions, and copilot-instructions.md used 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.md already had this rule correctly; no change needed there.


Internal previews

📄 File 🔗 Preview link
.github/copilot-instructions.md .NET Documentation Guidelines
.github/instructions/Markdown.WritingStyle.instructions.md Markdown Writing Style Instructions

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
Copilot AI requested a review from gewarren April 3, 2026 18:35
@gewarren gewarren changed the base branch from copilot/disable-aia-certificate-downloads to main April 3, 2026 18:36
@gewarren gewarren marked this pull request as ready for review April 3, 2026 18:39
@gewarren gewarren requested a review from a team as a code owner April 3, 2026 18:39
Copilot AI review requested due to automatic review settings April 3, 2026 18:39
@gewarren gewarren enabled auto-merge (squash) April 3, 2026 18:39
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Member

@BillWagner BillWagner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM. Let's :shipit:

@gewarren gewarren merged commit 297018b into main Apr 6, 2026
15 checks passed
@gewarren gewarren deleted the copilot/sub-pr-52853 branch April 6, 2026 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants