$npx -y skills add epicsagas/Velith --skill book-outlinePhase 2: Outlining. Apply genre-specific structures, generate per-chapter specs, cross-reference map, structural validation.
| 1 | # Phase 2: Outlining |
| 2 | |
| 3 | Genre structures: Fiction → 3-Act/15-Beat · Non-fiction → Problem→Principles→Practice→Advanced · Technical → Intro(15%)→Foundations(25%)→Practice(30%)→Advanced(20%)→Reference(10%). |
| 4 | |
| 5 | Per-chapter spec: hook · key concepts (3-5) · word target (±10%) · difficulty · prerequisites · source refs. |
| 6 | |
| 7 | Cross-reference map as DAG. Rules: no cycles, each concept defined only at first appearance. |
| 8 | |
| 9 | Validation by genre: |
| 10 | - **Fiction**: narrative arc complete, protagonist arc natural, conflict escalation, climax placement |
| 11 | - **Non-fiction**: problem→solution linear, difficulty gradient, each part has clear purpose |
| 12 | - **Technical**: novice→expert ordering, code deps correct, exercise gradient smooth |
| 13 | |
| 14 | Output: `outline.md` (structure overview, chapter specs, dependency map, validation results). |
| 15 | |
| 16 | Gate: outline.md exists, all chapters specified, cross-reference map written. |
| 17 | |
| 18 | |
| 19 | ## Post-Completion |
| 20 | |
| 21 | Update the project dashboard status: |
| 22 | |
| 23 | ```bash |
| 24 | node {PLUGIN_ROOT}/velith.mjs scan [project-dir] --plugin-root={PLUGIN_ROOT} |
| 25 | ``` |