build
Installation
SKILL.md
Contains Shell Commands
This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.
Build an EPUB file from the current fiction project.
Build Context
- Chapter count: !
ls chapters/*.md 2>/dev/null | wc -l | tr -d ' ' - Has cover: !
ls covers/cover.* 2>/dev/null | head -1 || echo "no cover found"
What This Does
- Reads project metadata from README.md
- Compiles all chapters from
chapters/in order - Applies styling from
epub.css(if present) - Includes cover image from
covers/(if specified) - Sets a stable EPUB identifier (preserves highlights across builds)
- Outputs to
builds/directory