| name | nanoresearch-writing |
| description | Draft a LaTeX research paper from all previous stage outputs |
| version | 0.1.0 |
Writing Skill
Purpose
Take all previous outputs (ideation, planning, experiment results) and produce a complete LaTeX paper draft with figures, tables, and bibliography.
Tools Required
generate_latex: Generate and assemble LaTeX source files for each paper section
compile_pdf: Compile the LaTeX source into a PDF document
generate_figure: Produce publication-quality figures from experiment results
Input
ideation_output: Path to papers/ideation_output.json from the ideation skill
experiment_blueprint: Path to papers/experiment_blueprint.json from the planning skill
experiment_results: Path to experiments/ directory containing code and results from the experiment skill
Process
- Parse all upstream outputs to gather hypotheses, literature, experiment design, and results
- Generate the paper outline following a standard structure (Abstract, Introduction, Related Work, Method, Experiments, Conclusion)
- Draft the Abstract summarizing the problem, approach, and key findings
- Draft the Introduction motivating the research question and stating contributions
- Draft Related Work synthesizing the surveyed literature from the ideation stage
- Draft the Method section describing the proposed approach in detail
- Draft the Experiments section with dataset descriptions, baseline comparisons, and ablation results
- Generate figures (performance plots, ablation charts, architecture diagrams) using
generate_figure
- Generate tables summarizing quantitative results
- Draft the Conclusion with a summary of findings and future work directions
- Compile the bibliography from all cited papers
- Assemble the full LaTeX document using
generate_latex
- Compile to PDF using
compile_pdf and verify the output
Output
Produces papers/draft/ directory containing:
main.tex: Complete LaTeX source of the paper
references.bib: Bibliography file with all citations
figures/: Generated figures in PDF or PNG format
tables/: LaTeX table source files
main.pdf: Compiled PDF of the paper draft