05-review
SKILL.md
05 review
Review a change set against the prd with an explicit verdict and a clear list of issues and risks.
Guardrails
- Default to review/report only. Do not change code unless explicitly asked.
- Only mark Merged when the PR is actually merged (verified via
ghor explicitly confirmed). - Do not invent test results or reproduction steps; run them or ask for evidence.
Workflow
-
Gather inputs
- prd path (e.g.
tasks/f-##-<slug>.md) - review mode:
- PR mode (preferred): PR URL/number
- Local mode: base branch (default:
main)
- prd path (e.g.
-
Collect context
- PR mode:
gh pr view --json url,title,body,baseRefName,headRefName,files,additions,deletionsgh pr diffgh pr checks
- Local mode:
git diff "<base>...HEAD"git log "<base>..HEAD" --oneline
- PR mode:
-
Review against the prd
- Confirm the change matches the prd goals and acceptance criteria.
- Confirm non-goals are not being implemented.
- Confirm edge cases and error states are handled.
-
Review checklist
- Correctness:
- boundary values, null/empty inputs, error paths
- idempotency / retries (if applicable)
- concurrency / ordering assumptions (if applicable)
- timezones / pagination / encoding (if applicable)
- Security best practices (as applicable to the change):
- authn/authz checks
- input validation + output encoding (XSS/injection risk)
- CSRF/SSRF/path traversal/file upload handling (if relevant)
- secrets handling (no tokens/keys), safe logging (no PII leakage)
- dependency changes (new packages, supply-chain risk)
- Tests:
- happy path + key negative cases
- regression coverage for touched areas
- Maintainability:
- clear naming, small functions, understandable control flow
- comments/docs only where they add durable clarity
- Correctness:
-
Write the review report
-
Use this structure:
Verdict: LGTM | Request changes Blockers (must fix): - … Suggestions (nice to have): - … Questions: - … Security notes: - … Regression risks / watch-outs: - … Manual QA checklist: - …
-
-
Update tracking
- If verdict is LGTM:
- In the prd
## Execution Status, check Reviewed.
- In the prd
- If in PR mode, detect whether the PR is merged:
gh pr view --json mergedAt -q .mergedAt
- If merged:
- In the prd
## Execution Status, check Merged. - Rename the prd file with a
done-prefix (e.g.,tasks/f-01-foo.md→tasks/done-f-01-foo.md). - Update
tasks/todo.md:- update the feature’s
prd:path to the renamed file - update the feature’s status indicator from
🔨to✅
- update the feature’s
- In the prd
- If verdict is LGTM:
-
Next
- Run
06-memoryto capture durable notes: what shipped, risks, and follow-ups.
- Run
Output
- Review report (using the template above).
- What tracking was updated (prd checkboxes, renamed prd path,
tasks/todo.mdstatus), if any.
Weekly Installs
2
Repository
kelvinz/cobbFirst Seen
Feb 4, 2026
Installed on
amp2
claude-code2
replit1
opencode1
kimi-cli1
codex1