This skill should be used when the user asks for a publication-quality scientific figure or table, wants help choosing the right chart for results, needs a paper-ready pubfig or pubtab workflow, wants a figure + companion table for a results section, wants an Excel sheet turned into publication-ready LaTeX, or wants an existing scientific figure/table reviewed and upgraded.
68
85%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Use this skill to turn research results into publication-grade figures and tables with an end-to-end workflow.
Primary production stack:
pubfig for figurespubtab for publication tablesThis skill covers the full delivery chain:
pubfig, pubtab, or both,Trigger this skill for requests like:
Do not use this skill when the task is mainly:
For simple composite assembly after the figure content is already strong, use the optional secondary workflow in references/composite-assembly.md.
Expect some combination of:
.tex, screenshots, or draft plots,The minimum useful output is:
pubfig / pubtab route,Before generating anything, identify:
pubfig or pubtab is actually available,.tex / screenshots,Prefer the smallest environment check that helps execution. When the bundled helper script is available, use it first:
python3 scripts/ensure_publication_tooling.py --require pubfig --jsonpython3 scripts/ensure_publication_tooling.py --require pubtab --jsonEquivalent manual checks are still acceptable when needed:
python -c "import pubfig; print(pubfig.__version__)"python -c "import pubtab; print(pubtab.__version__)"pubtab --helpReport the result clearly as available or missing.
If a dependency is missing and the task requires runnable execution:
python3 scripts/ensure_publication_tooling.py --require ... as the default bundled route when the script is present,uv vs python -m pip against the active interpreter,Equivalent concrete commands include:
python3 scripts/ensure_publication_tooling.py --require pubfigpython3 scripts/ensure_publication_tooling.py --require pubtabuv pip install pubfiguv pip install pubtabpython -m pip install pubfigpython -m pip install pubtabIf auto-install fails, report the exact failure and then degrade gracefully.
Do not block on a full environment audit.
Classify the request along these axes:
Do not jump into plotting code before the communication target is clear.
Before plotting research results, lock the evidence contract:
If these are unclear, ask or produce an audit recommendation instead of a polished figure. Do not create a paper-ready plot while the unit of analysis, missing-cell handling, or error-bar basis is unresolved.
Choose the representation based on the scientific claim, not novelty or visual flair.
Common families:
Avoid weak defaults:
If the request is ambiguous, explicitly state what scientific claim the artifact is supposed to support.
Default mapping:
pubfigpubtabTool roles:
pubfig is the default figure engine for scientific plots and paper-ready export.pubtab is the default table engine for Excel ↔ LaTeX workflows, preview, and publication-ready table export.Route selection rules:
pubfig figure generation,pubtab when the task is file-driven,pubtab when the task is already inside a notebook or scripted pipeline,Prefer the smallest production-ready artifact first:
pubfig, orpubtabThen add publication parameters only when justified:
Keep filenames and suffixes explicit.
Good defaults:
pubfig call + one save_figure(...)batch_export(...)pubtab xlsx2tex ... or pubtab.preview ...For every response, make these explicit when possible:
pubfig and which by pubtab,After generation, check:
The QA output must be concrete. Do not say “looks better” without naming why.
If the result is weak, revise with specific changes such as:
If pubfig or pubtab is not available:
python3 scripts/ensure_publication_tooling.py --require ... when the bundled script exists,Treat composite or Figma assembly as secondary:
Do not escalate simple figure tasks into composite/Figma workflows by default.
pubfig: available/missing, pubtab: available/missing.A strong response using this skill usually has 6 parts:
pubfig, pubtab, or bothLoad these as needed:
references/workflow.md — full end-to-end decision order and delivery contractreferences/chart-selection.md — task-to-chart mapping and anti-patternsreferences/execution-and-verification.md — environment probing, forced install behavior, and runnable verificationscripts/ensure_publication_tooling.py — bundled probe + auto-install helper for pubfig / pubtabreferences/pubfig-recipes.md — shortest useful figure patterns and export routesreferences/pubtab-recipes.md — shortest useful table routes and backend guidancereferences/source-guides/pubfig-architecture.md — package layout and figure-generation boundaries from sourcereferences/source-guides/pubfig-api-map.md — stable public pubfig surface and chart-family map from __init__.pyreferences/source-guides/pubfig-export-flow.md — figure export, publication sizing, and panel-export flow from sourcereferences/source-guides/pubtab-architecture.md — package layout and forward/reverse conversion architecture from sourcereferences/source-guides/pubtab-cli-api-flow.md — CLI-to-API control flow and batch/sheet behavior from sourcereferences/source-guides/pubtab-backend-and-preview.md — backend/theme split and real preview compile pipeline from sourcereferences/publication-qa-checklist.md — figure/table QA checklistreferences/composite-assembly.md — optional multi-panel and Figma branchFor prompt-shaped examples, see examples/.
2f7766f
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.