Skip to content

Revamp code review skill - #620

Merged
jonathanpeppers merged 4 commits into
mainfrom
jonathanpeppers-revamp-code-review-skill
Sep 14, 2026
Merged

jonathanpeppers merged 4 commits into
mainfrom
jonathanpeppers-revamp-code-review-skill

Conversation

@jonathanpeppers

@jonathanpeppers jonathanpeppers commented Sep 14, 2026

Copy link
Copy Markdown
Owner

🤖 GitHub recommends a review-focused skill directory such as code-review when Copilot code review should reliably load repository guidance. Rename the existing dotnes skill to follow that convention and strengthen its review coverage.

Summary

  • Rename code-reviewer to code-review, including matching frontmatter and workflow references.
  • Incorporate applicable guidance from dotnet/android for target-framework compatibility, cancellation and thread safety, process handling, MSBuild incrementality, path and archive safety, deterministic testing, and false-positive control.
  • Add dotnes-specific native C and cc65 review rules for behavioral reference parity, memory limits, ownership, and fixed-width data.
  • Update the agentic reviewer workflow to use gpt-5.6-sol with unrestricted shell and network access for this personal project.
  • Regenerate the workflow lock with gh-aw v0.88.7, which also refreshes its generated action and runtime pins.
  • Update Microsoft.SourceLink.GitHub to 10.0.401 to clear GHSA-23fw-v26w-5fgq and unblock Copilot review setup.

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>
Copilot AI balanced review requested due to automatic review settings September 14, 2026 18:07

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.

🟡 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-reviewer to code-review and broadens review guidance.
  • Adds framework, NES, cc65, security, testing, and MSBuild rules.
  • Upgrades the reviewer workflow, model, and generated gh-aw lock.
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.

Comment thread .github/workflows/dotnes-reviewer.md Outdated

Copilot AI commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

One or more custom setup steps configured for this repository failed during this Copilot code review run:

Build the project

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 copilot-code-review.yml file. Read the docs for details.

jonathanpeppers and others added 2 commits September 14, 2026 13:54
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>

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.

🔵 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-23 grants no actions: read permission and exposes only the pull_requests and repos GitHub 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>
@jonathanpeppers
jonathanpeppers requested a balanced review from Copilot September 14, 2026 19:22
@jonathanpeppers
jonathanpeppers merged commit bb4fee4 into main Sep 14, 2026
3 checks passed
@jonathanpeppers
jonathanpeppers deleted the jonathanpeppers-revamp-code-review-skill branch September 14, 2026 19:22

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.

🔵 Needs a closer look

Several new rules contradict supported transpiler behavior and would produce incorrect reviews.

Review details
  • Files reviewed: 12/15 changed files
  • Comments generated: 0 new
  • Review effort level: Balanced

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.

2 participants