/kraft:gatesfrom kraft
Manages Kraft SDLC gates: approves, rejects, or skips pending gates on work items, submits review threads, and starts filed items. Use when a person has made a gate decision or wants review comments sent.
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.
A gate is the person's decision. Before approve_gate, reject_gate,
skip_work_item or submit_review, they have to have answered this gate in
this conversation: an instruction that names it counts, even a conditional one
(kraft:review says how to meet it), and so does a yes to your question that
named it. With no gate pending, an instruction to send the review counts. Your
own recommendation, green CI or an earlier general "go ahead" doesn't. Approving
a gate because it seemed obvious is how the gate stops meaning anything.
Decide through these MCP tools, not kraft item approve, reject or review
from a shell: Kraft records who called, and a shell call is stored as the
person's own decision.
Only one gate pends at a time. Check that get_work_item()'s pending_gate is
the gate the person named before you call; if it isn't, tell them which one is
pending rather than deciding it.
approve_gate(gate=...) - let the chain continue past that gate.
approve_gate(digest=...), with the
digest that get_gate_artifact() returned alongside the revision the
person read. If the revision changed since, the approval is refused: show it
again. submit_review can't carry a digest, so use approve_gate for it.head= too, on
approve_gate, skip_work_item and an approving submit_review: the
head that get_work_item() returned as review_head when the person read
the diff (get_gate_artifact() returns it as head), not one fetched now.
If the branch moved since, the call is refused: show them the change again
and take their answer on it. Don't retry with the new head on the old
go-ahead.reject_gate(note="...") - send the chain back to the node that can address
the note; node= overrides where it re-enters, at or before the gate's own. The
note is required, because a rejection with no reason strands whoever picks the
work up next.skip_work_item(note=...) - advance past the pending gate without approving
it. It takes no gate=, so check pending_gate first. It is the person's call
every time.Feedback about specific lines belongs in review threads, not in one long reject note. Threads work at any point in an item's life, gate or no gate:
add_review_comment(body=..., file_path=..., start_line=..., label="must_fix")
files a draft thread; thread_id=... makes it a reply instead. label is
must_fix, question or nit; suggestion proposes replacement text for
the thread's lines. Nothing is sent until the review is submitted.submit_review(outcome=...) sends every draft on the item:
comment queues them for the next agent that runs, without stopping
anything. At a pending gate it also launches an agent to answer them.request_changes redoes work: at a gate it rejects the gate with the
threads as the note. With no gate it picks the node the threads are about
and re-runs it now if that node is the one running or the item is stopped;
an earlier node waits until the running one finishes, and a paused item
until it is resumed. The response's target and action say which.approve needs a pending gate, and is refused while any must_fix thread
is unresolved.list_threads() shows what is open and what the agents replied;
resolve_thread() and reopen_thread() settle a thread once a reply holds up
or does not.submit_review is a gate-level decision like approve_gate: ask first.
A filed work item lands paused. resume_work_item(work_item_id=...) starts it
for the first time, once the person asks. Pausing, resuming and steering a
started item are kraft:steer's.
After any of these, read the status and pending_gate from the answer (after
submit_review, call get_work_item()) and check they moved as expected: an
approved gate is no longer pending, a started item reads active, queued or
blocked. Report what you see, not what you meant to cause.
You can't act on the work item that is running you: approve, reject, pause and resume against your own item are all refused. Report what you found and let the person decide.
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