course-ebook-publishing
Installation
SKILL.md
Course Ebook Publishing
Schema authority: this skill reads the live
window.COURSEobject whose shape is defined in_shared/domain-primitives.md. Quiz / pre-test / post-test items are filtered OUT of the ebook (per §10 quiz item rules + ebook content policy).Filename convention (English-first): outputs land in
dist/{name}.pdf/dist/{name}.docx. Source markdown is composed underdist/master.md.
This skill turns a finished teaching website into a book — PDF (primary) and optionally DOCX (for editorial review or further authoring). It is a post-site step: it consumes window.COURSE from the live site, never re-authoring content.
When to Invoke
- Site is feature-complete (Stages 1–5 done) and content is stable.
- Stakeholders ask for a printable hand-out, an archivable record, or a deliverable for non-web channels.
- Sometimes invoked after
course-corporate-editionto produce a client deliverable bundle.
Do NOT invoke when site is mid-development. The ebook pipeline reads window.COURSE; if the site changes daily, the ebook drifts daily.