/content-engineering-pipeline:pipeline-book-release-engineeringfrom content-engineering-pipeline
Use when taking a research-based manuscript from a locked draft to reproducible PDF, EPUB, cover, and release evidence; triggers on book publication, print interiors, ebook packaging, cover generation, visual QA, KDP preparation, artifact manifests, or postmortems of a manual publishing workflow.
Ships in content-engineering-pipeline. 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.
None: SKILL.md is the whole skill.
Book production is a software delivery problem with a human editorial acceptance layer. A manuscript is source code, a book configuration is a build manifest, the PDF/EPUB/covers are compiled artifacts, and the release report is the evidence that the artifacts came from the intended source and passed the declared gates. The analogy is useful only if it preserves the difference: typesetting can be deterministic while literary judgment remains human.
This skill is the reusable release layer for the Content Engineering Pipeline's Phases 4–5. It closes the gap between a publication method that describes what should be checked and a repository that can prove what was checked. Use it after the manuscript's structural, argument, consistency, voice, evidence, and placeholder passes are complete, and before any store submission or public distribution.
If a future release depends on a command someone remembers, a page someone looked at once, a word count someone calculated in a one-off shell expression, or a cover decision that exists only in chat history, the process is not yet engineered. Convert that decision into one of four durable forms:
Do not turn a judgment into a fake Boolean merely to make a dashboard green. Record it as an explicit human decision attached to the evidence bundle.
The release command must own this dependency graph:
source inventory and prose audit
│
▼
release-readiness contract ──► metadata, research, pricing, format feasibility
│
▼
print interior ──► PDF structural and folio checks
│
▼
cover geometry/art ──► cover safe-area and legibility checks
│
▼
reflowable EPUB ──► EPUB structure, navigation, links, and ZIP checks
│
▼
all-page rendering ──► contact sheets and human visual review
│
▼
release manifest ──► author approval and distribution handoff
When a title has more than one print interior, make the format matrix part of the book configuration before building:
locked source
├── standard interior ──► paperback cover geometry
└── compact hardcover interior ──► hardcover cover geometry
└── EPUB ──► ebook cover
Each interior is a format variant of the same source, never a manually edited copy. The release manifest must record each variant's PDF path, page count, hash, render report, and configured page-limit policy. A cover spine must read the page count from the matching final interior; using the standard PDF's page count for a compact hardcover is a release defect.
The order is load-bearing. A cover cannot know its print spine until the PDF page count is final. An EPUB cannot embed its cover until the cover exists. A table of contents cannot be trusted until typesetting has settled. A visual review cannot be attached to the release until the exact artifact has been rendered. Never parallelize these steps merely because the tools are available.
Before invoking a TeX engine, audit the source of record. The audit should:
A word-count target is not permission to pad. If the target is missed, the report should identify the gap and the shortest chapters so the next pass adds evidence, mechanism, case study, objection, or theological development. The quality gate must not reward repeated claims that add no new knowledge.
Before spending time on typesetting, verify the commercial and evidentiary inputs that were previously likely to live in a spreadsheet, a launch note, or the operator's memory. The book configuration is the source of record. A release contract should declare and the native publisher command should measure:
The gate must fail on missing metadata, an invalid keyword cardinality, missing research apparatus, absent or stale pricing verification, impossible prices, or a configured format whose page count cannot be accepted by its retailer. It may warn on a deliberate alternative such as an external hardcover provider, but that warning must be explicit in the machine-readable report. The report must be written beside the other release evidence before the build continues.
This gate is intentionally separate from human approval. A machine can prove that seven keywords exist, that a pricing source was checked on a stated date, and that a 607-page interior exceeds a 550-page KDP hardcover limit. It cannot decide whether the positioning is honest, whether the price is wise, or whether the final cover deserves approval. Those remain recorded human judgments.
Build the print interior from the audited source and run the checks against the finished PDF, not only against the generated TeX. At minimum measure:
If the build produces a PDF with a different page count after a content change, the old cover and any page-numbered contents evidence are stale. Do not repair the old artifact by hand. Rebuild the dependent steps.
Use SOURCE_DATE_EPOCH or an equivalent stable metadata strategy where the
toolchain supports it. Rebuilding unchanged source should not create a binary
diff merely because a clock moved.
Generate the ebook front cover and print wraps only after every configured interior page count is final. The cover gate should verify:
The script can prove geometry and pixel placement. It cannot prove that the cover is sexy, beautiful, or appropriate to the book. Produce a front-cover preview and a print-wrap preview as a review surface, then record the human decision in the release manifest.
Build the EPUB only after the cover exists. Validate both the package and the reading experience:
mimetype is first and uncompressed;epubcheck runs when installed; if unavailable, the report says so rather
than implying that the built-in checks are the same thing;The EPUB 3 navigation specification and EPUBCheck are external validation references. Store-specific converters are additional acceptance environments, not substitutes for a valid EPUB package; test them when the target retailer supplies a converter or previewer.
Render every PDF page at a declared DPI. Do not render only the page that was reported in a conversation: typography failures migrate when pagination changes. The renderer should:
The render report proves coverage, not taste. A human must still inspect the contact sheets and sample pages at reading scale. The human review should be a recorded decision with the report's artifact hash, not an untraceable “looked good” in chat.
Write one machine-readable manifest for the exact release attempt. A minimal manifest contains:
{
"schema_version": 1,
"source": {"git_commit": "...", "config": "books/example.toml"},
"manuscript": {"word_count": 0, "chapters": 0, "warnings": []},
"steps": [{"name": "pdf", "status": "pass", "command": []}],
"artifacts": [
{"kind": "pdf-interior", "path": "output/example.pdf", "sha256": "..."},
{"kind": "epub", "path": "output/example.epub", "sha256": "..."}
],
"visual_qa": {"page_count": 0, "rendered_pages": 0, "contact_sheets": []},
"human_review": {"status": "pending", "reviewer": null, "notes": []}
}
The manifest is not a marketing document. It is a chain of custody. If the branch changes, a merge conflict is resolved, or any source file changes after the report, the old manifest is evidence for the old release attempt and must not be reused. Rerun the complete graph and issue a new manifest.
The following failure patterns are release regressions and should remain covered by tests:
| Manual discovery | Durable gate |
|---|---|
| A page-specific lowercase opening broke a drop cap | audit every numbered chapter opening |
| A fragment such as “retrieval.” reached a printed page | configurable paragraph-start lint |
| Planning packets appeared as prose | forbidden scaffold phrases and markers |
| Back matter changed from a research apparatus to a bibliography | required actual back-matter titles |
| Numbered chapters and scholarly back matter became mixed | source model and PDF/EPUB ToC checks |
| Cover text disappeared into artwork | cover safe-area, pixel, and preview checks |
| A PDF page count changed the spine | PDF → cover dependency order |
| A compact hardcover used the paperback page count | format matrix and per-variant spine input |
| EPUB was refreshed manually after a merge | one release command plus deterministic timestamps |
| Every page was “checked” from memory | page-counted renders, contact sheets, and report |
A build passed without epubcheck | explicit unavailable-tool status |
| Store metadata and pricing were decided in a launch conversation | release-readiness contract with metadata, keyword, research, dated-source, and unit-economics checks |
| A long book was priced as a hardcover without checking the retailer limit | page-count feasibility gate and explicit external-provider or split-edition decision |
| Every book's PDF build failed in CI for several merges, because the runner's TeX packaging omitted a font the author's machine had | interior fonts vendored with their licences and loaded by path; one set of font files decides line breaks and page counts |
| The release workflow had been red on every push and nobody had looked at the run history | read the workflow's recent runs before adding a gate; a red check is a finding, not background |
| Unit tests existed and CI never ran them | tests run as the first workflow step, before the heavy build |
These gates do not eliminate editing. They make editing honest: the machine handles inventory, measurement, conversion, and evidence; the author handles meaning, beauty, historical judgment, and the final decision to put a name on the work.
For repositories with a native command, use that command rather than copying
this sequence into a shell. In engineering-influence the canonical entry point
is scripts/publish_book.py; the skill supplies the method, while the
repository owns the implementation details and thresholds.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub the-vibey-project/vibey --plugin content-engineering-pipeline8 skills in this plugin
/pipeline-ai-film-productionUse for Phases 10–13 of the Content Engineering Pipeline: designing and producing the AI-generated hub film from a locked screenplay (Phase 10-11) and then designing and producing the five-spoke content distribution campaign (Phase 12-13). Triggers on AI video generation, hub-and-spoke content model, transmedia distribution, spoke architecture, TikTok/LinkedIn/email content strategy, or AI film production with Sora/ElevenLabs/Kling./pipeline-book-productionUse for Phases 4–5 of the Content Engineering Pipeline: assembling the verified research into a complete non-fiction manuscript (Phase 4) and iterating through revision until publication-ready (Phase 5). Triggers on book assembly, manuscript structuring, non-fiction drafting, or revision/iteration requests for research-based books./pipeline-distributionUse for Phase 14 of the Content Engineering Pipeline: distributing all pipeline outputs across Amazon KDP (Kindle eBook, Paperback, Hardcover), hub-and-spoke digital content, and in-person delivery. Triggers on book publishing, KDP submission, content distribution strategy, Amazon self-publishing, or in-person presentation planning. Also use when asking about the complete pipeline output summary.