/book-map
Scaffold, audit, and manage Book_Map projects.
Subcommands
/book-map scaffold
Scaffold the Book_Map structure in the current project directory.
Instructions for Claude:
- •Read
references/directory-spec.mdfor the complete file/directory specification. - •Create all required directories that do not exist.
- •Create all required files that do not exist, using appropriate templates.
- •For each file created, add the
<!-- reviewed: YYYY-MM-DD -->freshness tag with today's date. - •Do NOT overwrite existing files — only create missing ones.
- •After scaffolding, run the audit subcommand to verify completeness.
Output format:
code
Created: [list of files/dirs created] Skipped: [list of files/dirs that already existed] Run `/book-map audit` to verify completeness.
/book-map audit
Audit the current project against the Book_Map standard.
Instructions for Claude:
- •Read
references/checklist.mdfor the audit criteria. - •Check each criterion and report pass/fail.
- •For each failure, reference
references/remediation.mdfor the fix. - •Report an overall score (pass count / total count).
Output format:
code
Book_Map Audit Results ====================== [Category]: [pass/fail count] ✓ criterion description ✗ criterion description → fix: [remediation step] Overall: [total pass] / [total checks] passed
/book-map add-book
Add a new book to the series.
Instructions for Claude:
- •Determine the next book number by checking existing
books/book-NN/directories. - •Create the book directory structure:
code
books/book-NN/ manuscript/ _INDEX.md front_matter/.gitkeep chapters/ back_matter/.gitkeep docs/ _INDEX.md book/ OVERVIEW.md OUTLINE.md CONTINUITY_BIBLE.md - •Populate each file with appropriate templates:
- •
manuscript/_INDEX.md— empty chapter status table - •
docs/_INDEX.md— per-book doc index linking to book-specific and shared docs - •
docs/book/OVERVIEW.md— minimal book premise referencing series arc - •
docs/book/OUTLINE.md— empty outline with contract format - •
docs/book/CONTINUITY_BIBLE.md— initialized from previous book's final state
- •
- •Add the new book to
books/_INDEX.md. - •Create a handoff template at
series/handoffs/BOOK-NN-TO-MM.md(from previous book to this one). - •Update
docs/_INDEX.mdto include the new per-book documents.
Output format:
code
Created book-NN: books/book-NN/manuscript/_INDEX.md books/book-NN/manuscript/front_matter/.gitkeep books/book-NN/manuscript/chapters/ books/book-NN/manuscript/back_matter/.gitkeep books/book-NN/docs/_INDEX.md books/book-NN/docs/book/OVERVIEW.md books/book-NN/docs/book/OUTLINE.md books/book-NN/docs/book/CONTINUITY_BIBLE.md Updated: books/_INDEX.md series/handoffs/BOOK-[prev]-TO-NN.md docs/_INDEX.md