with one click
review-work
// Review work — check task completion, run lint/build, mark reviewer remarks. Use after /unipi:work completes.
// Review work — check task completion, run lint/build, mark reviewer remarks. Use after /unipi:work completes.
[HINT] Download the complete skill directory including SKILL.md and all related files
| name | review-work |
| description | Review work — check task completion, run lint/build, mark reviewer remarks. Use after /unipi:work completes. |
Review what was built, verify task completion, run codebase checks, add reviewer remarks.
This skill MAY: read codebase, run checks (lint, build, test, docker), write reviewer remarks to plan docs, run bash for git operations (checkout worktree branch). This skill MAY NOT: edit code, implement features, create new files.
/unipi:review-work plan:<path>(optional) <string(greedy)>(optional)
plan:<path) — specific plan to review (auto-suggested)string(greedy) — scope (e.g., "only review auth tasks" or "just check builds")plan: arg provided, read that plan.unipi/docs/plans/ and ask userworkbranch: from plan frontmatter:
workbranch: exists and is not empty → switch to that branch/worktreeworkbranch: missing or empty → review on current branch (main)git checkout {workbranch} or use worktree pathExit: On correct branch. Plan loaded.
If a ralph loop was used for this work (check .unipi/ralph/ for a matching state file):
.unipi/ralph/{name}.state.json — note iteration count, reflection findings.unipi/ralph/{name}.md — check checklist completionFor each task in plan:
completed:unstarted:failed:awaiting_user:blocked:skipped:If string(greedy) scope provided, only check matching tasks.
Run project's verification suite:
npm run lint or equivalenttsc --noEmit or equivalentnpm test or equivalentnpm run build or equivalentdocker build . if Dockerfile existsReport results. If any fail:
Add REVIEWER-REMARK at the end of the plan document, behind a divider:
---
## Reviewer Remarks
REVIEWER-REMARK: Partially Done 3/5
- Tasks 1-3 complete, verified against acceptance criteria
- Task 4 stuck: API endpoint returns 500, needs investigation
- Task 5 unstarted: depends on Task 4
Codebase Checks:
- ✓ Lint passed
- ✓ Type check passed
- ✗ Tests failed: 2 failing in auth.test.ts
- ✓ Build passed
- ✓ Docker build passed
REVIEWER-REMARK: <Done | Partially Done X/Y | Unstarted>
Followed by description explaining the status.
Based on review results, use ask_user new_session options when available so the selected next workflow command can be queued automatically. If ask_user is unavailable, present the same choices conversationally and keep copyable commands visible.
If all tasks done and checks pass:
If workbranch is set (worktree):
"All tasks complete and verified. Ready to merge back to main."
Offer:
ask_user({
question: "Merge this worktree now?",
options: [
{ label: "Proceed to /unipi:worktree-merge", value: "merge", action: "new_session", prefill: "/unipi:worktree-merge" },
{ label: "Consolidate learnings", value: "consolidate", action: "new_session", prefill: "/unipi:consolidate" },
{ label: "Done for now", value: "done", action: "end_turn" },
],
allowFreeform: false,
})
Copyable fallback:
/unipi:worktree-merge
If workbranch is empty (main branch):
"All tasks complete and verified. Changes already on main — no merge needed."
Offer /unipi:consolidate as a new_session handoff when available. Copyable fallback:
/unipi:consolidate
Either way, user can consolidate learnings:
/unipi:consolidate
If tasks incomplete or checks fail:
"Tasks remaining and/or checks failing. Continue work?"
Offer the applicable /unipi:work ... command as a new_session handoff when available.
If workbranch is set:
/unipi:work worktree:<branch> specs:<plan-path>
If workbranch is empty (main):
/unipi:work specs:<plan-path>
If scoped review complete:
"Scoped review complete. Run full review or continue work?"
Offer both commands as new_session options when available:
/unipi:review-work plan:<plan-path> (full review)
/unipi:work specs:<plan-path> (continue work)
/unipi:work