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

  1. Reads project metadata from README.md
  2. Compiles all chapters from chapters/ in order
  3. Applies styling from epub.css (if present)
  4. Includes cover image from covers/ (if specified)
  5. Sets a stable EPUB identifier (preserves highlights across builds)
  6. Outputs to builds/ directory

Usage

Installs
18
Repository
howells/fiction
GitHub Stars
17
First Seen
Jan 27, 2026
build — howells/fiction