section-merger
Installation
SKILL.md
Section Merger
Triggers & routing
- Trigger: merge sections, merge draft, combine section files, sections/ -> output/DRAFT.md, 合并小节, 拼接草稿.
- Use when: you have per-unit prose files under
sections/and want a singleoutput/DRAFT.mdfor polishing/review/LaTeX.
Goal: assemble a paper-like output/DRAFT.md from:
sections/(per-section/per-subsection prose)outline/transitions.md(optional hand-off suggestions; generated bytransition-weaver)outline/tables_appendix.md(reader-facing Appendix tables; generated byappendix-table-writer)
Merge order is driven by outline/outline.yml. The draft title is derived from
GOAL.md when present. When sections/sections_manifest.jsonl is supplied by
the Pipeline contract, every merged section must match its recorded bytes and
SHA-256 hash.
This skill is deterministic: it does not rewrite content or invent prose; it only merges already-generated artifacts.