From taskmaster
Run quality checks on a task before marking it ready for user testing. Invoke when the user says 'is this ready?', 'run the review gate', 'check my work', 'I think this is done', or wants to verify implementation quality before merging. Checks spec/plan, runs code review, runs tests and build, then transitions task to in-review.
How this skill is triggered — by the user, by Claude, or both
Slash command
/taskmaster:review-gateThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Quality gate before marking a task ready for user testing. The user has just finished implementing something and wants to know if it's solid. Lead with the overall verdict — they want validation, not a data dump.
Quality gate before marking a task ready for user testing. The user has just finished implementing something and wants to know if it's solid. Lead with the overall verdict — they want validation, not a data dump.
task_id (optional) — specific task ID. If omitted, uses the current in-progress task (if only one). If multiple tasks are in-progress, ask the user which one.Get task details — call backlog_get_task(task_id) to get priority, epic, branch, docs, sub_repo, and review_instructions.
Gate 1: Spec/Plan Check (P0/P1 tasks only)
High-priority tasks should have documentation. This gate checks existence, not correctness — verifying spec-to-implementation alignment is out of scope for automated checks.
docs field — if docs.plan or docs.spec exists, verify the files exist on disk.docs/specs/ and docs/plans/ (project root), and {sub_repo}/docs/ if sub_repo is set.{id}." Continue anyway.Gate 2: Code Review
branch field. If branch is empty, check the current git branch in the working directory.superpowers:code-reviewer subagent is available, dispatch it scoped to changed files between the branch and its base. If not available, perform an inline review of the diff.Gate 3: Verification (Tests + Build)
sub_repo field or worktree path.Tests — auto-detect and run:
package.json with test script → npm testpytest.ini / pyproject.toml / tests/ → pytest.csproj / .sln → dotnet testCargo.toml → cargo testgo.mod → go test ./...Build — auto-detect and run:
package.json with build → npm run build.csproj → dotnet buildCargo.toml → cargo buildgo.mod → go build ./...Review instructions: If the task has a review_instructions field, display it prominently: "Manual test steps: {review_instructions}"
Present Results — lead with the verdict:
Start with the overall outcome: "All gates passed — ready for your testing" or "Review gate found issues — see details below."
Then show the breakdown:
Gate 1 — Spec/Plan: PASS / WARN / SKIP
Gate 2 — Code Review: PASS / FAIL (N issues)
Gate 3 — Tests: PASS / FAIL / SKIP
Gate 3 — Build: PASS / FAIL / SKIP
Blocking rules:
If gates failed, offer: "Stay in-progress and address issues" or "Move to in-review anyway (you'll need to justify the critical findings)."
Add review instructions:
review_instructions (or they're empty):
backlog_update_task(task_id, "review_instructions", "{final}")Transition to in-review:
{task_id} to in-review? This means it's ready for you to manually test."backlog_update_task(task_id, "status", "in-review")See references/task-lifecycle.md for the full lifecycle. The short version: automated tests can't catch everything. in-review means "Claude did its job; now the human verifies it actually works the way they want." Tasks should pass through this stage before being marked done.
npx claudepluginhub gruku/claude-tools --plugin taskmasterPerforms immediate code review on Git diffs at task/PR completion, matching against TASKS.md context, running hook gates, spec compliance, security checks, and optional AI multi-review.
Reviews implementation against task file requirements, checking every spec scenario and Done When criterion to identify gaps before shipping.
Guides rigorous code review practices: evaluate feedback technically, request code-reviewer subagent reviews after tasks/features, verify before completion claims. For subagent-driven dev and PRs.