What problem does it solve? Writing a research paper usually waits until experiments finish, leaving hypotheses vague and contributions unclear. This Skill starts the paper skeleton right after the literature survey, growing a single living document (paper/DRAFT.md) phase by phase so the hypothesis, related work, and method are written before experiments run. ## Core Features & Use Cases - Hypothesis-driven Abstract: Writes a 4-block Abstract (Background / Method / Hypothesis / Implication) from Phase 2-3 artifacts, replacing the hypothesis block with measured results after Phase 6. - Phase-aware section filling: Uses STATE.json's current_phase to decide which sections (Introduction, Related Work, Method, Setup, Results) to write or refine, with idempotent re-invocation and agent-managed markers that protect manual edits. - Incremental bibliography: Generates minimal bibtex entries in paper/refs.bib from 02_SURVEY/papers.jsonl with collision-safe key naming, ready for DOI enrichment at Phase 7. - Use Case: After completing a literature survey with MATRIX.md and paper notes, invoke the Skill to produce a DRAFT.md containing motivation, grouped Related Work paragraphs with citations, and a placeholder structure that later phases fill automatically. ## Quick Start Ask the agent to run research.paper.scaffold on your project slug to generate or update paper/DRAFT.md from the current phase artifacts.