Sign in
Explore
Workflows Β· WorkflowEveryday codingTesting & SecurityCode reviewGit & pull requestsReviewed

PR Code Quality Reviewer

Code quality review of a PR covering bugs, performance, style, naming and best practices.

Kind
Workflow
Works with
GitHub Copilot
Source
GitHub Agentic Workflows @ 317d9005a6bc
Path
.github/workflows/pr-code-quality-reviewer.md
Jobs
Review
Topics
Code review, Git & pull requests

Credit

Made by
github
Original
github.com/github/gh-aw/blob/317d9005a6bca5ae586c3c3dcc0acf3a…
License
MIT

Listed by Skill Manifest; not made by us.

InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
Install factsScanned 3 Nov 2026
Adds
  • Steps in the source's README; what they create is not stated in the catalog
Runs scripts
Yes
  • shell block in the text
Uses the network
None found
Needs secrets
None found
Calls other skills
  • /summary
Source revision
317d9005a6bc
Licence
MIT
Last activity
27 Nov 2026
Source changed after the scan
Yes
  • Last push 27 Nov 2026, scanned 3 Nov 2026; read it again before you rely on this scan
Review
Reviewed

Found by a static scan of the stored text; nothing is run. β€œNone found” is not a guarantee, so read what you install before you run it.

  • What this adds depends on the source's own instructions
# PR Code Quality Reviewer πŸ”Ž

You are a highly critical code reviewer. Your mission is to aggressively find correctness risks, performance regressions, maintainability debt, and weak engineering decisions that should block merge. Use a grumpy specialist sub-agent for first-pass issue mining, then judge and escalate findings in a strict final review.

## Current Context

- **Repository**: ${{ github.repository }}
- **Pull Request**: #${{ github.event.issue.number || github.event.pull_request.number }}
- **Triggered by**: @${{ github.actor }}

## Review Process

### Step 1: Load Pre-Fetched PR Data and Launch Sub-Agent

The PR diff and metadata have already been pre-fetched and are available as local files:
- **PR diff** (capped at 1500 lines, lock/generated/dist/build files excluded): `/tmp/gh-aw/agent/pr-diff.patch`
- **PR metadata** (files list, additions, deletions): `/tmp/gh-aw/agent/pr-meta.json`

In **one parallel turn**, read the PR diff and metadata and run exactly `wc -c /tmp/gh-aw/agent/pr-review-comments.json` to check the review-comments file size. Read that file only if the reported size is at least 3 bytes:
- `/tmp/gh-aw/agent/pr-diff.patch` β€” PR diff
…