/splash:chart-beatfrom splash
Writes a bespoke chart component under a strict doctrine, renders it as SVG/PNG, and validates the visual output. For static chart beats with a closed storyboard brief.
Ships in splash. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The chart craft skill. It does not hold a chart type and it does not fill a config: it holds the
doctrine a chart beat is written under (references/static-discipline.md), one seed that
demonstrates the wiring (assets/ChartSeed.tsx, marked REPLACE ME. Do not parameterise me.),
and the render step that turns a React element into an SVG and a PNG on disk
(scripts/render-still.mjs).
The PNG exists to be looked at. That is the point of the whole skill: the checklist in
static-discipline.md applies to pixels, and a beat is not finished because its tests are green.
Rendering the seed on a light ground and a dark ground is what caught this file's own first
defect — a gap note that shouted louder than its subject.
SP1 scope: the static format only. Interactive and video chart beats are later sub-projects.
renderStill is the first rung of the render ladder; the rungs above it do not exist yet.
STORYBOARD.md has medium chart and format static, and
the beat's BRIEF.md has been written. No brief, no code.A beat is DIRECTED when it goes through a filed art direction, and every type sheet in
references/types/ now names a directed beat you can read before writing yours. The base is not
a style guide and not a theme: it is a set of measured records, and it ships with the root.
What arrives at #shared/design-base/:
filedDirections() — the three filed directions, parsed. A direction carries a ground, an
accent, six registers (display, eyebrow, body, axis, annot, value) and a stroke set,
and every one of them was measured on a published graphic, not chosen.resolveDirectionFamilies(direction, textPerRegister) — fits each register's family ladder to
the glyphs THIS beat actually sets. Hand it every string the plate will draw, per register: a face
that cannot cover a character the copy contains is refused before it can ship a tofu box.composeDirections({ newsroom, filed, beat, textPerRegister }) + report(...) — which
pairings hold up for this beat, and which were refused and why. Print the report; it is the record
of what was available, and the journalist is entitled to it.And from the runtime already beside this skill:
beatFacts(data, options) + applicableTreatments(facts) (#shared/chart-beat/treatments.mjs)
— the arbiter. It reads the beat's own data and answers which filed treatments apply to it. A
treatment is not a preference: each is carried by two independent publications, and
docs/design-base/treatments/<id>.md in the twin is the record.resolveRegister(direction, name) + applyCase (#shared/chart-beat/registers.mjs) — the
register a run is set in, resolved against the chosen direction.registerOf(direction, name) + leadOf(r) / gapOf(r, n) (#shared/design-base/register.mjs)
— how a STATIC beat resolves its registers: sized to its role's cap height and set on its face's
own line. Every lead is leadOf(r) and every block gap gapOf(r, n) — never fontSize * <literal>,
which is the same number on every face.Three rules that are not negotiable, because a guard fails on each of them:
renders/ (plural). A component that only
holds together on one ground has hard-coded something it should have derived, and the second
direction is what proves it did not.PALETTE.md.grounded-by-hand reason.Where the records live in the twin, when you need to argue with one:
docs/design-base/CATALOGUE.md (which forms have a directed beat, measured off the tree),
docs/design-base/treatments/ (one sheet per filed treatment, both ways against the code),
docs/design-base/references/ (the harvested pieces every rule came from), and
docs/design-base/METHOD.md (the runbook, and every correction the base has had to make).
A hex you can grep is not a colour anybody rendered, and a test that greps for one proves
nothing. The two colour tests here look like duplicates and are not: should not render a colour that was hard-coded is a blacklist (it only catches the two greys somebody typed last time), while
should paint only with the ground, its derived furniture and the one accent collects every hex in
the markup and refuses anything outside the derived set. Only the second one fails when a new
hard-coded colour appears. If you add a colour test, add it in the second shape.
The same trap one level up: contrast is measured against the real ground, never against an
assumed white, and the ink pole is chosen by measuring both poles, never by a luminance
threshold — luminance > 0.5 picks white on #808080, where black measures 5.32:1 and white
measures 3.95:1. A mid-grey newsroom ground is exactly where the obvious rule is wrong.
What the journalist retained at Gate 2 is readable by code at every later step, and a step that
stops reading it breaks a named test rather than degrading quietly. Spec: docs/editorial-chain.md.
One art direction per run, and this skill never composes a second. DIRECTION.md sits at
the story root beside PALETTE.md, composed once from NEWSROOM.md and the subject
(composeRunDirection / readRunDirection, shared/design-base/run-direction.mjs) and
inherited by all four exports. The scaffold REFUSES before writing anything when it is not
reachable, naming the command that produces it — assertRunDirection, the same shape as the
PALETTE.md refusal. --filed is the catalogue-only escape, for a proof that deliberately
renders the three filed demo directions.
The type sheet becomes a frame, never a choreography. choreographyFrame
(shared/editorial/frame.mjs), through this skill's own chainFrameFor, reads
references/types/<type>.md into the export's required shape, the type's gesture vocabulary
(OPEN — an unlisted atom is an addition the sheet owes) and its prohibitions, each citable by
id. It returns no rows, no cards and no shots: a static beat's choreography — the reading order within one composed frame — choreographed in space, not in time, and never "none" — is
AUTHORED, per subject.
The scaffold writes both sections EMPTY. withChainSections puts the table's headers and
the frame quoted as a comment into BRIEF.md, with no rows and no value block, and
scaffoldRequirements (scripts/precision.mjs) lists what
requiredAssertions already fixes from the type and the format. The two the journalist answers
at G1 — the claim's shape and its grounding — are named as owed, never guessed. A scaffold that
pre-filled a row would be the clone factory this chain exists to prevent.
The beat's author fills the table; the harvest reads it back.
bun scripts/migrate-briefs.mjs --harvest --beat <dir> runs parseChoreography and
parsePrecision (scripts/choreography.mjs, scripts/precision.mjs) over what the
beat now declares, writes the two splash: value blocks into those same sections and adds
derived: v1 to the front matter. Nothing already written is edited, reflowed or translated.
Two corpus guards then hold it. checkChoreography and checkPrecision — reachable
through the scaffold, which re-exports both — back
skills/splash/test/a-choreography-is-declared-and-its-own.test.ts and
skills/splash/test/precision-covers-what-the-chain-requires.test.ts, which run over every beat
carrying derived: v1. They assert that a choreography is declared, that it is this beat's own
and not its type's worked example, and that it violates none of its type's stated prohibitions.
They never compare it to an expected choreography.
| Layer | File | Role |
|---|---|---|
| Doctrine | references/static-discipline.md | The rules a static beat is written under — one accent, derived furniture, an honest scale (zero is a rule about bars, not about lines), sparse ticks, measured gutters, gaps shown not bridged, no root <title> |
| Doctrine | references/seed-anatomy.md | What the seed teaches and what it refuses to become |
| Seed | assets/ChartSeed.tsx | One beat, written out: lineGeometry (pure), yTickValues (pure), and the component. Replaced per story |
| Sample | assets/sample-data/rainfall.json | Eleven readings, one of them genuinely missing, so the seed has to show how a hole is handled |
| Preview | assets/preview.png | The seed rendered on a light ground at landscape — what this skill produces, without running it |
| Sizes | scripts/sizes.mjs | SIZES + sizeFor — the three export sizes R2 names, carried not imported, walked by splash/test/size-table-parity.test.ts |
| Render | scripts/render-still.mjs | deriveFurniture, contrast, measureText, renderStill |
| Annotation | scripts/annotation-ink.mjs | marksUnder, inkThatReadsOver, assertAnnotationReadsOverMarks — an annotation's ink measured against the MARKS it is drawn over, not against the page |
scripts/render-still.mjs is the twin's one script with dependencies — react-dom/server and
@resvg/resvg-js, both from the root's own package.json — and its header says so.
The seed itself imports three more from that same package.json: d3-scale, d3-array and
d3-shape. They are primitives, not a chart library — a scale, a tick generator and a path
generator, none of which knows a colour, a label or a chart type. Fitting a scale and choosing
ticks by hand is how this skill shipped an axis running -45 to 105 on data spanning -3,4 to 84
(references/static-discipline.md). A beat writes its own component, and it writes it on these.
A beat does not import this file from here. render-still.mjs and inspect-render.mjs are the
mechanism — nobody rewrites them per story — so splash's root template vendors a physical
copy of both into every fresh Splash root, at <root>/shared/chart-beat/, checked in so the
plain cp -r root-template/ install already carries them (docs: splash/SKILL.md
Architecture). A beat component, however deep under stories/<slug>/beats/<n>-<name>/, imports the
installed copy by the root's own #shared/* subpath import, never a path into this or any other
repository — see Quick start below. splash's preflight fails loud, naming the missing file,
if a root's packages resolve but its vendored shared/ copy does not exist (a gap reproduced by
three independent trial agents). The seed
(assets/ChartSeed.tsx) is not part of this vendoring: it stays here, read as documentation, never
copied into a root and never imported by a beat — see "How it works" step 1 and
references/seed-anatomy.md.
Rasteriser: @resvg/resvg-js, decided by running both candidates on the same SVG and looking
at the two PNGs. Both rendered text correctly with this machine's fonts; a headless browser needs a
Chrome that puppeteer could not find on a clean install, and only worked when pointed at the
system /Applications/Google Chrome.app — a prerequisite a journalist's laptop may not have, which
the preflight would then have to ask for. resvg installs with the root, renders in milliseconds,
and exposes getBBox(), which is what makes a measured gutter possible at all.
Each sheet states what the type argues, its reading stations in one composed frame, what a composition of this type must NOT do, the precision to assert, the devices its worked example implements and the worked example's own CODE.
| type | sheet | static worked example |
|---|---|---|
| Area (and stacked area) | references/types/area.md | proof/static-area-swiss-co2 |
| Bar and column | references/types/bar-and-column.md | proof/static-bar-top-emitters-2024 |
| Beeswarm | references/types/beeswarm.md | proof/static-beeswarm-co2-per-person |
| Box plot | references/types/boxplot.md | proof/more-boxplot-france-co2-decades |
| Bullet | references/types/bullet.md | proof/static-bullet-low-carbon-share |
| Bump (ranking-over-time) | references/types/bump.md | proof/static-bump-emitter-rank |
| Calendar heatmap | references/types/calendar-heatmap.md | proof/static-calendar-heatmap-geneva |
| Connected scatter | references/types/connected-scatter.md | proof/static-connected-scatter-lowcarbon |
| Diverging bar | references/types/diverging-bar.md | proof/static-diverging-bar-eu-per-capita |
| Diverging stacked bar (Likert) | references/types/diverging-stacked-bar.md | proof/static-diverging-stacked-electricity |
| Dot strip | references/types/dot-strip.md | proof/static-dot-strip-lowcarbon-spread |
| Dumbbell (range plot) | references/types/dumbbell.md | proof/more-dumbbell-life-expectancy-gains |
| Gantt | references/types/gantt.md | proof/static-gantt-top-ten-tenure |
| Grouped bar | references/types/grouped-bar.md | proof/static-wind-vs-solar |
| Heatmap (matrix) | references/types/heatmap.md | proof/static-heatmap-europe-electricity |
| Histogram | references/types/histogram.md | proof/static-carbon-footprint-spread |
| Line | references/types/line.md | proof/co2-suisse |
| Lollipop | references/types/lollipop.md | proof/static-lollipop-co2-per-person |
| Marimekko (mosaic plot) | references/types/marimekko.md | proof/static-marimekko-electricity-mix |
| Parallel coordinates | references/types/parallel-coordinates.md | proof/static-parallel-coordinates-electricity-mix |
| Pictogram (isotype) | references/types/pictogram.md | proof/static-pictogram-europe-lowcarbon |
| Pie and donut | references/types/pie-and-donut.md | proof/static-donut-world-co2-share |
| Population pyramid | references/types/population-pyramid.md | proof/static-swiss-age-pyramid |
| Radar (spider) | references/types/radar.md | proof/static-radar-electricity-mix |
| Sankey | references/types/sankey.md | proof/static-sankey-electricity-sources |
| Scatter (and bubble) | references/types/scatter.md | proof/static-income-life-expectancy |
| Slope (slopegraph) | references/types/slope.md | proof/static-slope-europe-lowcarbon |
| Small multiples | references/types/small-multiples.md | proof/static-small-multiples-lowcarbon |
| Stacked bar | references/types/stacked-bar.md | proof/static-stacked-bar-lowcarbon-growth |
| Streamgraph | references/types/streamgraph.md | proof/static-streamgraph-swiss-electricity |
| Treemap | references/types/treemap.md | proof/static-treemap-europe-capacity |
| Waterfall (bridge) | references/types/waterfall.md | proof/static-germany-electricity-bridge |
PALETTE.md (ground/accent/origin: newsroom|subject|journalist, skills/palette/SKILL.md)
must already be reachable at or above the beat before scaffolding — the scaffold refuses before
writing anything otherwise.deriveFurniture(ground) gives ink, muted and grid. The
component names the ground and the accent it was handed, and no other colour.measureText lays out the real string in the real font; the right gutter
is the end label's width, the left gutter the widest tick label's. Never a constant.sizeFor(size) (scripts/sizes.mjs) returns the frame and
the type scale for one of the three export sizes ruling R2 names — landscape, square, portrait —
and throws naming all three when handed anything else, the same way readPalette throws
rather than defaulting. The size is chosen at gate 2c and recorded on the slot. Everything the
component spaces, not only what it types, is that scale times its BASE value.renderStill writes <name>.svg and <name>.png at 2×. It refuses to rasterise at a size
the element was not drawn at — scaling would keep every measured gutter correct and make every
font size a lie. (The 2× is on its way out — references/static-discipline.md, "the frame IS
the delivered pixel size", records the measurement that settled it. It retires in the same step
that moves the seventeen written beats onto sizeFor, because removing it while their frames are
still 900×560 would ship 900px stills. The seed's own preview already renders 1:1.)output-proof/sizes/ is the seed at all three, and producing them is
what caught a gap note whose fontSize stayed at 12 while everything around it grew — nothing
collided, nothing clipped, and it was obvious the moment the file was opened.
Before the beat is surfaced for approval (G3), apply
doctrine's design rubric (doctrine/references/design-rubric.md) to the pixels: mark
contrast at 3:1, text at 4.5:1, zero-baseline honesty for length-encoded marks, annotation ink
measured over what it crosses, one accent carrying the subject. Each criterion is PASS or FAIL
with its measurement named — a FAIL is fixed before the journalist is asked, never presented
as a question.Prerequisite — PALETTE.md must already be recorded, a journalist decision from skills/palette
(once NEWSROOM.md is resolved), never defaulted here. The scaffolded runner refuses immediately, by
name, when it is missing.
references/types/ and read its sheet: what it argues, the one thing
that goes wrong, and its ## Worked example — the validated beat this type adapts from.bun skills/chart-beat/scripts/scaffold-static-beat.mjs --type <type> --beat proof/static-<subject> --component <PascalName>. By default it copies the type sheet's own worked example (its
render-directions.mjs and Directed<Type>.tsx), renamed, and rewrites the "render all three
filed directions unconditionally" plumbing every hand-written static beat still carries into the
composed-direction-default convention chart-video/chart-web/scrolly already use (below).
--from <beat> adapts a named beat instead; --generic writes the old fully empty stub, required
only for a type whose sheet names no worked example yet. Works into a beat folder that may already
exist (analyst's data.json/DATA-NOTES.md, written first); refuses only an unknown --type, a
--beat not under proof/ (or a story's beats/), a real file collision, or a PALETTE.md it
cannot reach.grep -rn SCAFFOLD <beat> finds every
region. Data missing beside the beat that the worked example's own reader assumes (its data.csv
or similar) is named and refused before anything is written.bun <beat>/render-directions.mjs — on the ground the newsroom actually
uses, at the size it will actually ship at (step 7 of "How it works" above).doctrine's design rubric to the pixels (above).ONE ART DIRECTION IN A PRODUCTION RUN, not the three filed demo directions: the scaffolded runner
composes one from the beat's own PALETTE.md and text (composeDirections,
#shared/design-base/index.mjs) and renders only that by default. --filed renders creme,
nocturne, rapport instead — a catalogue or demo proof, never a production render.
This is what a real beat, written into an installed Splash root, actually imports —
stories/annemasse-rain/beats/1-rainfall/RainfallLine.tsx:
import { createElement } from "react";
import { renderStill, readPalette } from "#shared/chart-beat/render-still.mjs";
import rainfall from "./data.json";
// The two colours the journalist chose, read back from the `PALETTE.md` that `palette`
// proposed and they answered. Never hex literals here: a beat that names its own colours is a
// beat that ignores the newsroom's charter, however carefully the charter was collected. If no
// `PALETTE.md` exists at or above this beat, this THROWS and names every directory it searched —
// rendering in a colour nobody chose is the failure it exists to prevent.
const { ground, accent } = readPalette(import.meta.dirname, { stopAt: process.cwd() });
// RainfallAnnemasse is THIS beat's own component, written from the seed's shape — not imported
// from it. See "How it works" step 1: read `assets/ChartSeed.tsx`, then write this file fresh.
const { svgPath, pngPath } = await renderStill({
element: createElement(RainfallAnnemasse, {
data: rainfall,
title: "Rainfall over Annemasse fell by a third", // the journalist's words
source: "MeteoSwiss, as of 31 May 2026", // their credit, their effective date
alt: "A line falling from 912 mm in 2015 to 604 mm in 2025.",
ground: "#FFFFFF", // from NEWSROOM.md
accent: "#0B7A75", // from NEWSROOM.md
subject: "Annemasse", // the subject the journalist named
}),
width: 900,
height: 560,
outDir: "renders",
name: "still",
});
// Now open pngPath and look at it.
#shared/chart-beat/render-still.mjs resolves through the root's own package.json
("imports": {"#shared/*": "./shared/*"}) to <root>/shared/chart-beat/render-still.mjs —
the same specifier no matter how deep the beat sits, and never a path that reaches outside the
root. Inside this repository, assets/ChartSeed.tsx still imports ../scripts/render-still.mjs
by an ordinary relative path — that import is for this skill's own tests
(test/render-still.test.ts) and is never what a beat in a Splash root writes.
| Want | Knob | Where |
|---|---|---|
| The contrast floor muted text must clear against the ground | 4.5 | deriveFurniture, render-still.mjs |
| The floor a dashed rule, leader or other NON-text annotation must clear against every mark it crosses (SC 1.4.11) | 3 (NON_TEXT_CONTRAST_FLOOR) | annotation-ink.mjs |
| The floor an annotation's TEXT must clear against every mark it sits on (SC 1.4.3) | 4.5 (TEXT_CONTRAST_FLOOR), relaxed to 3 (LARGE_TEXT_CONTRAST_FLOOR) at 24 px, or 18.66 px bold | annotation-ink.mjs |
| How far muted starts from the ground, before escalation | 0.62 (steps of 1/50 up to the ink) | deriveFurniture |
| How loud the gridlines are | 0.18 of the way from ground to ink | deriveFurniture |
| How closely the still survives being looked at | 2 (raster scale) | rasterise, render-still.mjs |
| The three export sizes, and the type/spacing scale each one draws at | SIZES (landscape 1920×1080, square 1080×1080, portrait 1080×1920) | sizes.mjs |
| The 900×560 tokens a size multiplies — type AND every spacing number | BASE (PAD 40, TITLE 26/34, X_TICK_DROP 24, …) | BASE, ChartSeed.tsx |
| The margin around everything, at typeScale 1 | 40 (PAD) | BASE, ChartSeed.tsx |
| Title size and line spacing, at typeScale 1 | 26 / 34 | TITLE, ChartSeed.tsx |
| How many y gridlines a static frame asks for (d3 treats it as a hint) | 5 (Y_TICK_HINT) | yTickValues, ChartSeed.tsx |
How many x ticks tickStep derives a round interval from (decade on a 75-year span, 5-year on a 35-year one) | 6 (X_TICK_HINT) | xTickValues, ChartSeed.tsx |
| Decimal places kept in the traced path | 1 (line.digits) | lineGeometry, ChartSeed.tsx |
| The air between the end label and the plot | 10 px, on top of a measured gutter of 12 | ChartSeed.tsx |
| Readings below which the beat refuses to draw | 2 | ChartSeed.tsx |
TYPEFACE.md — the face this skill draws in, and a REQUIRED gate: a render refuses without
one. readTypeface walks up from the beat's own directory, so a story root's own
TYPEFACE.md overrides this skill's; useTypeface then puts the answer in force before
anything is laid out. origin records WHO chose — newsroom or journalist means somebody
did, default means nobody did and the stack is the substrate's own.
Two things about it are load-bearing and neither is obvious. A newsroom's face is proposed,
never imposed: newsroom-charter measures what a newsroom publishes in and NEWSROOM.md
records it, but the journalist decides whether the graphic uses it, and origin is where that
decision is kept. A face that cannot be resolved is refused, never substituted: resvg,
Chrome and Canvas measureText all render a fallback for a family they cannot find and report
nothing, so useTypeface lays a probe string out in the recorded family and in a family that
exists nowhere and refuses when the two produce identical ink. A journalist told "this machine
does not have Marr Sans" has chosen; a silent stack has not.
This file's own prose says all of that and said it only to itself: no SKILL.md mentioned
TYPEFACE.md at all, so the first an author heard of the gate was a render stopping — after
preflight, intake, G1, the storyboard exchange, the palette gate, the analyst and the bake.
The refusal names what to do, but it arrives phases after the point where a journalist should
have been asked, and after the expensive work.
Which formats require it: every skill whose render path calls useTypeface — chart-beat,
chart-web and image-beat (scripts/render-preview.mjs), scrolly (render-preview.mjs, whose
drawn frame is rasterised), chart-video (render-preview.mjs, render-video.mjs) and map-beat
(render-preview.mjs, render-map.mjs). map-web carries a TYPEFACE.md but none of its scripts
calls useTypeface; dw-beat lays out type server-side.
Still open, and deliberately not fixed here: the typeface has no gate POSITION the way the
palette does. Movement (9) of references/exchange.md is titled "The palette and the typeface"
and asks only about colour, so the honest common case for a real newsroom — measured faces that
are not installed on this machine — is a refusal nobody was given the chance to answer. That
wants a proposal with availability measured, next to the palette's, and it should land with
issue #41.
references/static-discipline.md — the rules, each one attached to the defect that produced it.
references/types/ — sixteen prose sheets, one per chart type, harvested from the sibling parameterised engine and read before writing that type's beat; see its own README.md for what is covered and what is not.
references/seed-anatomy.md — what the seed teaches, and what adding a prop to it would cost.
references/svg-xmlns-requirement.md — the SVG namespace declaration required by the rasteriser; without it, rendering fails with a misleading error about document structure.
assets/ChartSeed.tsx — the seed. lineGeometry and yTickValues are pure and exported. Read
here, in this repository, to learn the shape — not vendored into a Splash root and never
imported by a beat; a beat writes its own component from scratch, in this shape.
assets/sample-data/rainfall.json — eleven readings, one missing — the seed's data.
assets/preview.png — the seed rendered on a light ground, so a reader of this skill sees what
it produces without running anything. Regenerate with bun scripts/render-preview.mjs whenever the seed changes.
output-proof/preview.png — the artifact this skill's seed produces from this skill's own sample
data — regenerated by bun scripts/render-preview.mjs --out output-proof.
output-proof/sizes/ — the same seed at all three export sizes, produced by
bun scripts/render-preview.mjs --size <name> and opened. Kept because the three-size claim is
the one a suite cannot make: the run that produced these is what caught the gap note's bare
fontSize={12} staying at 12 while everything around it grew — a defect that collided with
nothing, was clipped by nothing, and was visible immediately.
scripts/sizes.mjs — SIZES and sizeFor. The three export sizes ruling R2 names, carried (not
imported) by each craft skill that needs them, mirrored at shared/chart-beat/sizes.mjs
because proof/ beats reach craft helpers through #shared/*. Kept in step by
splash/test/size-table-parity.test.ts, which walks the tree rather than taking a list, and
which deliberately does NOT compare typeScale — see its header for why, and for the mutation it
records as green on purpose.
scripts/render-still.mjs — deriveFurniture, contrast, measureText, renderStill. The
canonical copy. Vendored (physical copy, not a symlink or a workspace dependency) by
splash's root template at assets/root-template/shared/chart-beat/render-still.mjs
— that vendored copy, not this one, is what an installed beat actually imports, via
#shared/chart-beat/render-still.mjs. splash/test/carried-copies.test.ts
guards the two copies from drifting apart.
scripts/annotation-ink.mjs — NON_TEXT_CONTRAST_FLOOR, TEXT_CONTRAST_FLOOR,
textContrastFloor, inkBox, overlaps, marksUnder, worstContrast,
assertAnnotationReadsOverMarks, inkThatReadsOver. deriveFurniture answers "what ink reads on
this newsroom's GROUND"; this answers the other question, the one an annotation actually poses —
what ink reads on the MARK it is drawn over. Measured before it existed: the carbon histogram's
median rule at 1.20:1 against the bar it spends 97 % of its length inside, the Swiss pyramid's
peak callout at 4.05:1 with 57 % of its ink box on a #0072B2 band, and 21 of the 32 dashed
rules in the corpus that cross a mark at all under the 3:1 floor. Vendored the same way as
render-still.mjs, at shared/chart-beat/ and
assets/root-template/shared/chart-beat/; splash/test/carried-copies.test.ts
walks the tree for the // twin/ line rather than taking a list, so a fourth copy is guarded the
day it lands. What reads the ARTIFACT rather than the arithmetic is
splash/test/annotation-reads-over-what-it-crosses.test.ts, which parses every committed
static SVG and measures what is really under each dashed rule and each line of text — by sampling
at pixel centres strictly inside the mark, never at its endpoints, because a waterfall's connector
meets the bars it joins at a point of zero width and an endpoint-sampling guard reports four
defects that are not there.
scripts/render-preview.mjs — renders the seed to PNG; accepts --out <dir> to write the proof
to that directory instead of assets/preview.png.
scripts/inspect-render.mjs — inspectSvg: contrast against the real ground, alt-text
presence, root <title> leakage. Vendored the same way, alongside render-still.mjs, at
assets/root-template/shared/chart-beat/inspect-render.mjs.
scripts/scaffold-static-beat.mjs — the plumbing scaffold ("Producing a beat in a run" above):
--from/default adapts a type's own worked example, --generic the empty stub
(assets/static-beat-scaffold/*.tmpl).
scripts/static-plumbing.mjs — paletteReachable/paletteRefusalMessage (the PALETTE.md
prerequisite, checked at scaffold time), requiredLocalAssets/missingAssetsMessage (a worked
example's own frozen data, refused when missing beside the new beat), composedDirectionDefault
(rewrites a copied worked example's "render all three filed directions" loop into the ONE
composed direction by default / --filed convention), markDividers/markBefore (the SCAFFOLD:
banners). Its own copy backs map-beat's static scaffold too (skills never import across a skill
boundary at runtime).
test/scaffold-static-beat.test.ts — --generic parses and refuses to render with a named
SCAFFOLD error before drawing anything; the default --from path marks every subject-specific
region SCAFFOLD and rewrites the composed-direction default; a real file collision and an
unreachable PALETTE.md both refuse before writing anything.
test/annotation-ink.test.ts — the arithmetic above, on real pairs out of this corpus, with the
two mutations that redden it printed in its header.
test/render-still.test.ts — bun:test coverage: the ink pole on a mid grey, the muted contrast
floor on six grounds, the gap that breaks the line, the fitted scale and its zero floors, the
gap note centred between the readings it separates, the closed palette, the
measured gutter under a name long enough to break a constant, and the alt text as <desc>.
PALETTE.md (opens in a new tab)TYPEFACE.md (opens in a new tab)assets/ChartSeed.tsx (opens in a new tab)assets/preview.png (opens in a new tab)assets/sample-data/rainfall.json (opens in a new tab)assets/static-beat-scaffold/BRIEF.md.tmpl (opens in a new tab)assets/static-beat-scaffold/DirectedChart.tsx.tmpl (opens in a new tab)assets/static-beat-scaffold/render-directions.mjs.tmpl (opens in a new tab)assets/wrap.ts (opens in a new tab)output-proof/preview.png (opens in a new tab)output-proof/sizes/landscape.png (opens in a new tab)output-proof/sizes/portrait.png (opens in a new tab)output-proof/sizes/square.png (opens in a new tab)references/seed-anatomy.md (opens in a new tab)references/static-discipline.md (opens in a new tab)references/svg-xmlns-requirement.md (opens in a new tab)references/types/README.md (opens in a new tab)references/types/area.md (opens in a new tab)references/types/bar-and-column.md (opens in a new tab)references/types/beeswarm.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub buriedsignals/splash --plugin splash17 skills in this plugin
/analystUse at the top of Splash production, per beat and before any craft skill — reads the closed STORYBOARD slot, the frozen profile, and the frozen data, and writes the chart-ready beats/<id>/data.json plus DATA-NOTES.md. Refuses, writing nothing, when Gate 2 is unclosed for the slot or the frozen sources are missing or no longer agree./chart-videoUse to produce a chart beat in the VIDEO format — a directed motion piece (title card, an argument told in shots, the whole chart at the end) written under the owner's choreography rules and one editable timing contract, measured in Bun and verified by looking at rendered frames before the mp4. Carries the directed-video path (rules, 32 type sheets, the shared shot helpers), the timing contract, the seed composition, and the render ladder's second rung./Other plugins' skills for the same job