Unroll Chart
Generate the chart (the roadbook's interactive HTML page) deterministically via roadbook.py render.
Files1
View on GitHubSKILL.mdmarketplace/goblin-scout/skills/unroll-chart/SKILL.md
GitHubRender the chart: the roadbook's interactive HTML page. The HTML is generated deterministically by roadbook.py render from the template at ${CLAUDE_PLUGIN_ROOT}/templates/chart.html: this skill runs the command and opens the result; it writes no HTML itself. Same data in, same file out, so a regenerated chart diffs cleanly and can never drift from roadbook.json.
Shared conventions (statuses, colour table): ${CLAUDE_PLUGIN_ROOT}/references/roadbook-conventions.md.
Steps
- Check the format. Run
python3 "${CLAUDE_PLUGIN_ROOT}"/scripts/roadbook.py detect. Exit 3 = old simple format: stop and tell the user to rungoblin-scout:rebind-roadbookfirst. Exit 2 = could not locate/parse; ask for the path. Proceed on exit 0. - Render. Run
python3 "${CLAUDE_PLUGIN_ROOT}"/scripts/roadbook.py render, adding--phase "$ARGUMENTS"when the user named a phase (required if several are active; an archived phase can be named here to re-render its chart). Output: the phase'sartefactpath fromroadbook.jsonwhen set (goblin-scout:configure-roadbooksets it), else{project_root}/docs/artefacts/chart-{slug}.html(docs/artefacts/roadmap-{slug}.htmlwhile the file is still the pre-3.0.0roadmaps.json); the command prints where it wrote. On a validation-discrepancy note in the output, still render (the page shows a discrepancy banner) but include the discrepancies in your report. - Open and report.
openthe written file. Report: the file path; milestone and waypoint counts plus done percentage (roadbook.py stats); the unblockedtodowaypoints and the ones on a trail (roadbook.py ready; surfaced directly, no need to open the file); any validation discrepancies.
Notes
- The chart refreshes automatically when
goblin-scout:tend-roadbookruns (recompute --render); invoke this skill for the first render or an on-demand refresh. - Collapse defaults belong to the template, and generated markup never carries an
openattribute by hand. Two sections open by default. The Overview section's own<details>shipsopenin the template, so the headline and progress cards are the first thing a reader sees. A tier group's<details>opens by computation, never by hand:roadbook.py'soverview_layout()marks it open only once its tier itself is open (every milestone in every lower tier isdone) and it holds a ready or in-progress waypoint; see roadbook-conventions.md's Milestone sort and tier grouping section. Everything else defaults to closed: every milestone<details>and, inside each milestone, the Blocked, Done and Out of Scope status groups (each a<details>whose heading carries its waypoint count). Never hand-edit anopenattribute in a generated file; a different default is a template change. - The dependency graph's direction (
TD/LR) is chosen per render byroadbook.py'schoose_direction(), from the same live nodes/edges the diagram draws. The diagram shell has no height cap (a tall diagram just makes the page scroll), so this is a width-only comparison against the real layout column's width: whichever direction lays the widest layer or the longest chain out narrower wins, a tie keepsTD. A long thin chain picksTD(one node wide); a wide fan picksLR(spread across ranks instead of side by side). Never hardcode a direction in the template; a different choice belongs inchoose_direction()'s constants. - Sections, palette and behaviour live in the template. To change the chart's look, edit
templates/chart.html; to change status colours, change the canonical table (STATUS_STYLEinroadbook.py+ the conventions reference); never patch a generated file. - The chart is generated in the CLI's own canonical form (tabs, single-line JSON payload); Prettier's form would differ. A repo that runs Prettier (or another formatter) in a pre-commit hook or CI should exclude it: add
docs/artefacts/chart-*.html(anddocs/artefacts/roadmap-*.htmlin a project that predates 3.0.0, whose chart keeps its old path) to.prettierignore, the same way.claude/roadbook.json(or.claude/roadmaps.json) is already excluded, so regenerating the chart never fights the formatter. - The template follows a fixed artefact contract (theme-sourced palette, IBM Plex Mono/Sans pairing, the three-state light/dark/explicit-toggle contract with its masthead toggle control, collapsible milestone
<details>closed by default). Any future template edit should stay inside that contract rather than drift from it: the template is the one place to fix a divergence, never a generated file.