Review work

From hashgraph-online/awesome-codex-plugins · View interactive version

Review work is an AI agent skill from the GitHub repository hashgraph-online/awesome-codex-plugins. Quality gate: verify each acceptance criterion of a completed task/work unit, run quality checks, and create follow-up tasks for gaps. Use before merging or to audit delivered work. Invoked as /agiflow:review-work <work-unit-or-task>. Uses get_work_unit, get_task, update_task, create_task, create_ta

How to use this skill

Skill file

Invoked as /agiflow:review-work. In hosts without slash-prompts, this skill is triggered by matching intent and drives AgiFlow via its MCP tools.

Usage:

Examples:


Purpose

Verify that completed work actually meets its acceptance criteria, catches quality issues, and is ready to ship. AI code has 1.7x more defects than human-written code — review is the last line of defense before shipping.

Guardrails

If a work unit or task slug/id is provided, load it with get_work_unit / get_task; otherwise list candidates with list_work_units / list_tasks for selection.


AgiFlow Project Management Guidelines

Follow the shared AgiFlow project-management guidelines in CODE0 — agent assignment, the task status workflow and transitions, work-unit best practices, and the tags strategy apply to this workflow.


Steps

1. Load the Work for Review

If work unit slug/id provided:

  1. Use get_work_unit MCP tool to load the work unit and its tasks.
  2. For each task in the work unit, use get_task to load full details (acceptance criteria, devInfo, comments).

If task slug/id provided: 3. Use get_task MCP tool to load the task with full details.

If nothing provided: 4. Use list_work_units with status: "completed" to show completed work units. 5. Use list_tasks with status: "Review" or status: "Done" to show completed tasks. 6. Ask user to select what to review.

2. Acceptance Criteria Audit

  1. For each task, evaluate EVERY acceptance criterion:

| Criterion | Verdict | Evidence |

| ---------------- | --------------------- | ------------------- |

| [criterion text] | PASS / FAIL / PARTIAL | [what you observed] |

Verdict rules:

  1. Check devInfo for implementation evidence:

3. Quality Checks

  1. Evaluate these quality dimensions:

Completeness:

Consistency:

Risk Assessment:

4. Review Comments

  1. For each task reviewed, use list_task_comments to check existing progress notes.
  2. Use create_task_comment to add your review findings:
**Review Summary**

Verdict: APPROVED / NEEDS REWORK / APPROVED WITH NOTES

**Acceptance Criteria:**
- [criterion 1]: PASS - [evidence]
- [criterion 2]: FAIL - [what's missing]

**Issues Found:**
- [BLOCKER] [description] — must fix before shipping
- [WARNING] [description] — should fix, creates tech debt
- [NOTE] [description] — minor improvement opportunity

**What's Good:**
- [positive observation]

**Next Steps:**
- [action needed, if any]

5. Verdict and Actions

  1. Based on findings, recommend one of:

APPROVED — All criteria pass, no blockers.

APPROVED WITH NOTES — All criteria pass, minor issues.

NEEDS REWORK — One or more criteria fail or blockers found.

6. Work Unit Summary (if reviewing a work unit)

  1. After reviewing all tasks in the work unit, produce a rollup:
**Work Unit Review: [title]**

Tasks: [N passed] / [total] passed
Overall: APPROVED / NEEDS REWORK

| Task | Slug | Verdict | Issues |
|------|------|---------|--------|
| [title] | [slug] | PASS | 0 |
| [title] | [slug] | FAIL | 2 blockers |

[Summary of what the work unit delivers and whether it's ready]

Common Mistakes to Avoid

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.