Harbor Book Rewriter
Rewrite the Book as a book. The unit of judgment is the assembled 7×10-inch
volume, not an isolated .tex fragment and not a standalone chapter PDF.
The reader should be able to enter through a concrete failure, understand one
worked instance, see the formal claim arrive as the name for what they just
understood, inspect the proof at their chosen depth, and leave knowing exactly
where the result stops. Figures, captions, marginalia, examples, and prose are
one argument—not separate production tracks.
Non-negotiable Book contract
- Build only the assembled Book. Chapter PDFs are retired. Shared source
must survive the Book generator and the Book preamble.
- Share the grammar. Typography, theorem kinds, captions, marginalia,
plots, arrows, UML, sample transcripts, and exercise treatments belong in
shared macros or styles whenever two chapters need them.
- Judge the printed size. A source-level lint pass is not visual approval.
Inspect the rendered Book page or a contact sheet at 100%.
- Assume every legacy figure is suspect. Preserve its information, not
its accidents. A passing compile does not prove the figure communicates.
- Never silently change epistemic status. A theorem, design invariant,
bounded model-check result, and empirical hypothesis are different kinds.
- Do not use the local Port Daddy runtime. Ordinary Git, hosted CI, and
native collaboration are sufficient for this work.
The governing reader model
The Book serves two readers on the same page:
- The newcomer needs a scene, a worked example, local definitions, and a
visible path through the machinery.
- The expert needs a short route to the claim, assumptions, proof idea,
boundary, and evidence without being trapped inside tutorial prose.
Do not average these readers into one muddy middle. Build an express lane:
the claim and proof structure remain skimmable while examples and asides are
visibly optional. This is the practical consequence of the worked-example and
expertise-reversal effects.
Synthetic personas are pressure tests, not evidence. Use them to find divergent
failure modes; validate expensive or irreversible editorial decisions with
real readers.
Rewrite sequence
Work top-down. Sentence polishing before structural repair wastes time and
usually makes the wrong structure harder to remove.
1. Name the chapter's one obligation
Write one sentence for each:
- Condition: what the reader does not yet understand or cannot yet trust.
- Cost: what breaks, confuses, or becomes unsafe without this chapter.
- Claim: what the chapter establishes.
- Boundary: what the claim does not establish.
- Handoff: what the next chapter must add.
If these cannot be written plainly, stop adding content. The chapter has a
goal problem, not a prose problem.
2. Rebuild the first spread
The first spread should contain, in order:
- proposition-title;
- at most one or two governing epigraphs;
- a concrete failure scene with a number in it;
- the chapter's question in one sentence;
- a short claim with its epistemic kind;
- the three strongest objections;
- the route and the expert express lane;
- one hand-checkable worked example before the first general definition.
Do not open with an abstract, keyword list, estimator catalog, result table,
or notation dump.
3. Build each formal result as a teaching beat
For every major result:
- Situation: a developer, operator, or agent does something recognizable.
- Failure: show the concrete bad outcome and its cost.
- Worked instance: use actual names, paths, values, messages, or commands.
- Intuitive reading: say what should be true before giving it a symbol.
- Local definitions: define only the terms needed for the next claim.
- Formal claim: one crisp statement with explicit assumptions and kind.
- Proof idea: plain English before proof details.
- Proof or evidence: structured, reproducible, and matched to the claim.
- Read-out: translate the result back into the concrete instance.
- Boundary: name one regime where the result fails, is bounded, or is
untested.
Definitions belong immediately beside first use. The name is the punchline for
a mechanism the reader already understands, not an entrance fee.
4. Ground abstractions in modern AI-development scenes
Prefer a stable running example that can recur across chapters. A good scene
contains actors, artifacts, a race or decision, and an observable consequence.
Example shape:
Three agents launched by cron jobs and a prototyping spree simultaneously
edit settings.json. One edit is harmless, one immediately breaks the repo
for another developer, and one survives because no relevant mutation test
existed. The delayed bug is the expensive one.
Do not stop at a cute story. Carry the same actors through the state machine,
sequence diagram, theorem instance, counterexample, and repair. The repeated
surface details lower orientation cost while the mechanism changes.
5. Cut before decorating
Cut or relocate:
- repeated reader maps;
- surveys of alternatives the argument never uses;
- duplicate figures that make the same claim;
- unlabeled philosophical detours;
- definitions whose first use is many pages later;
- captions that repeat the body;
- ornamental theorem labels;
- boxes used only to announce importance.
At most one philosophical or historical Interlude per chapter: named,
bounded, and skippable without losing the argument.
Figure grammar: choose the relation before the style
A figure begins with a reader question and one sentence that the figure makes
easier to know. If neither can be written, do not draw it.
| Reader question |
Preferred grammar |
| What talks to what, and in what order? |
Sequence diagram |
| Who owns each step? |
Swimlane/activity diagram |
| Which states and transitions are legal? |
UML state machine |
| What runs concurrently or over time? |
Gantt/timeline |
| What depends on what? |
Dependency DAG |
| What crosses a trust boundary? |
Component/deployment diagram with explicit boundary |
| What entities and relations persist? |
ERD/olog |
| Where does a threshold change the outcome? |
Regime diagram |
| How does a metric vary? |
Plot on aligned scales |
| How do repeated cases differ? |
Small multiples |
| What exact values matter? |
Table, optionally with sparklines |
| How does one concrete case execute? |
Worked trace or annotated transcript |
Use multiple coordinated figures when one graphic would need to answer
different questions. A sequence diagram and an authority-envelope diagram can
both belong if one explains messages and the other explains attenuation.
Figure composition rules
One visual sentence
Every figure should support one declarative sentence. A reader should know
where to begin and where to end within five seconds.
Spend an expressive ladder, not one flat fill
Swiss modernism does not mean solid chapter-colour boxes everywhere. Preserve
the edition's editorial grid and right-angle discipline while expressing hierarchy
through a shared ladder:
- white artifact with a quiet edge;
- neutral pale state with a visible ink edge;
- concept outline with white ground;
- pale focus field with a stronger chapter-hue edge;
- hatch or dot texture for a categorically different surface;
- one solid climax state with knocked-out type.
Hue identifies the chapter or concept; it is not the only hierarchy channel.
Reserve the solid surface for the one culmination a reader should name after
five seconds. Breaches and terminal states may also be solid because their
meaning is categorical. A Swiss rendering that removes borders, texture, and
surface variation while maritime and technical retain them has failed the
edition, even if its palette is correct.
On the three-edition sheet, Swiss should still expose the same categorical
range: white artifact, neutral mechanism, hue outline, pale concept field,
patterned exception, and solid climax. Do not translate every non-white
maritime or technical surface into the same Swiss rectangle. When three or
more nodes of unlike roles share one style, redistribute them onto the ladder
before inventing another hue.
Use the full field when needed
The Book offers a 4.5-inch text column and a 6.0-inch text-plus-margin field.
Do not crush a protocol, timeline, or proof journey into 4.5 inches merely to
keep a narrow float. Spend the margin when readable type or visible topology
requires it.
Text and boxes
- Swiss is sans-led: Source Sans 3 for prose, marginalia, figure labels and
headings, with real Regular/Semibold/Italic shapes. Select shared semantic
roles, never a font file inside a figure. Prose uses proportional numerals;
axes and data use lining, equal-width numerals. Source Code Pro is reserved
for literals. Font sources and licenses live
under the Book's
fonts/; test the change on prose, math, code and captions.
- One figure type family and no more than three type sizes.
- Final-size labels should remain comfortably readable; never rescue a crowded
composition by shrinking type.
- Give text vertical breathing room with shared minimum height and
inner ysep.
- Never place a tag, label, or white knockout over a box border.
- Do not let text wash out an edge. Move the text or route the edge.
- A panel title belongs outside the panel with a measured moat.
Arrows and connectors
- An arrowhead must have a visible shaft before it. A triangle at a corner is
not an arrow.
- Reserve at least 8–12 final-size points of straight shaft before the head.
- Route connectors on a background layer; place opaque nodes over them.
- Use explicit split and merge junctions for fan-out/fan-in.
- End arrowheads on a straight approach, not directly after an orthogonal turn.
- Do not cross text. If a crossing is unavoidable, add a bridge or change the
layout.
- Direction, control status, trust, and failure must not depend on color alone.
Plots
- Position on a common scale beats area, hue, or decoration.
- Direct-label series and regimes when space permits.
- Keep scales aligned across small multiples.
- Show the threshold, baseline, or counterfactual the claim compares against.
- A table beats a plot when the reader needs fewer than roughly twenty exact
values; combine a table and sparkline when exact values and trend both matter.
- State provenance: generated script and seed, model-checked artifact, internal
derivation, or hand-derived arithmetic.
Captions
The first sentence states the finding, not “shown here.” Keep the margin caption
pithy; move derivation, provenance detail, and caveats into source prose or a
separate note when the margin cannot carry them legibly. Captions and all other
margin material must occupy the outer margin: left on even pages, right on odd
pages.
Marginalia
Use the margin for material that can be ignored without breaking the sentence:
- a first-use gloss in plain English;
- a portrait where the person's idea does real argumentative work;
- a one-line aside or warning;
- a tiny comparison, sparkline, or regime strip;
- provenance and cross-reference pointers.
Do not use portraits as wallpaper or to repair a wall of text. Use a worked
example, session, boundary, or figure for that.
Sample-data and transcript grammar
Sample material must never masquerade as theory or live evidence. Give all
Maya/operator excerpts and synthetic records one shared continuous-feed-paper
treatment:
- monospaced type;
- light paper tint, not a theorem-box tint;
- perforated tractor-feed strips or sprocket holes at both sides;
- a visible label such as
SAMPLE, SYNTHETIC, or RECORDED SESSION;
- source and time/seed when available;
- no implication that synthetic dialogue is an actual interview.
Use the shared pdsampledata environment. Its optional argument records the
source, status, and seed; the environment supplies monospaced type, the
SAMPLE DATA head, paper tint, and tractor-feed edges. Use pdsession only
for checked-in captured transcripts. Do not draw a fresh faux-paper frame in
each chapter.
Page grammar and pacing
- A page should normally contain no more than three content kinds.
- Avoid runs of more than four body pages without a figure, table, worked
example, or transcript.
- Keep important claims adjacent to their intuition and evidence.
- Prefer one stable apparatus to a chapter-specific callout invention.
- Exercises belong at chapter end, grouped by the section they test, with
margin pointers at the original point of use.
- Close with Review of the Key Ideas, Exercises, History and references, and
the explicit handoff.
Book-only implementation route
- Read
whitepaper/textbook.json to find canonical chapter order and part hue.
- Edit canonical source and shared twins carefully; twins must remain
byte-identical where the repository contract requires it.
- Compile focused figure fragments with the Book preamble in Swiss,
maritime, and technical editions.
- Generate the assembled Book with
scripts/generate-mega-whitepaper.mjs.
- Compile the generated Book root. Do not build standalone chapter PDFs.
- Render relevant Book pages and a contact sheet at final size.
- Inspect manually for hierarchy, clipping, collisions, tiny type, broken
arrow shafts, washed borders, bad page parity, and wasted space.
- Run mechanical checks only after the human question is answered. A green
checker is evidence that a picture compiled, not that it communicates.
Rewrite output contract
Every rewrite pass should leave:
- a short statement of the reader problem fixed;
- the source files changed;
- the rendered Book pages or contact sheet reviewed;
- the epistemic status and provenance of any new claim or number;
- the before/after information difference, not merely a style difference;
- known boundaries and remaining jank;
- a clean, scoped commit suitable for review.
Stop conditions
Do not call a rewrite finished when any of these remain:
- the figure needs its caption to reveal where reading begins;
- an arrowhead looks detached from its shaft;
- a label clips or masks a box border;
- a formal term appears before its concrete use;
- a worked example cannot be redone by hand;
- a theorem has no intuitive reading or proof idea;
- a sample transcript could be mistaken for actual evidence;
- a caption falls into the inner margin or into the body only because the
margin version overflowed;
- the Book has not been rebuilt and visually inspected.
Deeper references
Read these source skills when the pass needs their full apparatus:
skills/textbook-craft/SKILL.md and all of its references/ for chapter
structure, learning science, exercises, and canon.
skills/tufte-evidence-design/SKILL.md and all of its references/ for
analytical design, margins, critiques, and evidence integrity.
skills/tikz-diagram-craft/SKILL.md and
references/figure-standard.md for implementation and QA.
skills/high-quality-latex-whitepaper/SKILL.md for shared LaTeX machinery.
research-paper-submission/references/exposition-craft.md,
figures-and-examples.md, and exemplar-structures.md for local formal
exposition and community-aware figure practice.
port-daddy-expository-writer/SKILL.md and its references for warm,
technically precise explanation of formal systems.
technical-writer/SKILL.md for Diataxis and documentation completeness.
This skill decides how those systems compose inside this Book. It does not
replace their deeper reference material.
1---2name: harbor-book-rewriter3description: >-4 Rewrite, extend, and visually normalize The Harbor, the Person, and the5 Economy as one assembled textbook. Use for chapter rewrites, new examples,6 theorem exposition, figure redesign, marginalia, captions, reader pacing,7 and Book-wide visual QA. This is the focused integration layer above8 textbook-craft, Tufte evidence design, research-paper exposition, technical9 writing, and tikz-diagram-craft. NOT for standalone chapter PDFs, research-10 paper submission formatting, marketing copy, or unreviewed bulk restyling.11allowed-tools: Read,Write,Edit,Bash,Grep,Glob12metadata:13 source: https://skillmd.com/skills/curiositech/harbor-book-rewriter14 category: Writing & Communication15 tags:16 - textbook17 - exposition18 - latex19 - tikz20 - marginalia21 - formal-systems22 provenance:23 kind: first-party24 owners:25 - port-daddy26 pairs-with:27 - skill: textbook-craft28 reason: Supplies chapter architecture, exercise design, and learning-science evidence.29 - skill: tufte-evidence-design30 reason: Supplies margin apparatus, evidence integrity, and analytical-design doctrine.31 - skill: tikz-diagram-craft32 reason: Draws and mechanically checks the figures selected by this skill.33 - skill: high-quality-latex-whitepaper34 reason: Owns durable LaTeX engineering and shared macro design.35 - skill: research-paper-submission36 reason: Supplies formal-exposition and figure/caption discipline.37 io-contract:38 kind: deliverable39 consumes:40 - kind: assembled-book-pdf41 format: pdf42 - kind: chapter-source43 format: latex44 produces:45 - kind: rewritten-book-source46 format: latex47 - kind: book-figure-set48 format: tikz49 - kind: visual-review-evidence50 format: pdf51---5253# Harbor Book Rewriter5455Rewrite the Book as a book. The unit of judgment is the assembled 7×10-inch56volume, not an isolated `.tex` fragment and not a standalone chapter PDF.5758The reader should be able to enter through a concrete failure, understand one59worked instance, see the formal claim arrive as the name for what they just60understood, inspect the proof at their chosen depth, and leave knowing exactly61where the result stops. Figures, captions, marginalia, examples, and prose are62one argument—not separate production tracks.6364## Non-negotiable Book contract65661. **Build only the assembled Book.** Chapter PDFs are retired. Shared source67 must survive the Book generator and the Book preamble.682. **Share the grammar.** Typography, theorem kinds, captions, marginalia,69 plots, arrows, UML, sample transcripts, and exercise treatments belong in70 shared macros or styles whenever two chapters need them.713. **Judge the printed size.** A source-level lint pass is not visual approval.72 Inspect the rendered Book page or a contact sheet at 100%.734. **Assume every legacy figure is suspect.** Preserve its information, not74 its accidents. A passing compile does not prove the figure communicates.755. **Never silently change epistemic status.** A theorem, design invariant,76 bounded model-check result, and empirical hypothesis are different kinds.776. **Do not use the local Port Daddy runtime.** Ordinary Git, hosted CI, and78 native collaboration are sufficient for this work.7980## The governing reader model8182The Book serves two readers on the same page:8384- The **newcomer** needs a scene, a worked example, local definitions, and a85 visible path through the machinery.86- The **expert** needs a short route to the claim, assumptions, proof idea,87 boundary, and evidence without being trapped inside tutorial prose.8889Do not average these readers into one muddy middle. Build an **express lane**:90the claim and proof structure remain skimmable while examples and asides are91visibly optional. This is the practical consequence of the worked-example and92expertise-reversal effects.9394Synthetic personas are pressure tests, not evidence. Use them to find divergent95failure modes; validate expensive or irreversible editorial decisions with96real readers.9798## Rewrite sequence99100Work top-down. Sentence polishing before structural repair wastes time and101usually makes the wrong structure harder to remove.102103### 1. Name the chapter's one obligation104105Write one sentence for each:106107- **Condition:** what the reader does not yet understand or cannot yet trust.108- **Cost:** what breaks, confuses, or becomes unsafe without this chapter.109- **Claim:** what the chapter establishes.110- **Boundary:** what the claim does not establish.111- **Handoff:** what the next chapter must add.112113If these cannot be written plainly, stop adding content. The chapter has a114goal problem, not a prose problem.115116### 2. Rebuild the first spread117118The first spread should contain, in order:1191201. proposition-title;1212. at most one or two governing epigraphs;1223. a concrete failure scene with a number in it;1234. the chapter's question in one sentence;1245. a short claim with its epistemic kind;1256. the three strongest objections;1267. the route and the expert express lane;1278. one hand-checkable worked example before the first general definition.128129Do not open with an abstract, keyword list, estimator catalog, result table,130or notation dump.131132### 3. Build each formal result as a teaching beat133134For every major result:1351361. **Situation:** a developer, operator, or agent does something recognizable.1372. **Failure:** show the concrete bad outcome and its cost.1383. **Worked instance:** use actual names, paths, values, messages, or commands.1394. **Intuitive reading:** say what should be true before giving it a symbol.1405. **Local definitions:** define only the terms needed for the next claim.1416. **Formal claim:** one crisp statement with explicit assumptions and kind.1427. **Proof idea:** plain English before proof details.1438. **Proof or evidence:** structured, reproducible, and matched to the claim.1449. **Read-out:** translate the result back into the concrete instance.14510. **Boundary:** name one regime where the result fails, is bounded, or is146 untested.147148Definitions belong immediately beside first use. The name is the punchline for149a mechanism the reader already understands, not an entrance fee.150151### 4. Ground abstractions in modern AI-development scenes152153Prefer a stable running example that can recur across chapters. A good scene154contains actors, artifacts, a race or decision, and an observable consequence.155156Example shape:157158> Three agents launched by cron jobs and a prototyping spree simultaneously159> edit `settings.json`. One edit is harmless, one immediately breaks the repo160> for another developer, and one survives because no relevant mutation test161> existed. The delayed bug is the expensive one.162163Do not stop at a cute story. Carry the same actors through the state machine,164sequence diagram, theorem instance, counterexample, and repair. The repeated165surface details lower orientation cost while the mechanism changes.166167### 5. Cut before decorating168169Cut or relocate:170171- repeated reader maps;172- surveys of alternatives the argument never uses;173- duplicate figures that make the same claim;174- unlabeled philosophical detours;175- definitions whose first use is many pages later;176- captions that repeat the body;177- ornamental theorem labels;178- boxes used only to announce importance.179180At most one philosophical or historical **Interlude** per chapter: named,181bounded, and skippable without losing the argument.182183## Figure grammar: choose the relation before the style184185A figure begins with a reader question and one sentence that the figure makes186easier to know. If neither can be written, do not draw it.187188| Reader question | Preferred grammar |189|---|---|190| What talks to what, and in what order? | Sequence diagram |191| Who owns each step? | Swimlane/activity diagram |192| Which states and transitions are legal? | UML state machine |193| What runs concurrently or over time? | Gantt/timeline |194| What depends on what? | Dependency DAG |195| What crosses a trust boundary? | Component/deployment diagram with explicit boundary |196| What entities and relations persist? | ERD/olog |197| Where does a threshold change the outcome? | Regime diagram |198| How does a metric vary? | Plot on aligned scales |199| How do repeated cases differ? | Small multiples |200| What exact values matter? | Table, optionally with sparklines |201| How does one concrete case execute? | Worked trace or annotated transcript |202203Use multiple coordinated figures when one graphic would need to answer204different questions. A sequence diagram and an authority-envelope diagram can205both belong if one explains messages and the other explains attenuation.206207## Figure composition rules208209### One visual sentence210211Every figure should support one declarative sentence. A reader should know212where to begin and where to end within five seconds.213214### Spend an expressive ladder, not one flat fill215216Swiss modernism does not mean solid chapter-colour boxes everywhere. Preserve217the edition's editorial grid and right-angle discipline while expressing hierarchy218through a shared ladder:2192201. white artifact with a quiet edge;2212. neutral pale state with a visible ink edge;2223. concept outline with white ground;2234. pale focus field with a stronger chapter-hue edge;2245. hatch or dot texture for a categorically different surface;2256. one solid climax state with knocked-out type.226227Hue identifies the chapter or concept; it is not the only hierarchy channel.228Reserve the solid surface for the one culmination a reader should name after229five seconds. Breaches and terminal states may also be solid because their230meaning is categorical. A Swiss rendering that removes borders, texture, and231surface variation while maritime and technical retain them has failed the232edition, even if its palette is correct.233234On the three-edition sheet, Swiss should still expose the same categorical235range: white artifact, neutral mechanism, hue outline, pale concept field,236patterned exception, and solid climax. Do not translate every non-white237maritime or technical surface into the same Swiss rectangle. When three or238more nodes of unlike roles share one style, redistribute them onto the ladder239before inventing another hue.240241### Use the full field when needed242243The Book offers a 4.5-inch text column and a 6.0-inch text-plus-margin field.244Do not crush a protocol, timeline, or proof journey into 4.5 inches merely to245keep a narrow float. Spend the margin when readable type or visible topology246requires it.247248### Text and boxes249250- Swiss is sans-led: Source Sans 3 for prose, marginalia, figure labels and251 headings, with real Regular/Semibold/Italic shapes. Select shared semantic252 roles, never a font file inside a figure. Prose uses proportional numerals;253 axes and data use lining, equal-width numerals. Source Code Pro is reserved254 for literals. Font sources and licenses live255 under the Book's `fonts/`; test the change on prose, math, code and captions.256- One figure type family and no more than three type sizes.257- Final-size labels should remain comfortably readable; never rescue a crowded258 composition by shrinking type.259- Give text vertical breathing room with shared minimum height and `inner ysep`.260- Never place a tag, label, or white knockout over a box border.261- Do not let text wash out an edge. Move the text or route the edge.262- A panel title belongs outside the panel with a measured moat.263264### Arrows and connectors265266- An arrowhead must have a visible shaft before it. A triangle at a corner is267 not an arrow.268- Reserve at least 8–12 final-size points of straight shaft before the head.269- Route connectors on a background layer; place opaque nodes over them.270- Use explicit split and merge junctions for fan-out/fan-in.271- End arrowheads on a straight approach, not directly after an orthogonal turn.272- Do not cross text. If a crossing is unavoidable, add a bridge or change the273 layout.274- Direction, control status, trust, and failure must not depend on color alone.275276### Plots277278- Position on a common scale beats area, hue, or decoration.279- Direct-label series and regimes when space permits.280- Keep scales aligned across small multiples.281- Show the threshold, baseline, or counterfactual the claim compares against.282- A table beats a plot when the reader needs fewer than roughly twenty exact283 values; combine a table and sparkline when exact values and trend both matter.284- State provenance: generated script and seed, model-checked artifact, internal285 derivation, or hand-derived arithmetic.286287### Captions288289The first sentence states the finding, not “shown here.” Keep the margin caption290pithy; move derivation, provenance detail, and caveats into source prose or a291separate note when the margin cannot carry them legibly. Captions and all other292margin material must occupy the outer margin: left on even pages, right on odd293pages.294295### Marginalia296297Use the margin for material that can be ignored without breaking the sentence:298299- a first-use gloss in plain English;300- a portrait where the person's idea does real argumentative work;301- a one-line aside or warning;302- a tiny comparison, sparkline, or regime strip;303- provenance and cross-reference pointers.304305Do not use portraits as wallpaper or to repair a wall of text. Use a worked306example, session, boundary, or figure for that.307308## Sample-data and transcript grammar309310Sample material must never masquerade as theory or live evidence. Give all311Maya/operator excerpts and synthetic records one shared continuous-feed-paper312treatment:313314- monospaced type;315- light paper tint, not a theorem-box tint;316- perforated tractor-feed strips or sprocket holes at both sides;317- a visible label such as `SAMPLE`, `SYNTHETIC`, or `RECORDED SESSION`;318- source and time/seed when available;319- no implication that synthetic dialogue is an actual interview.320321Use the shared `pdsampledata` environment. Its optional argument records the322source, status, and seed; the environment supplies monospaced type, the323`SAMPLE DATA` head, paper tint, and tractor-feed edges. Use `pdsession` only324for checked-in captured transcripts. Do not draw a fresh faux-paper frame in325each chapter.326327## Page grammar and pacing328329- A page should normally contain no more than three content kinds.330- Avoid runs of more than four body pages without a figure, table, worked331 example, or transcript.332- Keep important claims adjacent to their intuition and evidence.333- Prefer one stable apparatus to a chapter-specific callout invention.334- Exercises belong at chapter end, grouped by the section they test, with335 margin pointers at the original point of use.336- Close with Review of the Key Ideas, Exercises, History and references, and337 the explicit handoff.338339## Book-only implementation route3403411. Read `whitepaper/textbook.json` to find canonical chapter order and part hue.3422. Edit canonical source and shared twins carefully; twins must remain343 byte-identical where the repository contract requires it.3443. Compile focused figure fragments with the **Book preamble** in Swiss,345 maritime, and technical editions.3464. Generate the assembled Book with347 `scripts/generate-mega-whitepaper.mjs`.3485. Compile the generated Book root. Do not build standalone chapter PDFs.3496. Render relevant Book pages and a contact sheet at final size.3507. Inspect manually for hierarchy, clipping, collisions, tiny type, broken351 arrow shafts, washed borders, bad page parity, and wasted space.3528. Run mechanical checks only after the human question is answered. A green353 checker is evidence that a picture compiled, not that it communicates.354355## Rewrite output contract356357Every rewrite pass should leave:3583591. a short statement of the reader problem fixed;3602. the source files changed;3613. the rendered Book pages or contact sheet reviewed;3624. the epistemic status and provenance of any new claim or number;3635. the before/after information difference, not merely a style difference;3646. known boundaries and remaining jank;3657. a clean, scoped commit suitable for review.366367## Stop conditions368369Do not call a rewrite finished when any of these remain:370371- the figure needs its caption to reveal where reading begins;372- an arrowhead looks detached from its shaft;373- a label clips or masks a box border;374- a formal term appears before its concrete use;375- a worked example cannot be redone by hand;376- a theorem has no intuitive reading or proof idea;377- a sample transcript could be mistaken for actual evidence;378- a caption falls into the inner margin or into the body only because the379 margin version overflowed;380- the Book has not been rebuilt and visually inspected.381382## Deeper references383384Read these source skills when the pass needs their full apparatus:385386- `skills/textbook-craft/SKILL.md` and all of its `references/` for chapter387 structure, learning science, exercises, and canon.388- `skills/tufte-evidence-design/SKILL.md` and all of its `references/` for389 analytical design, margins, critiques, and evidence integrity.390- `skills/tikz-diagram-craft/SKILL.md` and391 `references/figure-standard.md` for implementation and QA.392- `skills/high-quality-latex-whitepaper/SKILL.md` for shared LaTeX machinery. <!-- cite-exempt -->393- `research-paper-submission/references/exposition-craft.md`,394 `figures-and-examples.md`, and `exemplar-structures.md` for local formal395 exposition and community-aware figure practice.396- `port-daddy-expository-writer/SKILL.md` and its references for warm,397 technically precise explanation of formal systems.398- `technical-writer/SKILL.md` for Diataxis and documentation completeness.399400This skill decides how those systems compose inside this Book. It does not401replace their deeper reference material.