book-frontmatter
Installation
SKILL.md
Book Frontmatter — Phase 02: Markdown → MDX (frontmatter-validated)
Purpose
Bring every chapter's frontmatter into compliance with the corpus schema:
- Identity:
file_id(ULID),canonical_title,book_slug,chapter_number,chapter_slug,chapter_title,display_title. - Integrity:
content_class,source_type,language,word_count,char_count,estimated_reading_time,page_range_start/end,content_sha256. - RAG metadata:
key_concepts,themes,mentions_scriptures,mentions_figures,primary_topic,secondary_topics. - Citations:
citations[]withid,kind(scripture | book | article),ref. - Vector store linkage:
embedding_model,embedding_version,last_indexed_at,vector_store_idsmap. - Author + book identity:
author,co_authors,year,edition,publisher,isbn,tenant,tenant_id.
Validate against scripts/lib/frontmatter-schema.ts (Zod). Validate book.json against BookManifest. Block advancement to Phase 03 on any schema failure.
Invocation
$ARGUMENTS: