paper-draftlisted
Install: claude install-skill Lambenthan/empiricalwiki
# /paper-draft
> Draft a complete LaTeX paper from the PAPER_PLAN.md generated by /paper-plan.
> Write section by section: each section draws material from wiki claims/experiments/papers/concepts,
> generates LaTeX + figures + tables. BibTeX is fetched from DBLP/CrossRef (following citation-verification).
> Apply de-AI polish after completion (following academic-writing).
> Optional per-section Review LLM review. Output a compilable paper/ directory.
## Inputs
- `plan`: path to PAPER_PLAN.md (e.g. `wiki/outputs/paper-plan-sparse-lora-2026-04-08.md`)
- `--review` (optional): enable per-section Review LLM review
- `--sections` (optional): write only specified sections (e.g. `--sections 3,4` writes only Method + Experiments); used for incremental writing
## Outputs
- `paper/` directory (under the wiki project root):
- `paper/main.tex` — master file (includes each section)
- `paper/sections/introduction.tex`
- `paper/sections/related_work.tex`
- `paper/sections/method.tex`
- `paper/sections/experiments.tex`
- `paper/sections/conclusion.tex`
- `paper/sections/appendix.tex` (if applicable)
- `paper/figures/` — generated figures (PDF/PNG)
- `paper/tables/` — standalone table files (optional)
- `paper/math_commands.tex` — shared math symbol definitions
- `paper/references.bib` — verified BibTeX entries
- `wiki/log.md` — appended log entry
## Wiki Interaction
### Reads
- `wiki/outputs/paper-plan-*.md` — PAPER_PLAN (section outline, evidence map, figure pla