Manuscript creation

From docxology/template · View interactive version

Manuscript creation is an AI agent skill from the GitHub repository docxology/template. Scaffold a research manuscript and project layout from a research brief — sections, config.yaml, src/, scripts/, tests. USE WHEN starting a new paper, new projects/ tree, manuscript from topic description, or aligning with template_code_project exemplar — even without copy-paste prompts.

How to use this skill

Skill file

Manuscript creation

Natural invoke

Inputs to confirm

Workflow

  1. Copy exemplar shape — match section numbering (01_* vs 00_*), not generic skeleton if exemplar differs.
  1. Manuscript files — config.yaml, preamble.md, references.bib, ordered *.md sections, glossary/references as exemplar does.
  1. Cross-refs — Pandoc: @fig:, @eq:, @sec:, [@key] per CODE4. Registry: refs/labels.yaml + [[FIG:]] tokens.
  1. src/ — typed public APIs, get_logger, fixed seeds, custom exceptions where needed.
  1. scripts/ — thin orchestrators only; MPLBACKEND=Agg; print output paths.
  1. tests/ — no mocks; ≥90% on projects/<name>/src.
  1. Docs — project AGENTS.md + README.md; link active_projects doc, do not hard-code roster.
  1. One-shot alternative — for LLM scaffold of entire tree, see CODE0.

Deliverables

Verification commands

uv sync
uv run python scripts/pipeline/stage_01_test.py --project <name>
uv run python -m infrastructure.validation.cli markdown projects/<name>/manuscript/

When NOT to use

References

Section checklist and examples: references/structure-checklist.md

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.