/kraft:handofffrom kraft
Files work as a paused item in Kraft with an agreed spec and plan. Connects repos, creates work items with dependencies, and handles errors like disabled repos or duplicates.
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.
File work once the person has said to hand it off, or kraft:prepare judged it
a handoff and they agreed. Neither: run kraft:prepare first.
ensure_repo() - connects the current repo if Kraft has not seen it.
Idempotent, so call it every time rather than checking first. If the answer
says already_connected: false, say so, file anyway, and offer
kraft:onboard before the item is started: the test and setup commands it
proposed are saved unconfirmed, and an item run against wrong ones stops.create_work_item(title, description=...) - files the work, with any spec
and plan attached (below). The title is a label; the description is the
brief, and it is what the spec node writes its design from. The worker never
sees this session, so the description carries the goal, what was agreed,
what's out of scope and how to tell it's done: "Fix retry" restated as a
sentence isn't a brief. Work in parts that build on each other: file the
earlier part first and pass its id as depends_on to the next, since it
can't be added later.403, "… is disabled"):
tell the person what the answer says the repo needs, and don't retry until
they have enabled it in Settings › Repos. A 422 filed nothing: fix what it
names and file again. A duplicate_warning comes back on a successful
create, so the new item exists too: give the person both ids and let them
pick; abandoning one is theirs (kraft item abandon). A repo_warning means
the repo will stop the item once started: pass it on.create_work_item does not start anything. The item lands paused and a
person starts it from the board, or asks you to (resume_work_item with the new
id, see kraft:gates); kraft:status watches it. When you report back, say the
work is filed, not that it is underway: telling someone their work is running
when nothing is running is the failure to avoid.
Attach a document only if the person has agreed it: an unread draft would skip the gate that exists for them to read it. Otherwise leave it out, and the spec or plan gate is how they review it. An agreed document, written in this session or already in the repo, is attached at intake so Kraft doesn't re-run that phase. A spec agreed only in chat is written to a file inside the repo or your worktree first, then attached:
create_work_item(title, description=..., attachments=[
{"kind": "spec", "path": ".engineering/specs/x.md"},
{"kind": "plan", "path": ".engineering/plans/x.md"},
])
Kind is spec or plan, at most one of each. A path is resolved against the
repo and against the working tree you are standing in, so a document written in
a worktree can be attached exactly as you wrote it, relative or absolute. A path
outside both is a 422.
Attaching a spec or plan trims the node whose gate it satisfies, so the person isn't asked to re-approve it, and the implementing agent follows the documents.
Kraft copies an attached document at intake, so editing your file afterwards
changes nothing. To revise one before the item starts, kraft:steer re-attaches
it rather than filing again.
Before attaching a plan, skim it for a step that runs the whole suite (not a task's own tests): verification already runs the repo's tests, so offer to strip it before attaching.
Run get_work_item(<the new id>) (or kraft view list --status=paused) and
check the item is there with the title you gave and, if you attached documents,
that kraft view docs ID lists them.
What SKILL.md sets; muted values are Claude Code's defaults
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