figure-table-quality
Skill340 starsChanged 7 months agoMITView on GitHub
Readability and rendering audit for figures and tables in academic manuscripts. Computes effective font/marker sizes at display scale from generation scripts, checks label collisions, color/hatch accessibility, axis-range efficiency, table formatting, and cross-figure consistency. Triggers on: "check figure quality", "audit plots", "readability check", "figure rendering", "are my figures readable", "table formatting check". Companion to figure-rhetoric (visual argument) and manuscript-typography (typesetting).
We split this skill into the rules it gives an agent
14 rules. About 0 are common, 13 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈13
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
Verify that every figure and table in a manuscript renders at readable size in the compiled PDF.
- Very specific: line 33
Read the figure generation script to find the figsize for each figure
- Distinctive: line 57
FAIL: if any element falls below minimum.
- Distinctive: line 58
WARN: if any element falls below warning threshold.
- Distinctive: line 61
Check for overlapping text in:
- Distinctive: line 81
Check if bars are distinguishable (minimum 3pt effective width)
- Distinctive: line 82
Check if hatch patterns render at effective size
- Distinctive: line 83
Check for bar-label alignment
- Distinctive: line 87
Do hatch patterns provide redundant encoding for color?
- Distinctive: line 93
If less than 40% of axis range contains data: WARN (wasted space)
- Distinctive: line 94
If data touches axis boundary: WARN (clipped data)
- Distinctive: line 97
Do any data annotations overlap each other?
- Distinctive: line 99
Do annotations use consistent formatting (fontsize, weight)?
- Distinctive: line 188
Check arXiv format compliance (that's arxiv-preflight)
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Figure & Table Quality Audit
Pipeline position: Phase 2.5 (between Grounding/Polish and Submission).
Runs after figure-rhetoric (content) and before arxiv-preflight (compliance).
See /manuscript-pipeline for full execution order.
Purpose
Verify that every figure and table in a manuscript renders at readable size in the compiled PDF. figure-rhetoric checks whether figures communicate the right message. This skill checks whether the reader can physically read them.
Execution
Step 1 — Build the display-scale map
For every \includegraphics in the .tex source:
- Extract the display width (e.g.,
\textwidth,0.7\textwidth,0.55\textwidth) - Compute the effective display width in inches using the document geometry
- Read the figure generation script to find the
figsizefor each figure - Compute:
scale = display_width / figsize_width
Also extract from the generation script or config:
- Base font sizes: title, label, tick, legend, annotation
- Marker sizes, line widths
- Bar widths (for grouped bar charts)
Step 2 — Per-figure audit (all 9 checks)
For each figure, compute effective values at display scale and check:
2a. Font size at render
effective_font = script_font × scale| Element | Minimum | Warning |
| Axis title | 7pt | 8pt |
| Tick labels | 6pt | 7pt |
| Legend text | 6pt | 7pt |
| Annotations | 6pt | 7pt |
| Panel titles | 7pt | 8pt |
FAIL if any element falls below minimum. WARN if any element falls below warning threshold.
2b. Label collision
Check for overlapping text in:
- X-axis tick labels (especially with rotation < 45° and > 3 labels)
- Y-axis tick labels (long text strings)
- Data annotations near each other
- Legend entries overlapping data
For rotated labels: compute horizontal footprint as
len(label) × char_width × cos(rotation). If footprint > tick spacing, FAIL.
2c. Marker and line visibility
effective_marker = script_marker × scale
effective_linewidth = script_linewidth × scale- Markers below 4pt effective: WARN
- Line widths below 0.5pt effective: WARN
2d. Bar chart readability
For grouped bar charts:
- Compute effective bar width in inches
- Check if bars are distinguishable (minimum 3pt effective width)
- Check if hatch patterns render at effective size
- Check for bar-label alignment
2e. Color and hatch accessibility
- Are all series distinguishable in grayscale?
- Do hatch patterns provide redundant encoding for color?
- Are there more than 5 colors without hatching? WARN
- Are similar colors used for unrelated series?
2f. Axis range efficiency
- Compute data range vs axis range
- If less than 40% of axis range contains data: WARN (wasted space)
- If data touches axis boundary: WARN (clipped data)
2g. Annotation readability
- Do any data annotations overlap each other?
- Are annotations positioned to avoid occluding data?
- Do annotations use consistent formatting (fontsize, weight)?
2h. Legend placement
- Does the legend overlap any data points or bars?
- Is the legend in a consistent position across similar figures?
- For multi-panel figures: is the legend in the first panel only (not repeated)?
2i. Whitespace and margins
- Does
tight_layout()or equivalent handle margins? - Are panel titles cut off?
- Is there excessive whitespace (> 30% of figure area empty)?
Step 3 — Table audit
For each \begin{tabular} or \begin{table}:
- Column alignment — Are numeric columns right-aligned? Text left-aligned?
- Rule style — Uses booktabs (
\toprule,\midrule,\bottomrule)? No vertical rules? - Caption position — Table captions above, figure captions below?
- Width — Does the table overflow margins? Check for
\resizeboxor\smallhacks. - Number formatting — Consistent decimal places? Aligned decimal points?
- Header clarity — Are column headers unambiguous?
Step 4 — Cross-figure consistency
- Shared elements — Do figures that share axes use the same scale?
- Color scheme — Is the same color used for the same condition across all figures?
- Label vocabulary — Are condition/model labels identical across all figures?
- Font family — Same font across all figures?
Output format
## Figure & Table Quality Report
### Display Scale Map
| Figure | figsize | display | scale | verdict |
|--------|---------|---------|-------|---------|
| fig1 | 7×4 | 6.27" | 90% | OK |
### Per-Figure Findings
#### Figure 1 (fig1_resolve_rates.pdf)
- [PASS] Font sizes: tick 8.1pt, legend 8.1pt
- [PASS] No label collisions
- [WARN] Bar width 3.2pt — borderline at print size
...
### Table Findings
#### Table 1 (table1_resolve.tex)
- [PASS] Booktabs rules
- [PASS] Caption above tabular
...
### Cross-Figure Consistency
- [PASS] Color scheme consistent
- [FAIL] Label mismatch: fig2 uses "cmd", other figures use "Yuj"
### Summary
- [count] FAIL (must fix)
- [count] WARN (should fix)
- [count] PASSAuto-Fix Rules
AUTO-FIX (apply directly):
- Rotation increase for overlapping x-labels (20°/15° → 45°)
- figsize reduction to match display context (eliminate >25% downscaling)
- Missing
tight_layout()calls - Inconsistent label text across figures (align to config/source of truth)
HUMAN-REQUIRED (present and wait):
- Figure redesign (different layout, panel arrangement)
- Axis range changes
- Color scheme changes
- Font size increases that affect layout
- Table restructuring
Integration
This skill reads:
.texsource (\includegraphicsdirectives,\geometrysettings)- Figure generation scripts (figsize, font sizes, rotations, annotations)
- Figure config files (shared settings)
- Generated figure files (visual spot-check if PDF readable)
- Table
.texfiles
It does NOT:
- Evaluate whether figures communicate the right message (that's figure-rhetoric)
- Check arXiv format compliance (that's arxiv-preflight)
- Audit prose or claims (that's manuscript-review)
In this repository94 other files it gives its agents.
- AGENTS.mdAGENTS.md
- adr-writerSkill
- agent-builderSkill
- animateSkill
- api-docs-generatorSkill
- appraiseSkill
- architecture-diagramSkill
- architecture-reviewerSkill
- arxiv-figuresSkill
- arxiv-packageSkill
- arxiv-preflightSkill
- benchmark-runnerSkill
- changelog-composerSkill
- chart-claritySkill
- citation-auditSkill
- codebase-advisorSkill
- code-refinerSkill
- competitive-analyzerSkill
- concept-to-imageSkill
- debug-investigatorSkill
- decision-mapSkill
- dependency-auditSkill
- devils-advocateSkill
- domain-modelingSkill
- engineering-retroSkill
- env-validatorSkill
- estimate-calibratorSkill
- feasibility-assessorSkill
- figure-rhetoricSkill
- filesystemSkill
- githubSkill
- gpu-optimizerSkill
- handoffSkill
- html-presentationSkill
- html-videoSkill
- humanizeSkill
- idea-validatorSkill
- immuneSkill
- intakeSkill
- kg-builderSkill
- launch-videoSkill
- learning-workspaceSkill
- lightpanda-browserSkill
- linkedin-post-styleSkill
- literature-reviewSkill
- manuscript-provenanceSkill
- manuscript-reviewSkill
- manuscript-typographySkill
- market-analyzerSkill
- marp-slidesSkill
- mcp-to-skillSkill
- md-to-pdfSkill
- migration-risk-analyzerSkill
- milestone-runnerSkill
- module-deepeningSkill
- notebooklmSkill
- package-evaluatorSkill
- package-optimizerSkill
- paper-to-skillSkill
- plan-promptsSkill
- The first 60 shown.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

