Install
$ agentstack add skill-mo-hawary-hawary-workflow-skills-pull-request-review-loop ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo 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.
About
Pull Request Review Loop
Run PR review as a constructive attacker/defender loop until the branch is functionally proven or residual risk is explicit.
When To Use
Use this when the user asks to review a PR, re-review after fixes, address review feedback, prove a branch is ready, or run a local review-fix loop before merge.
Do not use this for broad QA discovery; use qa-bug-hunt-planner. Do not use it for initial feature planning; use feature-spec-delivery-pipeline.
Team Model
Use two roles, even if one agent performs both:
- Reviewer: skeptical, evidence-first, regression-focused.
- Fixer: revalidates every finding before changing code, fixes true issues, adds proof, and documents validation.
If the user authorizes subagents or parallel agents, split review lenses by changed surface. Otherwise, perform both roles locally.
Input Signals
Use the local branch, base/head SHAs, PR diff, changed files, linked specs/issues, tests, CI status, review comments, migrations, security-sensitive surfaces, and prior fix commits. Prefer local source and commands over remote comments when possible.
Workflow
- Identify base/head, changed files, and review scope.
- Run a reviewer pass focused on correctness, contracts, security, data, compatibility, tests, and second-order regressions.
- Record only actionable findings with issue, evidence, impact, and recommended fix.
- Revalidate each finding before fixing.
- Fix valid findings only after the user has approved implementation changes.
- Run targeted validation and update the local review artifact.
- Re-review the latest head after every fix commit.
- Stop only when the latest pass finds no blocker/high/medium correctness issues or the user accepts the remaining risk.
For sample prompts and report shape, see references/examples.md. For a reusable local review artifact, see references/review-artifact-template.md.
Output
Return:
- PR/Branch: identifier, base SHA, head SHA.
- Rounds: review/fix rounds completed.
- Findings: severity-ranked actionable findings or none.
- Fix Proof: commits and validation evidence for addressed findings.
- Artifact: local review artifact path when created.
- Residual Risk: untested areas or user-accepted risks.
- Merge Readiness: ready, not ready, or ready with accepted risk.
Guardrails
- Do not post GitHub comments or submit reviews unless the user explicitly asks.
- Do not fix code unless the user approves implementation changes.
- Do not resolve findings by silence; require evidence or a clear non-reproducible result.
- Treat auth, payments, migrations, data loss, permissions, and destructive actions as high risk.
Avoid
- Do not call a PR ready because CI is green without reviewing changed behavior.
- Do not produce vague style findings without a concrete correctness or maintainability risk.
- Do not merge while blocker/high findings are unresolved unless the user explicitly accepts the risk.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: mo-hawary
- Source: mo-hawary/hawary-workflow-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.