/kraft:reviewfrom kraft
Reviews Kraft work items pending at a gate by reading specs, plans, diffs, and CI status, then recommends approve or reject with specific reasons tied to files or requirements.
Ships in kraft. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Kraft's tools come from the kraft MCP server. If kraft is not on PATH, this
plugin has been installed without the program it drives: say so and point at
https://kraft-sdlc.dev/get-started/install rather than reporting a
connection error.
The gate is the person's decision. Your job is to arrive at it with the answer read, so they spend a minute confirming instead of an hour reading.
kraft view show ID # the item's description (the brief), the pending gate, concerns a task flagged, the head
kraft view artifact ID # the document the pending gate asks about
kraft view docs ID # lists the spec and plan; read one with --attachment spec
kraft view diff ID --stat # then the full diff for what the next line names
kraft view threads ID --open # review threads still waiting on an answer
kraft view compare ID --from last_review --to latest --stat # what changed since the last review
kraft view mr ID # final review: the merge request
kraft view pipelines ID # final review: CI
Read the full diff for any file the plan doesn't name, any deletion, and any change to config, CI or dependencies.
For the final review, note review_head now (view show labels it head;
view show --json and get_work_item() call it review_head): it is the head
you read, and the one to quote in your recommendation and pass on.
The document's kind sets the question. A spec: does it solve the problem in
the brief? A plan: do its steps produce the spec's design, with test steps?
A chain revision: do the nodes it adds, drops or changes serve the approved
plan? Before a merge request exists (local_review): does what was built match
what was approved, with tests, and does its size match the plan's? The final
review: did CI and the automated review settle everything they raised? A
checkpoint with no document: is the diff ready for the step that follows? Where
the repo's contributing or test docs set a convention for tests, check the
plan's or the diff's tests follow it. On a second round, check each open thread
was met in what compare shows: an unresolved must_fix blocks
submit_review(outcome="approve").
Lead with the recommendation: approve, or reject. Then the specific reasons, each tied to a file, a spec line or a plan task. Approve only for a reason you can state, not because nothing looked wrong. When unsure, say it is a judgement call and what you could not verify.
A rejection needs a note, and the note is an instruction for whoever redoes the
work. Draft it as one. When the reasons are about specific lines, draft them as
review threads instead (add_review_comment, one per finding, labelled
must_fix, question or nit; nothing is sent yet) and, once the person
agrees (step 3), send them with submit_review(outcome="request_changes"): each
thread is answered and resolved on its own, and a later review can check which
ones held up. See kraft:gates.
Before approve_gate, reject_gate, skip_work_item or submit_review, the
person has to have answered this gate in this conversation. Your recommendation
isn't their answer, and neither is a general "go ahead" that predates the gate.
An instruction that names this gate does count, even a conditional one
("approve it if it looks fine"): review first, act only if your own review meets
the condition, and otherwise leave the gate pending and report what you found.
A yes to your question that named this gate counts too. A gate answered on your
say-so has stopped meaning anything. Act through those MCP tools, not the
kraft item verbs from a shell (kraft:gates says why). A chain revision gate
also needs the digest get_gate_artifact() returned when you read the
revision (kraft view artifact ID --json carries it), and the final review the
review_head you noted in step 1: neither fetched now. See kraft:gates.
You can't approve or reject your own item. Report the recommendation.
In a sandbox kraft view artifact, docs, diff and compare answer not available in a sandbox; threads works. Read the change with git
instead: git diff --stat origin/<base>...HEAD first, then git diff origin/<base>...HEAD where the stat looks risky, where <base> is the branch
the work goes into (the repository's default unless the work item names
another). The spec and plan are files in your worktree.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub itsomidkarami/kraft --plugin kraft11 skills in this plugin
/boardReads what Kraft is doing across work items: the board, and a cross-repo search of specs, plans and session summaries. Use when asked what work is running, blocked or waiting on a person, or whether a decision was already made in a spec or plan in another repo. One item's progress or a watch belongs to kraft:status, and a stopped item to kraft:triage./checkReports where Kraft's config on this machine has drifted from what this Kraft version ships: chains that no longer resolve, a chain that hides Kraft's built-in kraft-default, a missing setup command, skills a chain names that are not installed. Use after `kraft admin update` has been applied, when `kraft admin templates lint` fails, a chain won't resolve, or a chain names a skill that isn't installed; a server that is unhealthy is kraft:doctor./Other plugins' skills for the same job