.agents/skills/oat-review-receive-remote/SKILL.md
Use when processing GitHub PR review comments outside project context. Fetches PR comments via agent-reviews and converts them into actionable task lists.
npx skillsauth add tkstang/open-agent-toolkit oat-review-receive-remoteInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Process unresolved GitHub PR review feedback into normalized findings and standalone tasks without requiring an active OAT project.
npx agent-reviews is available.GITHUB_TOKEN, .env.local, or gh auth context).OAT MODE: Review Receive
Purpose: Fetch unresolved PR comments, classify findings into standard severities, triage dispositions, and produce standalone tasks.
BLOCKED Activities:
plan.md, state.md, or implementation.md lifecycle mutations.ALLOWED Activities:
agent-reviews.Self-Correction Protocol: If you catch yourself:
plan.md, state.md, implementation.md) in ad-hoc mode -> STOP and revert to task-list output only.Print this banner once at start:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ OAT ▸ REMOTE REVIEW RECEIVE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Use step indicators:
[1/7] Resolving PR...[2/7] Fetching comments...[3/7] Classifying findings...[4/7] Triaging findings...[5/7] Generating task list...[6/7] Applying fixes (optional)...[7/7] Posting replies (optional)...Normalize every finding to this shape:
finding:
id: "C1" | "I1" | "M1" | "m1"
severity: critical | important | medium | minor
title: string
file: string | null
line: number | null
body: string
fix_guidance: string | null
source: github_pr
source_ref: string
comment_id: string | number
Severity conventions:
critical: Broken behavior, security risk, or missing P0 requirement.important: Missing P1 requirement, major robustness issue.medium: Meaningful but non-blocking quality/maintainability issue.minor: Cosmetic/style/documentation issue.PR resolution order:
--pr <N> from $ARGUMENTSagent-reviews current-branch resolutionAsk user to confirm resolved PR number before fetching comments.
Run:
npx agent-reviews --json --unresolved --pr <N>
Expected: JSON payload with unresolved review comments and metadata.
If command fails:
If no unresolved comments are returned:
For each item in JSON:
type (review_comment, issue_comment, review).path, line) when present.critical, important, medium, minor).CHANGES_REQUESTED review state as a strong hint toward important+, not an automatic override.ID assignment per severity bucket:
C1, C2, ...I1, I2, ...M1, M2, ...m1, m2, ...Before triage prompts, output:
id, title, file:line, source_refDisposition options per finding:
convert (default for critical/important/medium)defer (default for minor)dismissRules:
defer/dismiss.Task entry format:
- [ ] [important] Add null-guard in OAuth callback parser (`packages/auth/src/callback.ts:142`) - Validate provider payload before dereference.
Output modes:
Also output deferred and dismissed lists with reasons.
After the task list is confirmed, ask:
Would you like me to address these fixes, commit, and push the changes? [yes/no]
If yes:
Implement each converted task in the order listed.
After all fixes are applied, run verification (lint, type-check, tests as appropriate).
Stage and commit with a descriptive message referencing the PR:
git add {changed-files}
git commit -m "fix: address PR #<N> review feedback
Resolved findings: {list of finding IDs and titles}"
Push to the current branch:
git push
Capture the commit hash for use in Step 7 replies:
FIX_COMMIT=$(git rev-parse --short HEAD)
If no: skip to Step 7.
After fix implementation (or after task generation if fixes were skipped), ask:
Reply to processed comments on GitHub? [yes/no]
If yes, reply per finding disposition:
When fixes were applied (Step 6 completed):
npx agent-reviews --reply <id> "Fixed in <FIX_COMMIT>"npx agent-reviews --reply <id> "Deferred: <reason>"npx agent-reviews --reply <id> "Won't fix: <reason>"When fixes were not applied:
npx agent-reviews --reply <id> "Acknowledged - tracking as task"npx agent-reviews --reply <id> "Deferred: <reason>"npx agent-reviews --reply <id> "Won't fix: <reason>"Never send replies without explicit user approval.
GITHUB_TOKEN and repository access.--pr <N>.At completion, report:
inline or file path)documentation
Use when OAT implementation changes and repository reference docs must be synchronized. Updates .oat/repo/reference to match current behavior.
business
Merge multiple analysis artifacts into a single coherent report with provenance tracking. Reads existing artifacts from /deep-research, /analyze, and /compare.
testing
Use when the user questions or suspects an agent claim is wrong. Adversarially gathers evidence to verify or refute the claim using the best sources available in the current environment.
tools
Use when prioritizing backlog work or evaluating a roadmap. Produces value-effort ratings, dependency mapping, and execution recommendations.