---
name: hashgraph-online-book-draft
description: "Phase 3: Drafting. Plan-Then-Execute chapter generation with parallel writing and continuity validation."
license: "Apache-2.0"
metadata:
  decimalai-skill-id: "3dff7933-95ec-495b-8515-857f4c238c3a"
  decimalai-version-id: "047ddba0-4353-438c-b843-5c24f362cd3f"
  decimalai-version: "1"
  decimalai-body-sha256: "3abc474ba7dcf6535a1f7848dcf585b54552ee6983199051e5876468e6b223cc"
  decimalai-name: "hashgraph-online/book-draft"
  decimalai-format: "1"
  decimalai-invocation: "model"
  decimalai-category: "documentation"
  decimalai-source: "https://app.decimal.ai/s/hashgraph-online-book-draft@1/SKILL.md"
---
# Phase 3: Drafting

**Plan-Then-Execute**: pass chapter spec + previous chapter summary + relevant STYLE.md rules + source refs. Omit full prior chapter text, other chapters, full outline.

1. **Idempotency**: skip existing chapters meeting min line count
2. **Context build**: extract spec → prev summary → STYLE rules → source refs
3. **Write**: `ch{NN}-{slug}.md` with frontmatter (chapter, title, word_target, status, dates)
4. **QA**: word count ±10% · frontmatter present · STYLE rules · heading H1→H2→H3 · hook matches spec

**Parallel**: up to 4 concurrent chapters when prereqs done, no mutual refs.

**Continuity** (every 3-5 chapters): term consistency, logic flow, character/code compat, reference integrity.

Gate: all chapters exist, ±10% word target, continuity passed.


## Post-Completion

Update the project dashboard status:

```bash
node {PLUGIN_ROOT}/velith.mjs scan [project-dir] --plugin-root={PLUGIN_ROOT}
```
