Skip to content

Update repo Copilot skills#14428

Open
KlausLoeffelmann wants to merge 3 commits intodotnet:mainfrom
KlausLoeffelmann:Improvekills
Open

Update repo Copilot skills#14428
KlausLoeffelmann wants to merge 3 commits intodotnet:mainfrom
KlausLoeffelmann:Improvekills

Conversation

@KlausLoeffelmann
Copy link
Copy Markdown
Member

@KlausLoeffelmann KlausLoeffelmann commented Mar 27, 2026

Rewamps and adds Copilot skill documents:

  • using-and-extending-gdi-plus new, based on retired \GDIPlus-copilot-instructions.md\
  • new-control-api new, adding control APIs with version guards
  • control-api-tests new, WinForms control API test patterns
  • gdi-rendering-tests new, Graphics/Bitmap/Font rendering test patterns
  • code-modernization / coding-standards updated

Deletes .github/copilot/GDI/GDIPlus-copilot-instructions.md\ (content moved to skill).

Microsoft Reviewers: Open in CodeFlow

@KlausLoeffelmann KlausLoeffelmann added area: Skills Copilot skill documents and removed area-Infrastructure labels Mar 27, 2026
@KlausLoeffelmann KlausLoeffelmann marked this pull request as ready for review March 27, 2026 18:36
@KlausLoeffelmann KlausLoeffelmann requested a review from a team as a code owner March 27, 2026 18:36
@KlausLoeffelmann KlausLoeffelmann removed the draft draft PR label Mar 27, 2026
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 repository’s Copilot skills documentation by adding new skill guides for GDI+/rendering and WinForms API patterns, refreshing existing standards/modernization guidance, and retiring an older Copilot instruction doc in favor of the new skills system.

Changes:

  • Added new skills: GDI+ usage/extension, new control API guidelines, control API test patterns, and GDI rendering test patterns.
  • Updated coding-standards and code-modernization skills with expanded guidance (notably around var, readability, and modernization rules).
  • Removed the older .github/copilot/GDI/GDIPlus-copilot-instructions.md doc (content moved into a skill).

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
DvlErrLog.txt Adds a driver verification error log (appears to be an accidental artifact).
.github/skills/using-and-extending-gdi-plus/SKILL.md New skill doc for GDI+/System.Drawing usage patterns and API extension guidance.
.github/skills/new-control-api/SKILL.md New skill doc describing how to add new public/protected WinForms APIs.
.github/skills/gdi-rendering-tests/SKILL.md New skill doc for bitmap-based verification and rendering test patterns.
.github/skills/control-api-tests/SKILL.md New skill doc for unit test patterns for WinForms control API additions.
.github/skills/coding-standards/SKILL.md Updates coding standards, especially var policy and readability guidance.
.github/skills/code-modernization/SKILL.md Updates modernization guidance, including NRT boundaries, var rules, and readability items.
.github/copilot/GDI/GDIPlus-copilot-instructions.md Deletes retired GDI+ Copilot instructions doc (superseded by skills).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

merriemcgaw
merriemcgaw previously approved these changes Mar 27, 2026
- Fix 'Cllection initializers' -> 'Collection expressions' (coding-standards)
- Fix stray '**' markdown emphasis (code-modernization)
- Fix 'lke' -> 'like' typo (code-modernization)
- Remove accidentally committed DvlErrLog.txt

Co-authored-by: Copilot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants