Add macios-reviewer skill for PR code review#25206
Conversation
Create a Copilot skill that reviews PRs against conventions distilled from past reviews by senior maintainers (Sebastien, Rolf, Chris, Manuel, Alex). Covers: - Binding definitions (Export selectors, NullAllowed, platform attributes, naming conventions, protocol patterns, breaking change guards) - MSBuild tasks and targets (Required properties, incremental builds, SessionId for remote execution) - Nullable reference types (no null-forgiving operator, ThrowIfNull) - Formatting (Mono style with tabs, space before parens) - Memory management (GC.KeepAlive, Dispose patterns, SIMD marshalling) - Performance, security, testing, and AI-specific pitfalls Modelled after dotnet/android's reviewer skill with rules adapted for this repository's Apple platform binding patterns. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Adds a new macios-reviewer Copilot skill intended to review dotnet/macios pull requests against repository-specific conventions (bindings, MSBuild, nullable, formatting, interop, etc.), with the rules captured as reference documentation alongside the skill definition.
Changes:
- Introduce
macios-reviewerskill definition and review workflow (SKILL.md). - Add a comprehensive rule/reference document to guide reviews (
references/review-rules.md).
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| .github/skills/macios-reviewer/references/review-rules.md | Adds the detailed review rules/checklist intended to encode dotnet/macios conventions for automated PR review. |
| .github/skills/macios-reviewer/SKILL.md | Defines the skill metadata and prescribes the workflow/comment format for running reviews using the rules. |
- Fix relative link to copilot-instructions.md - Fix wrong selector error description (ObjC exception, not MissingMethodException) - Add nullable parameters as trigger for custom delegates - Fix TryCreate pattern description (returns bool + out, not status code) - Replace C# formatting section: C# is auto-formatted, don't review it - Update YAGNI section to reflect auto-formatting Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Adds a GitHub Agentic Workflow (.md) that triggers the macios-reviewer skill when a maintainer comments '/review' on a pull request. Uses claude-sonnet-4.5, reads the skill's review rules and methodology, then posts inline review comments and a summary. The .lock.yml will be auto-generated by the gh-aw compiler on first run. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
jonathanpeppers
left a comment
There was a problem hiding this comment.
You have to merge it to test it, but I would say go ahead and then comment /review on another PR.
I had to send a couple follow-ups after the first PR:
But you already have these in here ^^
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
✅ [CI Build #180e507] Build passed (Build packages) ✅Pipeline on Agent |
This comment has been minimized.
This comment has been minimized.
✅ [PR Build #180e507] Build passed (Detect API changes) ✅Pipeline on Agent |
This comment has been minimized.
This comment has been minimized.
✅ API diff for current PR / commitNET (empty diffs)✅ API diff vs stableNET (empty diffs)ℹ️ Generator diffGenerator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes) Pipeline on Agent |
✅ [CI Build #180e507] Build passed (Build macOS tests) ✅Pipeline on Agent |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
🚀 [CI Build #180e507] Test results 🚀Test results✅ All tests passed on VSTS: test results. 🎉 All 156 tests passed 🎉 Tests counts✅ cecil: All 1 tests passed. Html Report (VSDrops) Download macOS tests✅ Tests on macOS Monterey (12): All 5 tests passed. Html Report (VSDrops) Download Linux Build VerificationPipeline on Agent |
Create a Copilot skill that reviews PRs against conventions distilled from
past reviews by senior maintainers (Sebastien, Rolf, Chris, Manuel, Alex).
Covers:
naming conventions, protocol patterns, breaking change guards)
SessionId for remote execution)
Modelled after dotnet/android's reviewer skill with rules adapted
for this repository's Apple platform binding patterns.