Skip to content

Coerce copilot to avoid emdash everywhere#52978

Open
adegeo wants to merge 2 commits intomainfrom
adegeo/copilot
Open

Coerce copilot to avoid emdash everywhere#52978
adegeo wants to merge 2 commits intomainfrom
adegeo/copilot

Conversation

@adegeo
Copy link
Copy Markdown
Contributor

@adegeo adegeo commented Apr 10, 2026

Summary

Copilot used the agent to write some docs and I noticed it was heavily relying on emdash everywhere which doesn't make for good reading. These instructions seemed to have helped it avoid it.


Internal previews

📄 File 🔗 Preview link
.github/agents/docseditor.agent.md Article Writing and Editing Instructions for LLMs

Copilot AI review requested due to automatic review settings April 10, 2026 22:04
@adegeo adegeo requested a review from a team as a code owner April 10, 2026 22:04
@dotnetrepoman dotnetrepoman bot added this to the April 2026 milestone Apr 10, 2026
@adegeo adegeo requested a review from gewarren April 10, 2026 22:04
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

Updates the docs editor agent instructions to reduce overuse of em dashes in generated/edited documentation, aiming for improved readability and consistency with the repo’s writing style guidance.

Changes:

  • Adds guidance to avoid em dashes and related dash characters where possible.
  • Clarifies that hyphens in compound adjectives are acceptable.
  • Allows limited/emphasized use of em dashes mid-sentence.

Comment thread .github/agents/docseditor.agent.md Outdated
Comment thread .github/agents/docseditor.agent.md Outdated
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.

Thank you!

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@adegeo adegeo enabled auto-merge (squash) April 20, 2026 17: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