Progress map
The user builds projects with Claude Code in phases and steps. Partway through, they want to glance at one picture and know: what is done, where we are, what is left.
The whole value of this skill is that the picture is identical in form every time. A board that changes shape between sessions has to be re-read from scratch; one that never changes can be absorbed in two seconds. So the layout is not yours to design. A script draws it. Your job is to get the facts right and hand them to the script.
It is a text board on purpose: Markdown headings and a few small code blocks. Do not turn it into HTML, an artifact, a widget, a table or an image, even where those are available.
Less is more here. The board says each thing once: the totals in the count lines, a
blocked step and its reason on that step's row, the next thing to pick up in the footer.
Resist adding to it, in the JSON or in the text around it. Terms are defined in
GLOSSARY.md next to this file; use them as defined.
1. Find the plan
Look for the real source of the phases, in this order, and stop at the first that fits:
- Whatever the user points at ("the migration plan", a file, a ticket).
- A plan already in this conversation: an accepted plan, the current task list, phases you or the user laid out earlier.
- Plan files in the project:
PLAN.md,ROADMAP.md,TODO.md,docs/orplans/orspecs/folders,.claude/plans/, phase or checklist sections in the README. - A tracker, when the plan is laid out there (project milestones, an epic's sub-issues).
- Nothing written down: see "When there is no written plan" below.
Keep the plan's own phases, in the plan's order, under the plan's names. Do not invent
phases, merge them, or rename them to sound better: the user thinks in the plan's words
and will look for them. The only trimming is mechanical: drop a leading "Phase 3:" or
"Step 2 -" (the board numbers the rows itself), and drop file paths, links and status
remarks from a name ("Article repository (src/store/articles.py) — started" becomes
the step "Article repository" with status active). Short references the user works by,
such as a PR or ticket number, can stay.
When there is no written plan
Much real work has no plan file: a ticket, a few sessions, some PRs. The board still has to look the same next week as it does today, and phases re-invented from memory each time will not. So the first board becomes the plan of record.
- Look in
~/.progress-map/for a saved map of this work, using your file tools. Files are named after the ticket key or project:proj-123.json,invoice-sync.json. If one is there and its subtitle sayssource: saved maporsource: inferred, it is the plan. Keep its phases and steps, their names and their order; update statuses. Add a step only for work that has really appeared since, mark dropped workskippedinstead of deleting it, and say under the board what you added. Set the subtitle tosource: saved map. - If there is none, build the phases from what exists: this conversation, the ticket and
its comments, PRs and the git history. Set the subtitle to
source: inferred.- Phases are outcomes the work has to reach ("Prod deploy", "Service published"), not a diary of sessions. Three to seven is typical.
- Steps are concrete things that are either true or not ("Manifests merged", "Health check green"), including the ones still ahead and the ones waiting on other people.
- Leave out anything you would be guessing at. A shorter honest map beats a padded one.
- Save it as described in step 3 below; from then on that file is the plan of record. Tell the user in one line under the board that there was no written plan and where the map was saved, so they know the phases are your reading and can correct them once.
If the user would rather keep the map in the repo or the ticket, put it where they say.
2. Work out what is actually done
A checkbox says what someone intended to record, not what is true. Before marking things
done, take a quick look at reality where it is cheap: does the file or feature exist, is
there a commit for it, do the tests for it pass if they are fast to run. Open the file
rather than just listing it: a stub, a TODO body or a NotImplementedError is a step
that has been started, not finished. This is a glance, not an audit. A minute or two is
about right; do not run long builds for it.
Statuses:
| status | meaning | color |
|---|---|---|
done | finished and working, nothing left to do on it | green |
active | started but not finished, or being worked on right now | orange |
todo | to do: not started | red |
blocked | cannot proceed until something outside the step changes | red |
skipped | deliberately dropped; not counted in the totals | none |
Half-done is active, never done. If the plan says done and the code disagrees, go
with the code and say so under the board (not in a note). If you cannot tell, use
active or todo and say which items you were unsure about. An honest board with a
caveat is worth more than a tidy one that is wrong.
3. Write the plan as JSON
Write the plan to ~/.progress-map/<slug>.json with your file-writing tool,
replacing the file if it is there. The slug is the ticket key or project name in
lowercase (proj-123, invoice-sync). Do this every time, also when a written plan
exists: the written plan stays the source of the phases and steps, and this file is just
the latest reading of it.
Always go through the file, and keep it in that folder. Passing the JSON to the script
inline, in a heredoc or a quoted argument, puts braces and quotes into a shell command,
which Claude Code's command safety check stops and no allow rule can wave through. And
anything under ~/.claude/ counts as a sensitive location, where every write is
questioned; ~/.progress-map/ is an ordinary folder the user can allow once.
{
"title": "Invoice sync",
"subtitle": "source: PLAN.md",
"phases": [
{
"name": "API layer",
"steps": [
{"name": "Auth endpoints", "status": "done"},
{"name": "Rate limiting", "status": "active"},
{"name": "Billing hooks", "status": "blocked", "note": "waiting on sandbox keys"},
"Webhooks"
]
},
{"name": "Deploy", "status": "todo"}
]
}
title: the short project name ("Feedreader", not "Feedreader — build plan").subtitle: where the plan came from (source: PLAN.md,source: this session,source: saved map,source: inferred).- A phase with
stepsgets its status and count from the steps; do not set it by hand. A phase without steps needs its ownstatus. - A step given as a bare string is
todo. noteis for the few words that say why an item isblocked. Leave it off everything else; notes on every row destroy the glance. Keep it under about 30 characters: a step and its note share one line, and a long pair gets its name cut short.- Names: aim for under 30 characters for phases and under 40 for steps; the script clips anything longer.
- The
NEXTline picks the firstactivestep, or else the firsttodoone. When several steps areactiveand that would point at the wrong one, put"next": trueon the step the work should actually continue with. - A flat plan with no phases (just a list of steps): make each step a phase without steps. Do not invent groupings.
- Granularity: steps are the plan's steps, not individual file edits. If a phase has more than about ten, you have gone too fine; use the plan's own sub-headings.
4. Render it
Run the bundled script on the file you just wrote, from wherever you are:
python3 "${CLAUDE_SKILL_DIR}/scripts/render.py" ~/.progress-map/<slug>.json
The script is scripts/render.py next to this file. If the path above did not come
through as a real directory, use the skill's base directory shown when it loaded.
By default the board lists every phase on one line with its step count, then opens only the phases that are in progress or hold a blocked step (if there is none, the next one to start). An open phase lists what is still ahead in it; its finished steps are folded into the "2 of 5 done" beside its name. Skipped phases and steps are left off. That is the high-level view the user asked for.
--all: open every phase and list every step, finished and skipped included. Use when the user asks for the full or detailed breakdown.--compact: phases only. Use when the user asks for just the phases.
5. Show it
The user never sees what the script printed. Tool output stays with you, so the board exists for them only once you paste it into your reply. A reply that holds the notes but not the board is an empty answer.
The script prints Markdown, ready to be the body of your reply: a heading for the
project, section headings, bold labels, and small fenced diff blocks holding the status
rows. Paste it exactly as printed, all of it.
- Do not wrap it in a code fence of your own. The headings and bold are what separate the
sections; inside a fence they would show as raw
##and**. - Leave the
diffblocks alone. A chat reply cannot carry terminal colors, so each row starts with a marker (+done,!in progress,-to do or blocked) and the highlighter paints those rows green, orange and red. Re-indenting a row, dropping its first column or changing the block's tag loses the color. - Do not change heading levels, reorder sections, merge blocks, add emoji, or add rows.
If the user says the colors do not show up or the markers bother them, rerun with
--style plain and put that output in one block tagged text. In a real terminal the
script prints true colors and bold by itself (--style ansi forces it).
The board is the reply. Start with its heading; do not put a sentence in front of it saying what you did or that the board follows.
After the board you may add up to three lines, and only for things the board cannot show: where the plan and the code disagree, a status you were unsure of, or that there was no written plan and where the map was saved. Three lines is the ceiling for everything under the board together, one sentence each, with no bullet list and no sub-points:
- Several disagreements between plan and code go in one line: how many, and the one that matters most ("PLAN.md ticks four steps the code does not back up; the ETag cache file is missing altogether"). Do not list them one by one.
- A blocked step's reason is already on its row. Do not repeat it underneath.
- Do not restate the board, summarize it, or suggest what to do next; Next does that.
The user asked for a glance. Each extra line under the board is one more thing between them and the answer, and on the next board they will have learned to skip the text. If there is nothing to add, add nothing.
The board shows counts, not a percentage, and that is deliberate: steps are not equal in size, so "45% done" would claim a precision about effort that a step count cannot back up. Do not add a percentage in the prose either.
What it looks like
This is the script's output for a five-phase plan, shown raw:
## Invoice sync
source: PLAN.md
```diff
█████████████████▓▓▓░░░░░░░░░░░░░░░░░░░░
+ ✓ 7 done
! ► 1 in progress
- ○ 7 to do
- ✗ 1 blocked
```
### Phases
```diff
+ ✓ 1 Foundation 3/3
+ ✓ 2 Data model 2/2
! ► 3 API layer 2/5
- ○ 4 Frontend 0/4
- ○ 5 Deploy 0/2
```
### Open phases
**3 · API layer** · 2 of 5 done
```diff
! ► Rate limiting
- ○ Webhooks
- ✗ Billing hooks — waiting on sandbox keys
```
**Next:** Rate limiting · phase 3, API layer
Reading it:
- The first block is the totals. Its four count lines are also the legend:
✓done,►in progress,○to do,✗blocked. The bar is all steps:█done,▓in progress,░the rest. The blocked line appears only when something is blocked. - Phases has one row per phase: number, name, steps done out of steps in it.
- Open phases has one bold label and one block per open phase.
- Next is the first in-progress step, or else the first to-do one. When everything is done it reads Done instead.
If the script cannot run
If python3 is missing or the script errors in a way you cannot fix by correcting the
JSON, reproduce the layout above by hand: same headings, same order, same first-column
markers and symbols, same Next line. Say in one line that it was
hand-drawn, so a small misalignment is not a surprise.