Book Frontmatter

Phase 02 of the books pipeline — generate, repair, or recompute YAML frontmatter for every chapter in a book and validate against the Zod schema at `scripts/lib/frontmatter-schema.ts`. Recomputes `content_sha256`, `word_count`, `char_count`, `estimated_reading_time`, and `Opening excerpt` to match the current body. Validates `book.json` against `BookManifest` and every chapter against `ChapterFrontmatter`. Use after `/book-convert` + `/book-validate` pass, before `/book-ingest`. Trigger phrases: "fix the frontmatter", "regenerate frontmatter", "validate book.json", "phase 02", "schema-validate the corpus".

JoshuaShepherd Updated 1 repo stars

File contents

JoshuaShepherd/my-skills/tree/main/claude/content/book-frontmatter commit 888b95c328

Frequently asked questions

npx skillmds@latest add joshuashepherd/book-frontmatter