Fig critique

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

Fig critique is an AI agent skill from the GitHub repository FOURTEEN1416/academic-agent-toolkit. Critique academic figures for format, colorblind safety, legibility, overplotting, and category count. Use when reviewing figures.

How to use this skill

Skill file

fig-critique — Figure Quality Review

Systematically review academic figures and flag common issues that hurt readability, accessibility, and print quality.

When to Use

Workflow

1. Find figures

Search in this order:

  1. User-provided path(s) — file or directory
  2. If a manuscript is present, resolve figure files referenced by \includegraphics, \includesvg, \includestandalone, and figure-related \input commands in the TeX tree
  3. If no manuscript is found, fall back to figures/, fig/, then a recursive search for figure files in the paper directory (exclude node_modules, .git, and build artifacts)

Only ask the user to confirm the figure list if multiple candidate manuscripts are found or the resolved figure set looks suspiciously broad.

2. Programmatic pre-checks

Run these checks per figure using Bash:

File format / resolution check

Classify each figure as:

Do not decide acceptability from extension alone.

Raster is acceptable when the content is inherently image-based, such as microscopy, medical imaging, satellite or photographic imagery, screenshots, or other pixel-native data products.

Bitmap-in-PDF check

For .pdf figures only, run:

pdfimages -list <figure.pdf>

Interpretation:

Only flag if the PDF appears to be essentially a raster wrapper rather than a genuinely mixed figure.

If pdfimages is not installed, note this and skip the check (do not fail the whole review).

3. Vision checks

Read each figure image using the Read tool and evaluate the following. For each check, provide a clear pass/flag verdict with explanation.

Subpanels: Many academic figures contain multiple panels (a, b, c, ...). When a figure has subpanels, evaluate each panel individually — one panel may have issues while others are fine. Reference specific panels in flags (e.g., "panel (c) is overplotted"). Also check that panels are clearly labeled (a, b, c or A, B, C) — unlabeled panels make it hard to reference from the text.

Colorblind risk

Examine the colors used to distinguish data categories or encode information.

Too many categories

Count the number of distinct categorical colors or legend entries.

Font legibility

Assess whether text elements (axis labels, tick labels, legend text, annotations) are legible at the figure's likely print size (typically a single column ~3.5 in or double column ~7 in).

Overplotted scatterplot

If the figure is a scatterplot (or similar point-based plot):

Dynamite plot

A "dynamite plot" is a bar chart with error bars used to show point estimates and uncertainty. It hides individual data points and the underlying distribution, and the bar's visual metaphor of physical accumulation is misleading (especially with non-zero baselines or log scales).

4. Report

Present a per-figure report in this format:

## Figure: <filename>

| Check | Verdict | Notes |
|-------|---------|-------|
| File format / resolution | PASS / WARN / FLAG | ... |
| Raster-components-in-PDF | PASS / FLAG / SKIP | ... |
| Colorblind risk | PASS / FLAG | ... |
| Category count | PASS / FLAG | ... |
| Font legibility | PASS / FLAG | ... |
| Overplotted scatter | PASS / FLAG / N/A | ... |
| Dynamite plot | PASS / FLAG / N/A | ... |

**Recommendations:**
- ...

After all figures, provide a summary count: N figures reviewed, N flags total.

Rules

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.