Revamp code review skill - #620
Conversation
Rename the repository skill to the GitHub-recommended code-review name, incorporate relevant review guidance from dotnet/android, and update the agentic reviewer workflow. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
🟡 Changes recommended
Several new rules contradict supported transpiler behavior, and the firewall configuration prevents the newly enabled Azure DevOps CLI access.
Get a fresh assessment by requesting another Copilot review.
Pull request overview
Renames and expands the repository’s code-review skill while upgrading its agentic workflow.
Changes:
- Renames
code-reviewertocode-reviewand broadens review guidance. - Adds framework, NES, cc65, security, testing, and MSBuild rules.
- Upgrades the reviewer workflow, model, and generated
gh-awlock.
File summaries
| File | Description |
|---|---|
.github/workflows/dotnes-reviewer.md |
Updates model, tools, and skill paths. |
.github/workflows/dotnes-reviewer.lock.yml |
Regenerates the compiled workflow. |
.github/skills/code-review/SKILL.md |
Renames and expands the review methodology. |
references/transpiler-rules.md |
Adds transpiler-specific checks. |
references/testing-rules.md |
Expands determinism and concurrency guidance. |
references/security-rules.md |
Adds path, archive, and process safety rules. |
references/repo-conventions.md |
Adds repository conventions. |
references/nes-program-rules.md |
Adds NES program guidance. |
references/native-rules.md |
Adds native C and cc65 rules. |
references/msbuild-rules.md |
Expands MSBuild guidance. |
references/csharp-rules.md |
Adds compatibility and concurrency guidance. |
references/ai-pitfalls.md |
Adds AI-review pitfalls. |
.github/aw/actions-lock.json |
Updates pinned workflow setup action. |
.gitattributes |
Removes the custom lock-file merge driver. |
Review details
Suppressed comments (1)
.github/skills/code-review/references/security-rules.md:13
- 🤖
⚠️ Documentation —$(OutputPath)/$(NESTargetPath)are normal caller-controlled MSBuild destinations and may legitimately point outside the project directory. Requiring containment under an “expected” build directory would flag valid configurations and encourage a breaking restriction; containment belongs where an untrusted path component is resolved beneath a trusted root.
- Files reviewed: 11/14 changed files
- Comments generated: 1
- Review effort level: Balanced
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
One or more custom setup steps configured for this repository failed during this Copilot code review run: Setup steps run before each review. If the review above is missing context, or no review was posted at all, the failing step above may be the cause. See the workflow run for failure details, fix your setup steps configuration, and re-request a review. Note You can configure setup steps for Copilot code review separately from Copilot cloud agent with a |
Remove the unused Azure DevOps-specific guidance and permit all shell commands and network access for the personal-project review workflow. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Upgrade Microsoft.SourceLink.GitHub to 10.0.401 so NuGet audit no longer blocks Copilot review setup with GHSA-23fw-v26w-5fgq. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
🔵 Needs a closer look
Several new rules contradict supported transpiler behavior, and the workflow cannot access the Actions logs it now requires reviewers to inspect.
Review details
Suppressed comments (1)
.github/skills/code-review/SKILL.md:69
- 🤖 ❌ Operational implications — The reviewer is now required to inspect failed job logs, but
.github/workflows/dotnes-reviewer.md:7-23grants noactions: readpermission and exposes only thepull_requestsandreposGitHub toolsets; the generated agent job likewise has only contents/PR read permissions. The agent therefore cannot reliably perform this step. Grant Actions read access and expose the Actions toolset when regenerating the workflow.
- Files reviewed: 12/15 changed files
- Comments generated: 0 new
- Review effort level: Balanced
Grant Actions read permission and expose the Actions GitHub toolset so the review workflow can investigate failed checks as instructed. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
🤖 GitHub recommends a review-focused skill directory such as
code-reviewwhen Copilot code review should reliably load repository guidance. Rename the existing dotnes skill to follow that convention and strengthen its review coverage.Summary
code-reviewertocode-review, including matching frontmatter and workflow references.gpt-5.6-solwith unrestricted shell and network access for this personal project.gh-awv0.88.7, which also refreshes its generated action and runtime pins.Microsoft.SourceLink.GitHubto 10.0.401 to clear GHSA-23fw-v26w-5fgq and unblock Copilot review setup.