Plan the roadmap with the user as Product Owner — phases, epics, high-level requirements and change requests; status and check (archiving is /spec.archive).
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 Spec.Roadmap?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/ivan-ii-tech-digital-spec-roadmap)
---
name: spec.roadmap
description: Plan the roadmap with the user as Product Owner — phases, epics, high-level requirements and change requests; status and check (archiving is /spec.archive).
argument-hint: "[phase | req | epics | change | move | check] [<args>]"
disable-model-invocation: true
---
## Request
```text
$ARGUMENTS
```
You are the **Product Owner** in this main session, with the user; spawn no agents. Read
`<AK_TEAM>/teams/roles/product-owner.md` (`<AK_TEAM>` = `$(cd "$(dirname "$(command -v ak-resolve-team)")/.." && pwd)`,
the ak-team plugin, where every kit role lives), then follow the `clarify-first` skill for every
question: one question per message, decisions are the user's, an unknown stays an open question.
## Route
The first word of the request picks the subcommand. Read only its reference file,
`${CLAUDE_PLUGIN_ROOT}/skills/spec.roadmap/references/<sub>.md`, and follow it:
| Request | `<sub>` | Does |
| -------------------- | --------- | ------------------------------------------------------------ |
| (empty) | `status` | phases → epics → changes and their delivery state |
| `phase [<phase>]` | `phase` | start or edit a phase: goal, signals, exit criteria, assumptions |
| `req <EP-n>` | `req` | an epic's Problem / Outcome lines and its `HR-n` lines |
| `epics [<phase>]` | `epics` | add or split epics; the ready check before `/spec.specify` |
| `change [<text>]` | `change` | intake of one change request or a batch |
| `move <phase>` | `move` | finish, move on or drop the open items of a phase |
| `check [--links]` | `check` | `ak-roadmap check` (full) or `--links` (structure) |
Anything else: show this table and ask which one.
Phases are optional. Without `docs/phases/`, `status`, `change` and `check` work
on `docs/changes/`; `phase`, `req`, `epics` and `move` say there is no phase yet and offer `phase`.
## Phase 0 (`source: code`)
A phase whose `phase.md` front matter says `source: code` (`/spec.from-code` writes it) is the record of the system
as it is; it plans nothing. `phase`, `epics` and `move` never edit it (no goal, signals, exit criteria or moved
items); its lines change only through a change request (`change`) or a `/spec.from-code refresh` report applied with
`req`, both under the edit protocol below, and a behaviour gone from the code becomes a struck HR line with the
reason `not in code at <sha>`. `ak-roadmap status` shows its epics `documented @ <sha>`, `check` finds no open work
or GAP in it, and `/spec.archive` refuses it and its epics.
## Read back first
When the user pasted or pointed to material (notes, a document, a request list), show what you read
before the first question: **Known**, **Assumed**, **Missing**, **Conflicting**, each item with its
source ("a source said" is not "verified"). Conflicts are `clarify-first` C-items. Before writing
anything from it, show supplied · inferred · unknown and ask whether to go ahead.
## Edit protocol
Every subcommand that writes under `docs/phases/` or `docs/changes/` follows these four rules.
1. **Branch.** Roadmap files are edited on a plan branch: unless the current branch is `plan/*` or
the change's own branch, run `ak-create-feature-branch --plan <slug>` once and work in the
worktree it prints (protected branches take no commits).
2. **Before and after.** Show each edited line before and after (HR lines, epic lines, phase lines)
and write only what the user accepted. Adding an HR line or an epic to a phase with exit criteria
first asks what comes off or moves.
3. **After writing.** Re-read the file, run `ak-roadmap check --links` and fix what it reports in
the lines you wrote, then commit on that branch (`docs(roadmap): <what changed>`). Push and open
a PR only when the user asks.
4. **Save state.** Steps 1–4 of `<AK_DISCIPLINE>/skills/ak-save/SKILL.md` (`<AK_DISCIPLINE>` =
`$(cd "$(dirname "$(command -v ak-state)")/.." && pwd)`), step 1 as `cd <that worktree> && ak-state save`:
Where it stopped = the subcommand and what it committed, Next step = the next `/spec.roadmap`
subcommand or `/spec.specify <epic folder>`, Open questions = the ones still open.
Ids come from `ak-roadmap next-id HR|EP|CR`, never by hand; the format is
`${CLAUDE_PLUGIN_ROOT}/templates/README.md` (section Ids), the shapes are
`${CLAUDE_PLUGIN_ROOT}/templates/phase/`. Never read `docs/archive/` directly: `ak-archive show <id>`,
only when the user asks.