get-writing-done
v1.16.0
Published
A complete book-writing pipeline powered by multi-agent AI — canonical short context, adversarial review, and progressive summaries keep every chapter consistent.
Maintainers
Readme
GWD — Get Writing Done
A complete book-writing pipeline powered by multi-agent AI.
Chapters are phases. Canonical short context (BIBLE + STYLE + summaries) replaces full-text loading. The engine guarantees no contradictions, no voice drift, and no lost threads — across any number of chapters.
How It Works
/gwd:new-book → Guided questioning + template population
/gwd:discuss-chapter 1 → Capture chapter intent in CONTEXT.md
/gwd:plan-chapter 1 → Beat-sheet PLAN.md from canonical context
/gwd:write-chapter 1 → Multi-wave writing (structure → polish)
/gwd:review-chapter 1 → Editorial QA + auto-update canonical record
/gwd:progress → Dashboard with next recommended actionArchitecture
The engine maintains three canonical documents that every agent references:
- BIBLE.md — Thesis, contrastive glossary, positions, continuity map, recurring elements, changelog
- STYLE_GUIDE.md — Voice profile, sentence patterns, anti-patterns, PT-BR rules, calibration passages
- OUTLINE.md — Part/chapter structure, chapter contracts, dependency map, arc tracking
Every agent receives BIBLE + STYLE + chapter summary — never the full book. This keeps context short and consistent as the book grows.
Pipeline
Planner → Writer (Wave 1: structure) → Writer (Wave 2: polish) → Reviewer → Bible-Keeper → Summary Writer
↑ | |
human checkpoint human checkpoint auto5 specialized agents:
| Agent | Role |
|-------|------|
| planner | Beat-sheet from OUTLINE + canonical context |
| writer | Persona override preventing assistant tone contamination |
| reviewer | 6-category adversarial checklist (terms, voice, drift, continuity, repetition, PT-BR) |
| bible-keeper | Updates BIBLE.md after each chapter |
| summary-writer | Structured chapter summary feeding subsequent chapters |
CLI Tools
gwd-tools.js init # Scaffold project from templates
gwd-tools.js progress # Chapter status dashboard
gwd-tools.js context --chapter N # Assemble canonical context bundle
gwd-tools.js bible update --chapter N # Update BIBLE.md from chapter
gwd-tools.js summary extract --chapter N # Generate summary templateInstallation
git clone [email protected]:rafaelzorzetti/get-writing-done.git
cd get-writing-done
node bin/install.js --claude --globalInstalls /gwd:* commands globally. Supports Claude Code, OpenCode, and Gemini CLI.
First Use Case
"Todos Somos Adao e Eva" — a reflective essay book in Portuguese BR about the Fall (Genesis) as a universal human pattern. The framework handles theological term consistency, tone control (reflective, not preachy), progressive argument building, and metaphor tracking across chapters.
Stats
- v1.0 shipped in 2 days (2026-02-12 → 2026-02-13)
- 6 phases, 14 plans, 55 commits
- 63 files, 14,487 lines added
- v1.1 standalone extraction — clean separation from parent project
License
Private repository.
