Nanoresearch writing
/SKILLDraft a LaTeX research paper from all previous stage outputs
--- name: nanoresearch-writing description: Draft a LaTeX research paper based on all outputs from previous stages 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 a bibliography. ## Required Tools - generate_latex: Generate and assemble LaTeX source files for each section of the paper - compile_pdf: Compile the LaTeX source into a PDF document - generate_figure: Produce publication-quality figures from experimental 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 1. Parse all upstream outputs to gather hypotheses, literature, experiment design, and results 2. Generate the paper outline following a standard structure (Abstract, Introduction, Related Work, Method, Experiments, Conclusion) 3. Draft the Abstract summarizing the problem, approach, and key findings 4. Draft the Introduction justifying the research question and outlining the paper’s contributions 5. Draft the Related Work section synthesizing the literature reviewed during the ideation stage 6. Draft the Method section describing the proposed approach in detail 7. Draft the Experiments section with dataset descriptions, baseline comparisons, and ablation results 8. Generate figures (performance plots, ablation charts, architecture diagrams) using generate_figure 9. Generate tables summarizing quantitative results 10. Draft the Conclusion with a summary of findings and directions for future work 11. Compile the bibliography from all cited papers 12. Assemble the full LaTeX document using generate_latex 13. 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