Paper Writing Workflow
Workflow phases decide the order of work. They do not provide final prose
style or visual themes. Use only the phases relevant to the current
scenario; not every task needs every phase.
| Phase |
When to run |
Output file |
| 1. Triage |
every task; whenever user intent changes |
{workdir}/triage.md |
| 2. Material inventory |
user supplied files, notes, data, figures, comments |
{workdir}/materials/inventory.md |
| 3. Research question |
early papers, grants, vague topics; before outline |
{workdir}/research_question.md |
| 4. Literature review |
claims need citation grounding or novelty positioning |
{workdir}/literature_matrix.md |
| 5. Paper outline |
before drafting any full manuscript, grant, or report |
{workdir}/outline.md |
| 6. Data analysis summary |
user provides result tables, plots, statistics, experiment notes |
{workdir}/results_table.md |
| 7. Figure storyline |
figures/tables carry the core story |
{workdir}/figures_plan.md |
| 8. Reader testing |
before finalizing high-stakes documents or after major rewrites |
{workdir}/reader_test.md |
| 9. Finalize packet |
before ending a full task |
{workdir}/final_state.md |
Phases tied to a single scenario live in that scenario file:
1. Triage
Use at the start of every paper-writing task and whenever user intent changes.
Output
Create or update triage.md:
scenario_id: paper_submission
format_id: journal_article
theme_id: editable_article
mode: report # report (default) | submission — see Mode section in SKILL.md
language: zh
audience: reviewers
source_materials:
- materials/inventory.md
output:
markdown_source: draft/paper.md
html_path: report/paper_preview.html
editable_html: true
pdf: true
docx: false
latex: false
constraints:
venue_profile: null
page_size: A4
word_limits: null
quality_gates:
- manuscript_coverage
- format_lint
- reproducibility
- html_editability_check
# submission mode only:
# - claim_evidence_check
# - reviewer_rubric
# - reporting_guideline_check (clinical only)
Checks
- If a UI label and user text conflict, prefer the user's latest text and note the conflict in
constraints.
- If target venue is unknown, keep
format_id generic but do not ignore any provided page/word/style limits.
- If the user only asks for a small section edit, still record scenario and gates, but output only the requested section plus relevant quality notes.
2. Material Inventory
Use after triage when the user has supplied files, notes, datasets, figures, or reviewer comments.
Output
Write materials/inventory.md with this table:
| Material ID |
Path/source |
Type |
Relevant sections |
Claims supported |
Gaps/risks |
| M001 |
user file or note |
draft/data/figure/PDF/comment |
Methods, Results |
C1, C4 |
missing sample size |
Rules
- Do not leave attachments only in chat context. Give each useful item an ID.
- Mark unreadable or missing files explicitly.
- Separate user-provided facts from model inference.
- Map reviewer comments to
revision_response IDs, not generic notes.
3. Research Question
Use before outline writing for early papers, grants, and vague topics.
Output
| Item |
Requirement |
| Field context |
What is already known |
| Gap |
What remains unknown or insufficient |
| Question |
Specific, testable question |
| Hypothesis/aim |
What the work claims or tests |
| Boundary |
What the work will not claim |
| Evidence needed |
Data, figure, citation, or user material needed |
Rules
- Do not treat a broad topic as a research question.
- For grants, produce aim-level statements and feasibility notes.
- For papers, map each contribution to at least one evidence need.
4. Literature Review
Use when claims need citation grounding, novelty needs positioning, or the user asks for related work.
Output — literature matrix
| Paper ID |
Citation/URL |
Theme |
What it supports |
Limitation/gap |
Candidate claim IDs |
Rules
- Group by theme, method, finding, or debate; do not merely list papers by year.
- Classify support as
strong, partial, background, or conflicting.
- If a paper only matches the topic but not the exact claim, label it
background, not strong.
- For systematic reviews, trigger the reporting-guideline check (PRISMA) in ../SKILL.md.
5. Paper Outline
Use before drafting any full manuscript, grant, or report.
Output — two synchronized views
paper_view:
section -> purpose -> paragraph roles -> expected figures/tables
evidence_view:
section -> claim IDs -> evidence IDs -> missing evidence -> risk
Exit criteria
- Each section has a purpose.
- Core claims are scoped and numbered.
- Evidence gaps are visible before writing.
- The outline does not include raw logs, implementation chatter, or unfiltered analysis notes.
6. Data Analysis Summary
Use when the user provides result tables, plots, statistics, or experiment notes.
Output
| Result ID |
Question |
Data/readout |
Observation |
Statistical result |
Interpretation |
Figure/table |
Rules
- Keep observation separate from interpretation.
- Include sample size, grouping, statistical method, and uncertainty when known.
- If a statistic is missing, mark it; do not invent p-values or effect sizes.
7. Figure Storyline
Use when figures/tables carry the core story. Do not force AI images or a fixed number of figures; create figure plans only when evidence requires them.
Output
| Figure |
Question |
Main claim |
Panels/metrics |
Evidence source |
Caption message |
Review risk |
Rules
- One figure answers one scientific question.
- One panel supports one sub-claim or visual comparison.
- Captions state conclusion, evidence, and key condition, not only plot type.
- Missing raw data or unclear statistics must be flagged before drafting.
8. Reader Testing
Use before finalizing high-stakes documents or after major rewrites.
Test questions (target reader's perspective)
- What problem is this solving?
- What is the main contribution or ask?
- What evidence supports it?
- What remains uncertain?
- What should the reader do next?
Output
| Reader test item |
Pass/fail |
Evidence in draft |
Fix |
Rules
- Do not use author intention as proof of clarity. The draft must contain the answer.
- For talks, test spoken takeaway and figure sequence.
- For grants, test whether the aim and feasibility are recoverable in one pass.
9. Finalize Packet
Use before ending a full paper-writing task. Create a concise final state block:
| Item |
Value |
| Main draft |
{workdir}/draft/paper.md |
| Editable HTML |
{workdir}/report/<slug>_preview.html |
| Quality reports |
list |
| Open evidence gaps |
list or none |
| Unsupported claims removed/downgraded |
list |
| User decisions still needed |
list |
| Suggested next action |
concrete next step |
Rules
- Do not hide unresolved risks.
- Preserve enough state that another agent can resume without rereading the full conversation.
Sources: Anthropic doc-coauthoring (context gathering, reader testing),
DeepScientist paper-outline / review, nature-figure, nature-citation,
mattpocock writing-shape, K-Dense scientific-writing / literature-review /
research-grants, lishix520 strategist, academic-pipeline, PaperQA,
research-paper-writing.
1---2name: paper-writing-workflow3description: Workflow phases for paper-writing tasks: triage, material inventory, research question, literature review, paper outline, data analysis summary, figure storyline, reader testing, and finalize packet. Each phase is a short contract — read the relevant rows for the current task only.4---5
6# Paper Writing Workflow
7
8Workflow phases decide the order of work. They do not provide final prose
9style or visual themes. Use only the phases relevant to the current
10scenario; not every task needs every phase.
11
12| Phase | When to run | Output file |
13|---|---|---|
14| 1. Triage | every task; whenever user intent changes | `{workdir}/triage.md` |
15| 2. Material inventory | user supplied files, notes, data, figures, comments | `{workdir}/materials/inventory.md` |
16| 3. Research question | early papers, grants, vague topics; before outline | `{workdir}/research_question.md` |
17| 4. Literature review | claims need citation grounding or novelty positioning | `{workdir}/literature_matrix.md` |
18| 5. Paper outline | before drafting any full manuscript, grant, or report | `{workdir}/outline.md` |
19| 6. Data analysis summary | user provides result tables, plots, statistics, experiment notes | `{workdir}/results_table.md` |
20| 7. Figure storyline | figures/tables carry the core story | `{workdir}/figures_plan.md` |
21| 8. Reader testing | before finalizing high-stakes documents or after major rewrites | `{workdir}/reader_test.md` |
22| 9. Finalize packet | before ending a full task | `{workdir}/final_state.md` |
23
24Phases tied to a single scenario live in that scenario file:
25
26- Revision / rebuttal loop → [../scenarios/revision_response.md](../scenarios/revision_response.md)
27- Knowledge lineage / novelty audit → [../scenarios/grant_proposal.md](../scenarios/grant_proposal.md)
28
29---
30
31## 1. Triage
32
33Use at the start of every paper-writing task and whenever user intent changes.
34
35### Output
36
37Create or update `triage.md`:
38
39```yaml
40scenario_id: paper_submission
41format_id: journal_article
42theme_id: editable_article
43mode: report # report (default) | submission — see Mode section in SKILL.md
44language: zh
45audience: reviewers
46source_materials:
47 - materials/inventory.md
48output:
49 markdown_source: draft/paper.md
50 html_path: report/paper_preview.html
51 editable_html: true
52 pdf: true
53 docx: false
54 latex: false
55constraints:
56 venue_profile: null
57 page_size: A4
58 word_limits: null
59quality_gates:
60 - manuscript_coverage
61 - format_lint
62 - reproducibility
63 - html_editability_check
64 # submission mode only:
65 # - claim_evidence_check
66 # - reviewer_rubric
67 # - reporting_guideline_check (clinical only)
68```
69
70### Checks
71
72- If a UI label and user text conflict, prefer the user's latest text and note the conflict in `constraints`.
73- If target venue is unknown, keep `format_id` generic but do not ignore any provided page/word/style limits.
74- If the user only asks for a small section edit, still record scenario and gates, but output only the requested section plus relevant quality notes.
75
76---
77
78## 2. Material Inventory
79
80Use after triage when the user has supplied files, notes, datasets, figures, or reviewer comments.
81
82### Output
83
84Write `materials/inventory.md` with this table:
85
86| Material ID | Path/source | Type | Relevant sections | Claims supported | Gaps/risks |
87|---|---|---|---|---|---|
88| M001 | user file or note | draft/data/figure/PDF/comment | Methods, Results | C1, C4 | missing sample size |
89
90### Rules
91
92- Do not leave attachments only in chat context. Give each useful item an ID.
93- Mark unreadable or missing files explicitly.
94- Separate user-provided facts from model inference.
95- Map reviewer comments to `revision_response` IDs, not generic notes.
96
97---
98
99## 3. Research Question
100
101Use before outline writing for early papers, grants, and vague topics.
102
103### Output
104
105| Item | Requirement |
106|---|---|
107| Field context | What is already known |
108| Gap | What remains unknown or insufficient |
109| Question | Specific, testable question |
110| Hypothesis/aim | What the work claims or tests |
111| Boundary | What the work will not claim |
112| Evidence needed | Data, figure, citation, or user material needed |
113
114### Rules
115
116- Do not treat a broad topic as a research question.
117- For grants, produce aim-level statements and feasibility notes.
118- For papers, map each contribution to at least one evidence need.
119
120---
121
122## 4. Literature Review
123
124Use when claims need citation grounding, novelty needs positioning, or the user asks for related work.
125
126### Output — literature matrix
127
128| Paper ID | Citation/URL | Theme | What it supports | Limitation/gap | Candidate claim IDs |
129|---|---|---|---|---|---|
130
131### Rules
132
133- Group by theme, method, finding, or debate; do not merely list papers by year.
134- Classify support as `strong`, `partial`, `background`, or `conflicting`.
135- If a paper only matches the topic but not the exact claim, label it `background`, not `strong`.
136- For systematic reviews, trigger the reporting-guideline check (PRISMA) in [../SKILL.md](../SKILL.md).
137
138---
139
140## 5. Paper Outline
141
142Use before drafting any full manuscript, grant, or report.
143
144### Output — two synchronized views
145
146```text
147paper_view:
148 section -> purpose -> paragraph roles -> expected figures/tables
149evidence_view:
150 section -> claim IDs -> evidence IDs -> missing evidence -> risk
151```
152
153### Exit criteria
154
155- Each section has a purpose.
156- Core claims are scoped and numbered.
157- Evidence gaps are visible before writing.
158- The outline does not include raw logs, implementation chatter, or unfiltered analysis notes.
159
160---
161
162## 6. Data Analysis Summary
163
164Use when the user provides result tables, plots, statistics, or experiment notes.
165
166### Output
167
168| Result ID | Question | Data/readout | Observation | Statistical result | Interpretation | Figure/table |
169|---|---|---|---|---|---|---|
170
171### Rules
172
173- Keep observation separate from interpretation.
174- Include sample size, grouping, statistical method, and uncertainty when known.
175- If a statistic is missing, mark it; do not invent p-values or effect sizes.
176
177---
178
179## 7. Figure Storyline
180
181Use when figures/tables carry the core story. Do not force AI images or a fixed number of figures; create figure plans only when evidence requires them.
182
183### Output
184
185| Figure | Question | Main claim | Panels/metrics | Evidence source | Caption message | Review risk |
186|---|---|---|---|---|---|---|
187
188### Rules
189
190- One figure answers one scientific question.
191- One panel supports one sub-claim or visual comparison.
192- Captions state conclusion, evidence, and key condition, not only plot type.
193- Missing raw data or unclear statistics must be flagged before drafting.
194
195---
196
197## 8. Reader Testing
198
199Use before finalizing high-stakes documents or after major rewrites.
200
201### Test questions (target reader's perspective)
202
2031. What problem is this solving?
2042. What is the main contribution or ask?
2053. What evidence supports it?
2064. What remains uncertain?
2075. What should the reader do next?
208
209### Output
210
211| Reader test item | Pass/fail | Evidence in draft | Fix |
212|---|---|---|---|
213
214### Rules
215
216- Do not use author intention as proof of clarity. The draft must contain the answer.
217- For talks, test spoken takeaway and figure sequence.
218- For grants, test whether the aim and feasibility are recoverable in one pass.
219
220---
221
222## 9. Finalize Packet
223
224Use before ending a full paper-writing task. Create a concise final state block:
225
226| Item | Value |
227|---|---|
228| Main draft | `{workdir}/draft/paper.md` |
229| Editable HTML | `{workdir}/report/<slug>_preview.html` |
230| Quality reports | list |
231| Open evidence gaps | list or none |
232| Unsupported claims removed/downgraded | list |
233| User decisions still needed | list |
234| Suggested next action | concrete next step |
235
236### Rules
237
238- Do not hide unresolved risks.
239- Preserve enough state that another agent can resume without rereading the full conversation.
240
241---
242
243Sources: Anthropic doc-coauthoring (context gathering, reader testing),
244DeepScientist paper-outline / review, nature-figure, nature-citation,
245mattpocock writing-shape, K-Dense scientific-writing / literature-review /
246research-grants, lishix520 strategist, academic-pipeline, PaperQA,
247research-paper-writing.