with one click
review-pr
Run adversarial PR review with specialist subagents
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Run adversarial PR review with specialist subagents
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Full implementation lifecycle with adversarial review using subagents
Address PR review feedback and verify independently
Draft and create a GitHub issue from a description, investigation, or conversation context. Use when a problem is too large for a quick fix, when you want to propose a change for later, or when the user asks to "file an issue", "create an issue", "draft an issue", "open a ticket", or "log this for later". Also useful when another skill (like tune) determines a change is too large and needs to be tracked as an issue instead.
Merge a PR and update upstream GitHub issues with progress
Validate a PR against PR standards before requesting review
Health-check the LifeOS persona layer (files load, /chat matches the Telegram bots per persona, no personal values leak into committed persona files, frontmatter valid) and open every persona doc in Sublime for editing.
| name | review-pr |
| description | Run adversarial PR review with specialist subagents |
| argument-hint | <pr-number> |
Review PR #$ARGUMENTS using specialist agents. Be adversarial — verify claims, don't trust assertions.
gh pr view $ARGUMENTSgh pr diff $ARGUMENTSgh pr view $ARGUMENTS --commentsBefore spawning any review agents, gather context yourself:
#N) or spec documents, read them to understand what the PR is supposed to accomplish.docs/adr/ to confirm alignment.Do not trust the PR description at face value. Independently verify:
Based on the change type, determine which specialists to spawn:
Use the Task tool to spawn the selected agents in parallel. Each agent should be a general-purpose subagent. Provide each agent with:
| Agent | Focus | Reference Docs |
|---|---|---|
| Correctness | Logic bugs, edge cases, error handling gaps, race conditions | AGENTS.md (development principles) |
| Security | AuthZ/AuthN, injection risks, secrets exposure, PII handling | AGENTS.md (privacy principles) |
| Performance | Hot paths, N+1 queries, async bottlenecks, SQLite locking, connection pool exhaustion | AGENTS.md (tech stack), docs/specs/technical/architecture.md |
| Requirements | Validates code against acceptance criteria and referenced specs | Referenced issues/specs from PR description |
| Standards | Project conventions, naming, structure, test coverage, PR formatting | AGENTS.md, .Codex/skills/pr-check/SKILL.md |
After all specialist agents return findings:
Format the consolidated review and post it as a GitHub PR review comment using:
gh pr review $ARGUMENTS --comment --body "<review content>"
Use this output format:
## PR Review: <PR title>
### Action Required
- **[Agent]** Finding description with file:line references
### Recommended
- **[Agent]** Finding description with file:line references
### Minor
- **[Agent]** Finding description with file:line references
### Summary
<1-2 sentence overall assessment: merge-ready, needs changes, or needs discussion>
If there are no Action Required items, state that explicitly. If there are no findings at all in a category, omit that category.
Stop the review and flag the human directly (do not post as a PR comment) when encountering:
When escalating, provide: what you tried, evidence, options with tradeoffs, and your recommended path.
Do not fall into these traps during review: