DOCUMENTATION

Velith

Build books like software. 6-phase pipeline, 7 genre templates, 7 specialized agents.

An AI-native publishing system that treats book creation like software development. 6-phase pipeline from onboarding to publishing. 7 genre templates (fiction, non-fiction, technical, screenplay, poetry, game, academic) each with specialized agents and quality gates. 5-stage editing pipeline with AI-slop detection (style-doctor). Outputs EPUB, PDF, MOBI, TXT, and Markdown.

Claude CodePluginPublishing

01 · QUICKSTART

Quickstart

Install

Install via the Claude Code plugin marketplace. One command and you're ready.

/plugin marketplace add epicsagas/Velith
/plugin install velith@epicsagas

Create Your First Book

Run /velith to start the onboarding wizard. It will guide you through genre selection, audience definition, and project setup.

/velith
# → Onboarding wizard starts
# → Choose genre, audience, language, scope
# → Generates PRD.md and STYLE.md
# → Ready for ideation phase

02 · CORE CONCEPTS

Core Concepts

6-Phase Pipeline

Phase 0: Onboarding (genre, audience, scope, PRD.md + STYLE.md). Phase 1: Ideation (concept validation, market gap analysis). Phase 2: Outlining (genre-specific structure, per-chapter specs). Phase 3: Drafting (plan-then-execute with parallel writing). Phase 4: Editing (5-stage pipeline with quality gates). Phase 5: Publishing (EPUB, PDF, MOBI, TXT, Markdown export).

7 Genre Templates

Fiction (Save the Cat! 15-beat, Hero's Journey, character bibles). Non-fiction (problem-solution structure, evidence hierarchy). Technical (concept progression gradient, code block rules, lab design). Screenplay (3-act structure, sequence method, A/B story weaving). Poetry (form types, stanza structure, meter/rhythm, collection architecture). Game (quest/event trees, branching dialogue, world-building). Academic (IMRAD structure, literature review, citation practices).

Specialized Agents

book-init (onboarding), book-ideation (concept validation), book-outline (structure design), book-draft (chapter generation with continuity), book-edit (5-stage editing), book-publish (export and packaging), book-status (progress dashboard). Each agent understands its genre template and applies domain-specific quality rules.

Quality Gates & AI-Slop Detection

5-stage editing pipeline: editorial assessment, developmental edit, line edit, copy edit, proofread. Each stage has explicit quality gates. The style-doctor detects and flags AI-generated cliches, repetitive sentence structures, and generic phrasing — keeping your voice authentic.

03 · REFERENCE

Skills & Reference

Skills & Commands

All Velith skills available after installation.

/velith           # Main entry — starts pipeline or resumes
/book-init        # Phase 0: Onboarding
/book-ideation    # Phase 1: Ideation
/book-outline     # Phase 2: Outlining
/book-draft       # Phase 3: Drafting
/book-edit        # Phase 4: Editing
/book-publish     # Phase 5: Publishing
/book-status      # Progress dashboard
/book-genre-creator  # Meta-skill for custom genres

Phase Details

Each phase produces specific artifacts and passes quality gates before advancing.

Phase 0 → PRD.md, STYLE.md
Phase 1 → concept-selection.md, competitive-matrix.md
Phase 2 → outline.md, chapter-specs/, cross-reference-map.md
Phase 3 → chapters/, continuity-log.md
Phase 4 → edit-reports/, style-doctor-report.md
Phase 5 → book.epub, book.pdf, book.mobi, book.txt

04 · CONFIGURATION

Configuration

No Configuration Required

Velith runs as a Claude Code plugin. No config files, no API keys, no separate setup. Install and start writing.

05 · EXAMPLES

Usage Examples

Writing a Technical Book

Complete workflow for writing a technical book from concept to export.

/velith
# → Select genre: Technical
# → Define audience: "mid-level Rust developers"
# → Set scope: 12 chapters, ~300 pages

/book-ideation    # Validate concept, find market gaps
/book-outline     # Generate chapter specs with code examples
/book-draft       # Write chapters with code blocks and labs
/book-edit        # 5-stage editing with style-doctor
/book-publish     # Export to EPUB + PDF

Fiction Workflow

Writing a novel with genre-specific story structure and character bibles.

/velith
# → Select genre: Fiction
# → Sub-genre: Thriller
# → Story structure: Save the Cat! 15-beat

/book-ideation    # Develop premise, logline, comparable titles
/book-outline     # 15-beat breakdown, character bibles, scene list
/book-draft       # Write chapters with continuity validation
/book-edit        # Developmental → line → copy → proofread
/book-publish     # Package for KDP (EPUB + MOBI)