# nature-figure

nature-figure structures high-impact publication figure design using Python or R backends.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 240 repo stars
- Author: franklee16
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/franklee16/academic-research-skills/tree/HEAD/nature-skills-main/nature-figure/SKILL.md
- Updated: 2026-09-18
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/franklee16-nature-figure

## What it does

This workflow forces the coding agent to approach scientific illustration as an argument rather than pure decoration. Before generating plot scripts, Claude Code establishes a figure contract: it identifies the primary claim, verifies that every planned panel adds distinct evidence, and sets target dimensions alongside editable vector text rules for SVG, PDF, or 600 DPI TIFF files.

The framework enforces a hard backend gate. Unless the user explicitly names the environment upfront, execution halts on a single question: “Python or R?”. Cross-rendering between environments is banned; the assistant will not draft quick previews in R if Python packages are missing, choosing instead to halt and report the missing runtime.

Supported libraries include `matplotlib` and `seaborn` on the Python track, plus `ggplot2`, `patchwork`, and `ComplexHeatmap` on the R track. The setup focuses strictly on paper figures and explicitly excludes web dashboards or design-tool infographics.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add franklee16/academic-research-skills --skill nature-figure -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/nature-figure/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/nature-figure/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add franklee16/academic-research-skills --skill nature-figure -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/nature-figure/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add franklee16/academic-research-skills --skill nature-figure -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/nature-figure/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install franklee16/academic-research-skills nature-skills-main/nature-figure/SKILL.md
```

2. **Manually: put the files in place**
- File: `.github/skills/nature-figure/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add franklee16/academic-research-skills --skill nature-figure -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/franklee16/academic-research-skills --path nature-skills-main/nature-figure
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/nature-figure/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/franklee16/academic-research-skills/tree/HEAD/nature-skills-main/nature-figure/SKILL.md

## When to use it
- construct multi-panel publication figures defending a central paper thesis
- configure journal-ready SVG and PDF outputs with unoutlined editable fonts
- audit evidence logic across scientific plot panels prior to manuscript submission

## Example prompts
- Build a multi-panel figure for a Nature paper using Python and seaborn
- Prepare a genomic heatmap layout in R using ComplexHeatmap and patchwork
- Audit my plot export parameters to ensure 600 DPI TIFF and editable SVG text

## Similar
- [figure-generation](https://affpapa.org/en/nevibecode/skills/figure-generation.md) — skill · 2300 installs
- [mathmodel-figure-templates](https://affpapa.org/en/nevibecode/skills/mathmodel-figure-templates.md) — skill · 1700 installs
- [seaborn](https://affpapa.org/en/nevibecode/skills/tondevrel-seaborn.md) — skill · 167 installs
- [scientific-figure](https://affpapa.org/en/nevibecode/skills/scientific-figure.md) — skill · ★ 185 repo stars
- [answers-charts](https://affpapa.org/en/nevibecode/skills/answers-charts.md) — skill · ★ 171 repo stars
- [figure-designer](https://affpapa.org/en/nevibecode/skills/figure-designer.md) — skill · 919 installs

## Other versions with the same name
- [nature-figure · yuan1z0825](https://affpapa.org/en/nevibecode/skills/nature-figure.md) — 20700 installs

From the same set: [franklee16/academic-research-skills](https://affpapa.org/en/nevibecode/by/franklee16/academic-research-skills.md) — 98 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
