/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:
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:
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:
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 tabledocs/_INDEX.md— per-book doc index linking to book-specific and shared docsdocs/book/OVERVIEW.md— minimal book premise referencing series arcdocs/book/OUTLINE.md— empty outline with contract formatdocs/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:
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