AgentStack
SKILL verified MIT Self-run

Review Agent

skill-zrozoom-agent-skills-core-review-agent · by ZroZoom

AI-agent PR auditor. Reviews Claude/Codex PRs against the linked issue, acceptance criteria, placeholder risk, tests, and project rules. Trigger when: /review-agent, review agent work, audit AI PR, sprawdź pracę agenta.

No reviews yet
0 installs
16 views
0.0% view→install

Install

$ agentstack add skill-zrozoom-agent-skills-core-review-agent

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Review Agent? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Review Agent Skill

Audit a PR produced by Claude, Codex, Copilot, or another AI agent.

Contract

  • Input: PR number or current branch PR.
  • Output: verdict approve, needs-fixes, or reject with evidence.
  • Side effects: none by default. Do not approve, request changes, comment, or resolve threads unless explicitly asked.

Workflow

1. Fetch PR context

PR=1234
gh pr view "$PR" \
  --repo / \
  --json number,title,body,state,isDraft,author,headRefName,baseRefName,additions,deletions,files,commits,reviews,statusCheckRollup,url

gh pr diff "$PR" --repo /

Fetch unresolved review threads separately if thread state matters:

gh api graphql -F pr="$PR" -f query='
query($pr: Int!) {
  repository(owner: "", name: "") {
    pullRequest(number: $pr) {
      reviewThreads(first: 100) {
        nodes {
          id isResolved isOutdated path line
          comments(first: 5) { nodes { author { login } body createdAt outdated } }
        }
      }
    }
  }
}'

2. Find linked acceptance criteria

Read PR body for Closes #..., Fixes #..., or issue references. Fetch each linked issue:

gh issue view ISSUE_NUMBER \
  --repo / \
  --json number,title,body,labels,milestone,state,url

If no issue is linked, mark this as a review risk.

3. Inspect the changed files locally

Check out or fetch the branch if needed, then inspect only changed files:

gh pr checkout "$PR"
CHANGED_FILES_FILE=$(mktemp)
gh pr view "$PR" --json files --jq '.files[].path' > "$CHANGED_FILES_FILE"
cat "$CHANGED_FILES_FILE"

Search for AI-quality risks in changed files:

while IFS= read -r file; do
  [ -f "$file" ] && rg -n "TODO|FIXME|placeholder|lorem|dummy|mock|example\\.com|coming soon|wkrótce|as any|eslint-disable" "$file"
done /

If local verification is needed, run the narrowest meaningful command:

  • docs-only: no local test required, but say so
  • TypeScript behavior: npm run typecheck
  • lint-sensitive changes: npm run lint
  • content changes: npm run validate:content
  • route/UI changes: targeted Playwright spec or manual path list
  • release-risk changes: npm run build

5. Verdict rubric

| Verdict | Use when | |---|---| | approve | Acceptance criteria are met, checks are green, no meaningful placeholders or policy risks. | | needs-fixes | The intent is right but there are missing tests, incomplete AC, risky placeholders, or small correctness bugs. | | reject | The PR solves the wrong problem, violates policy, breaks architecture, fabricates content, or is too incomplete to patch safely. |

Output Format

## Review Agent Verdict

**PR:** #1234 Title
**Verdict:** approve / needs-fixes / reject
**Linked issues:** #...

### Findings
| Severity | File | Issue |
|---|---|---|
| high | `path:line` | ... |

### Acceptance criteria
- [x] ...
- [ ] ...

### Placeholder and scope scan
- ...

### Tests
- CI: ...
- Local: ...

### Required fixes
1. ...

If there are no findings, say that clearly and name the remaining residual risk.

Rules

  • Findings first. Avoid praise-heavy summaries.
  • Use file and line references for concrete bugs.
  • Do not bulk-resolve review threads.
  • Do not rubber-stamp agent work only because CI passed.
  • Cite AGENTS.md or relevant .agent/skills/* when rejecting scope creep or policy violations.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.