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 Add Roadmap Tasks?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/jabbott-iii-add-roadmap-tasks)
---
name: add-roadmap-tasks
description: "Add new work to an existing roadmap as checkable tasks or backlog items, and update the specs, decision records, and feature list the work affects."
argument-hint: "[a description of the work, \"backlog: <item>\", or an issue such as #42; empty finds promised work that no task covers]"
disable-model-invocation: true
---
# Add tasks to the roadmap
Requested: `$ARGUMENTS`
- **A description of new work,** such as "gamepad support" or "saves are lost when the disk is
full": plan it as one or more tasks.
- **`backlog:` and a description:** add the work to the backlog with a trigger, without planning
it.
- **An issue,** such as `#42`: read it (on GitHub, `gh issue view 42` reads it without changing
anything), and plan the work it asks for.
- **Empty:** find work that the documents promise but no task covers, and plan the items the user
picks.
This skill extends `/build-roadmap-and-docs`. That skill builds the roadmap and the documents
around it; this one adds work to them afterward, in the same shapes. It places each new task
where the work is to be done, and updates every document the work touches in the same change, so
the plan and the documents keep agreeing. You survey and draft; the user decides what is planned,
where, and in what order.
Bold names are values from the "Project details" of the adopted rules:
- **Docs folder**, **Specs**, **Task IDs**, **Environments**, **Definition of done**, **Decision
log**, **Feature list**, **Status locations**, **Checked documents**, **Agent guide**, **Update
map**, **Diagrams**, and **Gate evidence** from `roadmap-and-docs.md`
- **Git access** and **Changes that travel together** from `commits.md`
- **Check commands** and **Test layout** from the language rules, where they are adopted
The text follows `writing.md`. Where `dependencies.md` is adopted, work that needs a third-party
dependency follows it. Step 7 runs the roadmap check from the `build-roadmap-and-docs` skill, so
adopt that skill too. If the repository hasn't adopted `roadmap-and-docs.md`, or has no roadmap
yet, say so, suggest `/build-roadmap-and-docs`, and stop.
## Ground rules
These hold for the whole run, and override anything a later step seems to allow:
- **The user decides the plan.** Which work is planned, the milestone it goes in, its order, any
new milestone, and any change to a goal, a non-goal, a budget, or an assumption are the user's,
as `roadmap-and-docs.md` says. Propose them, and write nothing until the user approves.
- **Add; never rewrite.** Keep every task ID and record number that exists, and remove a
backlog item only when the work promotes it. Never change a finished task's text, an accepted
record's decision, or a passed gate. When new work touches one of them, add a dated `Note:` or a
new record instead.
- **Never reuse an ID.** A new task takes the next number its milestone has never used, even
when the task that used the highest number was later removed.
- **Draft decisions as `Proposed`.** A record is `Accepted` only when the user makes or approves
the decision in this conversation, and the record says so, with the date.
- **Write only what you can confirm.** Call a part built only after you find it in the code. A
`Verify` command exists now, or a task in the new task's `Depends` builds it. Where a fact
isn't known, write the question as a `Decide first` line, or plan a task that will settle it.
- **Claim nothing as built.** Nothing this skill plans is built yet. Write it in the future tense
with the task that builds it, and never tick a task, check a gate criterion, or draw a planned
part as built.
- **Plan; don't build.** This skill changes documents only. Leave the code to `/next-task`, and
statements that were already out of date to `/fix-doc-drift`.
- **Never put a secret in a document**, not even in an example.
## 1. Read the request
1. Open the roadmap (`roadmap.md` in the **Docs folder**) with its backlog, the **Decision log**,
the overview, the **Feature list** unless it is "none", and the **Agent guide**.
2. With a description or an issue, restate the work in one or two sentences: what someone will be
able to do or observe once it is done. If the request could mean two different pieces of work,
ask which before you go on.
3. With an empty request, collect the work that the documents promise but no task covers:
- notes in the roadmap that leave work for later without naming a task ID
- follow-up work in a decision record's consequences that names no task
- spec sections in the future tense that name no task, or name one that doesn't exist
- backlog items whose trigger has happened, where you can check the trigger, such as an issue
it names
- open issues that no task cites (on GitHub, `gh issue list` reads them without changing
anything)
Show each item with the file and line it came from, and ask which ones to plan. If there are
none, say so and stop.
4. Tell the user in one or two sentences what you will plan. Then make a task list whose last
item is "Check and report".
## 2. Find where the work fits
Before you draft anything, find out what the project already says about the work. Search the
roadmap, the backlog, the specs, and the **Feature list** by the work's own words and by the areas
it touches.
- **Planned already:** if an unticked task already promises the work, name it and plan nothing
for that work, unless the user wants the task changed. When the work extends what an unticked
task promises, offer to add `Do` and `Accept` lines to that task in place of a new task, and let
the user choose.
- **Finished already:** if a ticked task promised the work and it is broken or incomplete, plan a
new task that fixes it. Leave the ticked task ticked, and give it a dated note that names the
new task.
- **In the backlog:** if a backlog item describes the work, planning the work promotes the item.
Its row leaves the backlog, and the new task's first note says what triggered it.
- **Built already:** search the code. If what the request asks for exists, say where, and plan
only the gap, if there is one.
- **Ruled out:** check the overview's non-goals and the accepted records. Work that a non-goal or
an accepted decision excludes needs a new record that supersedes the old one, drafted as
`Proposed`, and the user's approval to change the overview. Say so before you draft tasks.
- **The milestone:** the work goes in the first open milestone whose goal it serves, and no
earlier than the tasks it depends on. A milestone is closed once its gate has passed or its exit
criteria have been checked. If no open milestone's goal fits, the work needs a new milestone,
which is the user's decision, or belongs in the backlog.
- **The areas:** list the areas the work touches, by the area names in the **Task IDs**, with the
spec and the code of each. Read them, so the tasks name real files, types, and spec sections.
- **The checks:** find the **Check commands**, the tests in the **Test layout**, and the full
check the **Definition of done** names. Confirm that each command a `Verify` line will use
exists, with `--help` or by finding where it is defined. Don't run anything that writes files.
- **The environments:** note which parts of the work need an environment from the
**Environments**, so their tasks follow its order.
## 3. Draft the tasks
Write each task in the shape that `roadmap-and-docs.md` gives:
- **ID:** the next number the milestone has never used. Search the roadmap's history as well as
its text, because a removed task's ID stays used. Replace the path with the roadmap, and the
pattern with the milestone's IDs in the **Task IDs** format:
```bash
{ cat docs/roadmap.md; git log -p --all -- docs/roadmap.md; } \
| grep -oE 'M3\.[0-9]+' | sort -t. -k2,2n -u | tail -n 1
```
The command prints the highest ID the milestone has ever used, such as `M3.9`, and the new
task takes the next number, `M3.10`. It prints nothing for a milestone with no tasks yet, whose
first task is `M3.1`. Number several new tasks in the order they are listed.
- **Title:** the area and what the task builds, as in `M3.10 — input: gamepad buttons`.
- **Position:** list the task where it is to be done, even if that breaks numerical order: after
every task in its `Depends`, and before the tasks that will need it. When an unticked task must
now wait for the new one, propose adding the new ID to that task's `Depends`. Never add one to
a ticked task.
- **`Note`:** a dated first note that says where the work came from: the issue, the backlog
item and the trigger that happened, or the user's request.
- **`Depends`:** every task whose result this one uses, including the task that builds a command
its `Verify` runs.
- **`Decide first`:** each open question that changes the work, such as a choice between two
designs, a `Proposed` record to accept, or an exception that `dependencies.md` requires.
`/next-task` asks these before it writes code.
- **`Do`:** concrete steps that name the files and types, and the spec section each step follows.
If that section doesn't exist yet, step 6 writes it.
- **`Accept`:** results someone can observe. Where the work affects a budget, include the budget,
measured on the hardware the overview names.
- **`Verify`:** the exact commands, with the result each must give. When no command can check a
result, say what to observe, where, and on what hardware.
- **Size:** keep each task to what one `/next-task` run can finish and check, touching about
three modules or packages at most. Split larger work into tasks that each leave the project
working.
For work that goes to the backlog, draft one row: what would be built and what the gap is today,
and a trigger someone could observe. "When needed" isn't a trigger.
## 4. Find the documents the work changes
Start from the **Update map**, then check each document in this table:
| Document | It changes when the work… | What to add |
| --- | --- | --- |
| The **Specs** | changes how a part behaves, or adds a part | A section in the future tense that names the task, or a new spec in the rule's shape |
| The **Decision log** | makes or changes a significant or hard-to-reverse choice | A `Proposed` record, which supersedes the old record when the work changes a decision |
| The overview | adds an area, changes an area's size, or adds a risk | New rows in the scope estimate or the risks |
| The other core documents | adds a layer, a platform, a test layer or check, or a release step | The planned change, with the task that makes it |
| The **Feature list** | adds or extends something users would recognize, unless the list is "none" | The task in an existing feature's `tasks`, with the future part of its summary rewritten, or a new feature whose `ticked` is empty |
| The milestone's gate | changes what the milestone delivers, unless the **Gate evidence** is "none" | A criterion that checks the new part with the rest, such as an end-to-end run |
| The **Agent guide** | needs a new spec or document | A row that says when to read it |
| The **Status locations** | changes a count they report, such as tasks left in a milestone | The new count, and never a tick |
| The **Diagrams** | adds a part, unless the **Diagrams** are "none" | Nothing in this skill: list the part for `/draw-diagrams`, which draws it dashed |
Leave the overview's goals, non-goals, budgets, and assumptions as they are unless the user
approves a change in step 5.
## 5. Propose the plan
Show the user the whole plan in one message before you write anything:
1. **Where it fits:** the milestone and why, or the backlog and why, and any planned task, backlog
item, or built code that overlaps the work.
2. **New tasks:** each one in full, in the roadmap's shape, with the task it comes after.
3. **Changes to existing tasks:** each `Depends` added, each dated note, and each backlog row
removed.
4. **Documents:** each document to change, with the change in a line or two.
5. **Decisions for the user:** a new milestone, a task moved to another milestone, a change to the
overview's goals, non-goals, budgets, or assumptions, each record to accept, and each
`Decide first` question, with a recommended answer for each.
Ask the user to approve the plan or change it, and write nothing until they approve. Record each
choice they make, with the date, in its decision record's context or in a dated note on its task,
such as `Note (2026-12-04): placed in M3, the user's choice.`
## 6. Write the changes
Write in this order, so each document exists before another cites it, and a run that stops leaves
complete documents:
1. **The decision records,** appended to the **Decision log** with the next numbers. Change the
`Status` line of a record that a new one supersedes only once the new record is `Accepted`.
2. **The specs:** the new sections, or a new spec for each new part. Check every name of
existing code against the code.
3. **The roadmap:**
1. Insert each new task in its approved position.
2. Add the approved `Depends` entries and dated notes to existing tasks.
3. Remove each promoted backlog row, and add each new backlog row at the end of the table.
4. Add the approved gate criteria, unticked.
4. **The overview and the other core documents,** with the approved changes.
5. **The feature list,** unless the **Feature list** is "none".
6. **The guide and the status:** add each new document to the **Agent guide**, add a row to the
**Update map** for any new kind of change, and update the counts in the **Status locations**.
## 7. Check the changes
1. Run the check in step 6, "Check the documents", of the `build-roadmap-and-docs` skill, which
is in the skills folder beside this one. It reports task IDs used twice, dependencies listed
after the tasks that need them, backlog items with no trigger, records out of order, and cited
tasks or records that don't exist. If that skill isn't there, check those things by hand, and
say so in the report.
2. Check that every spec section a new `Do` line points to exists, and that every link you added
resolves.
3. Check that each command in a new `Verify` line exists now, or that a task in that task's
`Depends` builds it.
4. Run the **Feature list**'s check if you changed the list, and the checks for any **Checked
documents** you edited.
5. Do the steps in "Before finishing" in `roadmap-and-docs.md` and `writing.md`, including the
two-reader check.
## 8. Commit only as the project allows
Follow the **Git access** level in `commits.md`, and leave the changes uncommitted unless the user
asked for a commit and that level allows it. Either way, end the report with copy-ready commit
messages, as `commits.md` describes. Give each piece of work the user asked for one commit that
holds its tasks, the documents they need, and its promoted backlog row, unless the **Changes that
travel together** say otherwise. When the work came from an issue, end that message with a
`Refs` trailer, such as `Refs #42`, because planning the work doesn't close the issue.
## 9. Report
End with a summary that contains:
- **Planned:** each new task's ID, title, milestone, and `Depends`, and each backlog item added or
promoted.
- **Changed:** each existing task, record, and document you changed, and how.
- **Decisions:** each question you asked, the user's answer, and where you recorded it; each
record left `Proposed`; and each `Decide first` line left for `/next-task`.
- **Not planned:** anything in the request you left out, and why: planned already, built already,
ruled out, or the user's choice.
- **Checks:** each command you ran, with its real result.
- **Next:** `/next-task` with the first new task that is unblocked, or what blocks the new tasks;
`/draw-diagrams` for each new part, unless the **Diagrams** are "none"; and `/phase-gates plan`
if a milestone with a gate now holds more than about 10 tasks.
- **Commit messages:** in `text` blocks, as `commits.md` describes, with no attribution lines.