Fig publication chart

From FOURTEEN1416/academic-agent-toolkit · View interactive version

Fig publication chart is an AI agent skill from the GitHub repository FOURTEEN1416/academic-agent-toolkit. Use when the user asks for a publication-quality scientific figure or table, chart-type advice, or end-to-end figure production.

How to use this skill

Skill file

Publication Chart Skill

本仓路由边界:数模竞赛出图主链走 paper-figure(FIGURE_MANIFEST 账本 + save_fig 护栏);仅做"该用哪种图"的纯选型咨询走 fig-visualization-advisor;本技能面向期刊投稿级图表/表格的端到端生产(pubfig/pubtab 栈)与出版 QA。

Goal

Use this skill to turn research results into publication-grade figures and tables with an end-to-end workflow.

Primary production stack:

This skill covers the full delivery chain:

  1. understand the scientific communication goal,
  2. choose the right artifact type,
  3. map the task to pubfig, pubtab, or both,
  4. generate concrete runnable instructions,
  5. export paper-ready assets,
  6. run publication QA,
  7. propose targeted revisions.

Use this skill when

Trigger this skill for requests like:

Do not use this skill for

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.

Primary contract

Inputs

Expect some combination of:

Outputs

The minimum useful output is:

Default workflow

0. Probe the environment and artifact state

Before generating anything, identify:

Prefer the smallest environment check that helps execution. When the bundled helper script is available, use it first:

Equivalent manual checks are still acceptable when needed:

Report the result clearly as available or missing.

If a dependency is missing and the task requires runnable execution:

Equivalent concrete commands include:

If auto-install fails, report the exact failure and then degrade gracefully.

Do not block on a full environment audit.

1. Classify the task

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.

2. Choose the representation

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.

3. Map to the toolchain

Default mapping:

Tool roles:

Route selection rules:

4. Generate concrete artifact instructions

Prefer the smallest production-ready artifact first:

Then add publication parameters only when justified:

Keep filenames and suffixes explicit.

Good defaults:

5. Define the delivery contract

For every response, make these explicit when possible:

6. Run publication QA

After generation, check:

The QA output must be concrete. Do not say “looks better” without naming why.

7. Revise

If the result is weak, revise with specific changes such as:

Missing dependency behavior

If pubfig or pubtab is not available:

Composite assembly rule

Treat composite or Figma assembly as secondary:

Do not escalate simple figure tasks into composite/Figma workflows by default.

Output style rules

Recommended response shape

A strong response using this skill usually has 6 parts:

  1. Artifact decision — figure / table / paired deliverable, and why
  2. Tool route — pubfig, pubtab, or both
  3. Minimal implementation — runnable code or CLI
  4. Export plan — filenames, formats, width/backend/preview choices
  5. Publication QA — what to verify before paper submission
  6. Revision plan — what to change if the current artifact is weak

Resources

Load these as needed:

For prompt-shaped examples, see examples/.

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.