Skip to content

Update code review skill to not point out public APIs in tools - #133064

Merged
MichalStrehovsky merged 1 commit into
mainfrom
MichalStrehovsky-patch-1
Sep 2, 2026
Merged

MichalStrehovsky merged 1 commit into
mainfrom
MichalStrehovsky-patch-1

Conversation

@MichalStrehovsky

Copy link
Copy Markdown
Member

AI pointing these out in tools is annoying (most recent here: #131877 (comment)).

Cc @dotnet/appmodel

AI pointing these out in tools is annoying (most recent here: #131877 (comment)).
Copilot AI lite review requested due to automatic review settings September 2, 2026 03:56
@github-actions github-actions Bot added the area-skills Agent Skills label Sep 2, 2026
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
15 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The change is small, scoped to reviewer guidance, and aligns with the stated goal; only a minor clarity tweak is suggested.

Pull request overview

This PR updates the dotnet/runtime code-review skill guidance so “detect new public API surface” checks don’t incorrectly treat public C# types in tool code as shipping public API.

Changes:

  • Narrows the “new public members” heuristic to focus on src/libraries rather than all src/.
  • Adds clarifying guidance that tools/ subdirectories contain tool code whose public surface should not be treated as public API.
File summaries
File Description
.github/skills/code-review/SKILL.md Refines API-surface detection guidance to avoid flagging tool code as public API.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Lite

Comment thread .github/skills/code-review/SKILL.md Resolved
@MichalStrehovsky
MichalStrehovsky merged commit 8606da6 into main Sep 2, 2026
26 checks passed
@MichalStrehovsky
MichalStrehovsky deleted the MichalStrehovsky-patch-1 branch September 2, 2026 04:38
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Sep 3, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-skills Agent Skills

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants