CH 83 / 86Chapter 11: Operations and Outlook

How This Guide Was Made

On this page11 items

In 10 seconds

87 pages, 200,000 characters, 35 diagrams. The text, the diagrams and the publishing all ran through Claude Code.
What made the difference wasn’t speed but the mechanisms that stopped steps that fail silently.

This guide was made using exactly what it describes. Here is a record of how it was produced.

The numbers#

Pages87 (84 main + 2 appendices + 1 table of contents)
Body textAbout 200,000 characters
Master SVG diagrams35
Exported PNGs35 for the web, 154 for slides
Scripts17, about 1,850 lines
Official pages consulted147 in total

The breakdown of sources: 45 from the developer documentation, 44 support articles, 41 from the Claude Code documentation, and 8 from the MCP specification. Model names, pricing and feature availability were always checked against an open page before writing.

What was decided before starting#

Before writing began, three things were decided.

1. Build diagrams to slide specs. Every diagram was made at 1920×1080, and the web and book versions were exported from there. Doing it the other way round means cramming dense web diagrams into 16:9, which leads to rework.

2. Don’t write from memory. For model names, pricing, limits and availability, always open the official source. Record the date checked and the reference URL for each page.

3. Fix the terminology first. Inconsistent translations stand out once it becomes a book, so the glossary was built before Chapter 1.

Changing any of these three later would ripple through every page. Deciding them first was the right call.

What worked was checking#

This was the biggest discovery. A mechanism for not publishing mistakes did more good than writing faster.

Before publishing, a machine checks the following. If any check fails, the page isn’t published.

  • Whether all 14 front matter fields are filled in
  • Whether the page number matches the published URL
  • Whether diagram references and the image list match in both directions
  • Whether the opening summary stays within 100 characters
  • Whether the required sections exist
  • Whether there are links to unpublished pages
  • Whether the formatting conventions are followed

Every one of these comes from a mistake that actually happened.

Stopping steps that fail silently#

This is the theme that ran through the whole project. Steps that fail without raising an error are the most expensive.

Example 1: Fonts were silently replaced.

The diagram spec warned that “if a font is missing, it gets replaced with another font without an error”. Yet the font name that very spec specified didn’t exist in the production environment.

On testing, when the specified font was missing, a PNG was output with exit code 0, but the font had been replaced with a monospaced one and the layout was broken. The warning only went to stderr.

As a countermeasure, a test render now checks the font before exporting, stderr is checked after exporting, and if a substitution occurred, the output is deleted and the process aborts.

Lesson: even if the spec says “this is dangerous”, whether the spec itself has fallen into that trap is another matter.

Example 2: A bulk replacement broke text.

When 105 places were fixed with a single regex replacement to correct formatting, 4 lines of text were broken. On lines like **A**と**B**, the regex mistook “the part between two bold spans” for the contents of a bold span.

Before publishing, the result was cross-checked with a different method that parses bold pairs as structure, and every case was found and fixed.

Lesson: checking with the same regex is pointless. Cross-check with a different method that parses the structure.

Example 3: The underline bar in diagrams was built to drift silently.

The underline bar under titles had a fixed width, so it looked like “only the first two characters are underlined”. It was noticed when Kay pointed it out.

Worse, if you copy a reference diagram and only rewrite the title, the bar keeps its old width. The export succeeds, so there’s no way to notice. Once it turned out there was a way to measure the actual size of text, a check was added that aborts if the width is off by more than 4px.

Assuming people don’t change#

Here is the most honest part.

Don’t put punctuation at the start or end of bold text. This convention was broken in every chapter, from Chapter 2 through Chapter 10. The count didn’t go down.

Chapter 5 says “if you break the same convention twice, it’s not an attention problem but a systems problem”, but the reality was that even after it became a system, the writer kept breaking it.

However, because the check exists, the cost of breaking it stays at “a few minutes of rewriting”.

Systems aren’t there to fix people; they’re built on the assumption that people won’t change. That is the conclusion from this project that rings most true.

Changing the structure midway#

After Chapter 1 was published, the structure was changed following an external review.

A summary of up to 100 characters was added at the top, and the section that duplicated the summary was dropped. The goal was to hand readers who land from search the answer first.

The rework covered only 11 pages. After Chapter 2 it would have been 19 pages, and after writing everything, 84.

It was cheap because it was published early instead of aiming for perfection first. What #77 in Chapter 10 says comes from this experience.

What got faster and what didn’t#

What got faster:

  • Reading the official documentation and extracting the key points
  • Making diagrams in SVG and exporting them in three variants
  • Publishing to WordPress, adding links, and applying metadata
  • Checking and fixing formatting

What didn’t get faster:

  • Deciding what to write
  • Deciding the order in which to explain things
  • Reading something and noticing “this is wrong”
  • Judging that it’s OK to publish

Judgment didn’t transfer. What this guide says again and again applied to its own production too.

Features used#

For reference, here is what was actually used.

  • Claude Code (text, diagrams, scripts, publishing)
  • CLAUDE.md (writing style, conventions, front matter definitions)
  • Web search (checking official information)
  • Image reading (re-reading exported PNGs for visual checks)
  • Use alongside an IDE (fixing things while looking at diffs)

Neither subagents nor MCP were essential for this project. It depends on the scale and nature of the work.

Try it: find the steps that fail silently in your own work (5 minutes)

Pick one task you do repeatedly. It can be creative work or office work.

Prompt
“`
For the following work procedure, list the “steps that fail
without my noticing at the time”.

・Places where a wrong result flows to the next step without any error or warning
・For each, how I could make it noticeable
・List only countermeasures that don’t rely on human attention

Procedure: (write it here)
“`

Expected result: The unnoticeable steps are listed, each with a mechanical countermeasure. No countermeasure ends with “check it”.

If it doesn’t work: If you get countermeasures like “watch carefully”, the instruction isn’t working. That is the point this guide repeats more than any other.

Related pages#

Summary#

  • 87 pages, 200,000 characters, 35 diagrams. 147 official pages consulted in total
  • What worked wasn’t speed but the mechanisms that stopped steps that fail silently
  • Systems are built on the assumption that people won’t change
  • Judgment didn’t transfer. What to write and whether to publish stay with people

Read next#

Glossary