docket-ship
Contents

Moving existing docs

Turn design docs, ADRs and long READMEs into specs, decisions and tickets with the docs-migrate skill.

If your project already has design docs, ADRs or a long README, the /docs-migrate skill sorts them into specs, decisions and tickets. It shows you the plan before it writes anything, and it fixes the references to the old files when it's done.

Ask Claude to "move our docs to docket-ship", or run /docs-migrate. It works on a branch.

What goes where

The skill reads every existing doc in full, then sorts what it finds:

In the old docs Becomes
How the system works now Specs, one per area. Mechanisms several docs share, such as notifications or permissions, get a spec of their own
Why something was chosen: "Decisions", "Why not X", "Accepted limitations", rationale paragraphs Decisions
Anything unfinished: "not yet", "later", "TODO", deferred features, missing tests Tickets, each with a "Done when" list
History: "previously", "first draft", "renamed in March" Dropped, or kept in a decision's Context

You see the plan as lists of spec names, decision titles and ticket titles, plus anything the skill couldn't place. Nothing is written until you agree.

Dating old decisions

A decision's date is when it was made, and the skill only sets it as precisely as the sources show: a full day, a month (2026-09) or a year, from the old doc, its git history or the text. When nothing says, date stays empty. Every migrated decision gets recorded set to the day of the migration, and the report says which dates were guessed.

Coding rules stay put

Rules that apply to the whole codebase, such as "no any" or "forms use one library", aren't specs or decisions. They stay in CLAUDE.md or AGENTS.md, which agents already load. A rule whose reasoning is worth keeping can cite a decision by id.

References from code

Old docs are usually referenced from code comments, by file name or by section number ("see orders §10.1"). The skill finds those and rewrites them to cite decision ids instead:

// Orders skip payment in v1 (decision D-0014).

Section numbers change and ids don't. Once code is set in docket-ship.cfg, the checker reads code comments too and reports an id or a docs/ path that doesn't exist.

Finishing

The skill removes the old docs with git rm, adds the docs section to your agent file, and runs docket-ship check until it reports 0 errors. Its report lists how many specs, decisions and tickets it wrote, the references it fixed, what it dropped as history, and anything it had to guess.

Edit this page on GitHub