Files work with Kraft as a paused work item, with any agreed spec and plan attached. Use when the person says work settled in this session should go to Kraft instead of being done here, or to file it, hand it off or put it on the board. It connects a repo Kraft has not seen first; verifying that repo's test and setup commands belongs to kraft:onboard, the inline-or-Kraft decision to kraft:prepare.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Handoff?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/itsomidkarami-handoff)
---
name: handoff
description: "Files work with Kraft as a paused work item, with any agreed spec and plan attached. Use when the person says work settled in this session should go to Kraft instead of being done here, or to file it, hand it off or put it on the board. It connects a repo Kraft has not seen first; verifying that repo's test and setup commands belongs to kraft:onboard, the inline-or-Kraft decision to kraft:prepare."
---
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.
# Handing work to Kraft
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.
1. `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.
2. `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.
3. Read the answer. On a disabled repo it is refused (`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.
## When the spec and plan already exist
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.
## Confirm it landed
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.