# Nature Figure

Create, revise, audit or polish submission-grade manuscript figures for Nature-family...

- Repository: https://github.com/Boom5426/Nature-Paper-Skills (646 stars)
- Category: Design
- License: Apache-2.0
- Last updated: 2026-10-13
- Runs scripts: yes, review before use

## Install

Claude Code: `npx skills add Boom5426/Nature-Paper-Skills --skill nature-figure -g -a claude-code -y`
Codex: `npx skills add Boom5426/Nature-Paper-Skills --skill nature-figure -g -a codex -y`
Cursor: `npx skills add Boom5426/Nature-Paper-Skills --skill nature-figure -g -a cursor -y`
Gemini CLI: `npx skills add Boom5426/Nature-Paper-Skills --skill nature-figure -g -a gemini-cli -y`

## Description

Create, revise, audit or polish submission-grade manuscript figures for Nature-family and other high-impact journals using Python or R. Covers multi-panel scientific plots, matplotlib/seaborn, ggplot2/patchwork/ComplexHeatmap and journal-ready SVG/PDF/TIFF exports. Also use for OpenRouter GPT Image 2 graphical abstracts, concept or mechanism schematics when the user explicitly requests AI generation. Establish the figure conclusion, evidence logic and exports before execution; honor the chosen or saved plotting backend. Trigger on paper figures, scientific/academic plotting, manuscript data visualization, 论文配图、学术写作配图、科研绘图、科研作图、画图、作图、出图、论文图表、可视化、论文示意图、机制示意图、图形摘要. Not for dashboards or Illustrator/Figma-first infographics.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Nature Figure Making, Router

This skill is split into two layers:

- A **static layer** under `static/` that holds versioned, reusable content fragments (the figure contract and default stance, plus a per-backend quick-start for Python and R).
- A **dynamic layer** (this file plus `manifest.yaml`) that detects the plotting backend and loads only the fragment needed for the current job. The large design, API, pattern, and QA material lives in on-demand references.

Do not try to apply the figure logic from memory or from this router. Always load fragments from disk as described below.

## Routing protocol

Follow these steps every time the skill is invoked.

### 0. Check for the OpenRouter AI-schematic route

If the user explicitly asks to generate a manuscript schematic, graphical abstract, mechanism diagram, concept illustration, or paper schematic with OpenRouter, GPT Image 2, an image-generation API, or similar wording, do **not** ask "Python or R?". This is a non-plotting AI-schematic route.

For this route:

1. Read [manifest.yaml](manifest.yaml) and the `always_load` files.
2. Read [references/openrouter-image-generation.md](references/openrouter-image-generation.md).
3. Use [scripts/generate_openrouter_schematic.py](scripts/generate_openrouter_schematic.py) when the user wants a real API call or a reproducible payload.
4. Treat output as a draft schematic / graphical abstract, not as a quantitative data panel. Do not invent experimental values, author logos, institutional marks, or unsupported mechanisms.

Only continue to the Python/R backend gate for plotting, charting, data visualization, or manuscript figure assembly tasks that are not explicit OpenRouter AI image-generation requests.

### 1. Load the manifest and the core layer

Read [manifest.yaml](manifest.yaml). It declares the `backend` axis, the allowed values, and the file paths each value maps to.

The rest: https://github.com/Boom5426/Nature-Paper-Skills/blob/HEAD/skills/figure/nature-figure/SKILL.md
