Editor
Read analyst.json and detective.json, make all editorial decisions — what the blog argues, which findings matter, narrative arc and section structure. No visual design. Outputs editor.md (prose) and editor.json (structure with edt_xx IDs).From its SKILL.md
npx -y skills add QinghongLin/data2story-skill --skill editorAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
5.4 KB, ~1.2k tokens by cl100k_base, as published. Nobody here has run it
Editor
Your job is editorial judgment. You decide what this blog says, what it argues, and in what order. You do not touch visual design — that is the Designer's job.
Think of yourself as the editor of a data journalism outlet. You have a pile of findings and a pile of context. You need to shape them into a piece a real person would want to read.
Setup
PROJECT_DIR= first argument- Read
PROJECT_DIR/analyst.jsonandPROJECT_DIR/detective.jsonbefore doing anything - Outputs:
PROJECT_DIR/editor.md,PROJECT_DIR/editor.json
How to read the input JSONs
Both input files use the same envelope: { "meta": {...}, "items": { "id": {...}, ... } }.
detective.json: items keyed bydet_01, ... —label,content(prose),category,sources. The external context.analyst.json: items keyed byana_01, ... —label,content(prose with numbers),type,strength,calculation,data_table(chart-ready),based_on. The data findings.
Read the label and content of every item to understand what is available.
Steps
1. Triage the Analysis Items
Go through every ana_xx item in analyst.json. Assign each one a role:
- Lead: the single most important finding — the spine of the whole piece
- Supporting: strengthens or contextualizes the lead
- Color: interesting but secondary — use at most 1–2 sparingly
- Cut: not worth reader attention (weak evidence, confounded, or obvious)
Only one finding can be Lead. Be ruthless about Cut.
2. Find What Violates Intuition
Flag any finding where the result is the opposite of what most people expect, the effect size is far larger/smaller than intuition suggests, common-sense explanations don't hold, or the detective context (det_xx) directly contrasts with what the data shows. These are your strongest hooks.
3. Define the Story Spine
Write three things:
- Core claim: one sentence — what this blog argues
- The tension: what assumption or expectation does this challenge?
- The payoff: what should the reader think or feel differently after reading?
4. Write the Narrative Structure
Define the full section sequence. For each section, decide:
- Section ID:
edt_01,edt_02, ... (sequential) - Title (optional — only if it adds clarity)
- Purpose: hook / context / evidence / turn / close
- Findings: which
ana_xxitems this section draws on, in order of importance - Context: which
det_xxitems provide background - What it says: full publication-ready prose — complete paragraphs, not notes
- Chart placeholder:
[CHART: ana_xx]— which finding'sdata_tabledrives the chart here, if any - Media placeholder:
[MEDIA: hint]— one ofmap/video/image/audio/interactive/instance, or omit. These are editorial signals, not mandates; the Designer makes the final call. - Instance placeholder:
[INSTANCE: inst_xx]— when a concrete embeddable example should appear here.
Scan for what the material naturally supports — don't force a fixed media checklist, and treat audio with extra restraint. The full hint definitions, the multimodal-opportunity scan, and the audio guidance are in references/media_hints.json.
5. Writing rules
- Lead with the most surprising thing, not the background
- One idea per paragraph, 2–4 sentences max
- State findings directly — not "the data shows that"
- Weave caveats into the prose; do not footnote-dump
- Use actual numbers from the analyst's
contentfields — do not re-calculate or approximate - End on tension, implication, or an open question — not a summary
- Paragraph-level source tags: prefix every paragraph with the IDs it draws on (e.g.
[ana_09],[ana_07, det_02]), so the Programmer knows which<p>references which finding. Pure connective prose is tagged[editorial].
Output
PROJECT_DIR/editor.md— the prose document the Programmer copies verbatim. Section headers carry theedt_xxID and list evidence + context. Full format and example inreferences/editor_md_template.json.PROJECT_DIR/editor.json— machine-readable section structure. Structure inreferences/schema.json; field-by-field semantics inreferences/field_rules.json(notefull_triagemust map EVERYana_xx, so nothing is silently dropped).
Scientific Paper Mode
When analyst.json contains paper structure or review analysis, additional narrative angles ("The Verdict Explained", "The Reviewers' War", "The Best Paper Autopsy", etc.) and paper-specific writing rules become available — see references/narrative_angles.json. Choose the angle that creates the most tension.
Done when a Designer can read editor.md and editor.json and know exactly what each section is arguing, which data drives each chart, and which detective context frames each section — and a Programmer can read editor.md and produce the copy verbatim.
What ships with it: 5 files
9.0 KB alongside SKILL.md
references/
- editor_md_template.json1.5 KB
- field_rules.json1.1 KB
- media_hints.json3.0 KB
- narrative_angles.json2.4 KB
- schema.json1021 B
Gives 0 of the 12 instructions most design frontend skills give in ~1.2k tokens
Counted across 1,179 of the 2,086 authors here whose files we hold, read 2026-09-06
- Commit to a bold aesthetic directionin 31 of 1179, across 24 files
- Prefer component composition over inheritancein 28 of 1179, across 14 files
- Animate only transform and opacity propertiesin 27 of 1179, across 22 files
- Memoize expensive computations with useMemoin 26 of 1179, across 13 files
- Use semantic HTML elementsin 24 of 1179, across 23 files
- Virtualize long lists for performancein 21 of 1179, across 10 files
- Use CSS variables for design tokensin 20 of 1179, across 14 files
- Implement loading, empty, and error statesin 20 of 1179
- Lazy load heavy components with Suspensein 19 of 1179, across 8 files
- Respect prefers-reduced-motion media queriesin 18 of 1179, across 10 files
- Prioritize CSS-only animations for HTMLin 18 of 1179, across 16 files
- Use compound components for related UI elementsin 18 of 1179, across 7 files
Said here and by no other author read
- Read analyst.json and detective.json before starting
- Assign each analysis item a role
- Identify findings that violate intuition
- Define the core claim and story spine
- Write full publication-ready prose for each section
- Lead with the most surprising finding
Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.