cyberneticlibrary

Generate multi-section documentation

documentation-genworkflowsetup L32
unfallenwill/batonjs
What it does

Generate multi-section docs in parallel, assemble unified

Best for

Building comprehensive API/project documentation by parallelizing section writing, then unifying tone and references.

Inputs
  • · Project name
  • · Source directory (default src/)
  • · Section list (title, description, subsections)
Outputs
  • · Unified markdown document
  • · Word count
Requires
  • · Claude agents (Outline, per-section Write, Assemble)
Preconditions
  • · Project source accessible
  • · Multi-phase: Outline → Write → Assemble
Failure modes
  • · Sections written in parallel may have tone inconsistency
  • · Cross-references added by Assemble agent may be incomplete
  • · Final consistency check is AI-only (no manual review gate)
Trust signals
  • · 3-phase structure
  • · Parallel section generation (Write phase)
  • · Final assembly with consistency check
  • · Sections include subsections and descriptions