adr-writer
Generates Architecture Decision Records capturing context, rationale, alternatives, and consequences in numbered status-tracked format. Triggers on: "write an…
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
$ npx -y skills add Mathews-Tom/armory --skill figure-table-quality --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/figure-table-qualityContext preview
The summary Claude sees to decide when to auto-load this skill.
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
name: figure-table-quality description: '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).' metadata: version: 1.0.0 complements: [figure-rhetoric, manuscript-review, manuscript-typography] category: review tags: [figures, tables, readability, rendering, latex] difficulty: advanced phase: review
**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.
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.
For every `\includegraphics` in the .tex source:
1. Extract the display width (e.g., `\textwidth`, `0.7\textwidth`, `0.55\textwidth`) 2. Compute the effective display width in inches using the document geometry 3. Read the figure generation script to find the `figsize` for each figure 4. Compute: `scale = display_width / figsize_width`
Also extract from the generation script or config:
For each figure, compute effective values at display scale and check:
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.
Check for overlapping text in:
For rotated labels: compute horizontal footprint as `len(label) × char_width × cos(rotation)`. If footprint > tick spacing, **FAIL**.
effective_marker = script_marker × scale effective_linewidth = script_linewidth × scale
For grouped bar charts:
For each `\begin{tabular}` or `\begin{table}`:
1. **Column alignment** — Are numeric columns right-aligned? Text left-aligned? 2. **Rule style** — Uses booktabs (`\toprule`, `\midrule`, `\bottomrule`)? No vertical rules? 3. **Caption position** — Table captions above, figure captions below? 4. **Width** — Does the table overflow margins? Check for `\resizebox` or `\small` hacks. 5. **Number formatting** — Consistent decimal places? Aligned decimal points? 6. **Header clarity** — Are column headers unambiguous?
1. **Shared elements** — Do figures that share axes use the same scale? 2. **Color scheme** — Is the same color used for the same condition across all figures? 3. **Label vocabulary** — Are condition/model labels identical across all figures? 4. **Font family** — Same font across all figures?
## 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] PASS
**AUTO-FIX** (apply directly):
Curated, production-grade skills, agents, hooks, rules, commands, utilities, and presets for AI coding agents. No magic, no demos — battle-tested workflows built for developers who use AI seriously.
Repo: Mathews-Tom/armory
Generates Architecture Decision Records capturing context, rationale, alternatives, and consequences in numbered status-tracked format. Triggers on: "write an…
Build AI agents and automate Claude Code programmatically via the Claude Agent SDK and headless CLI mode. Covers Python SDK, claude -p, SDK MCP servers, hooks,…
Audits and enhances FastAPI and REST API documentation: missing descriptions, response codes, examples, docstrings, Pydantic models, OpenAPI spec. Triggers on:…
Generate architecture diagrams as fully editable SVG with native AWS, Azure, and GCP icons for cloud diagrams, or hand-drawn generic icons for everything else.…
Architecture reviews across 7 dimensions (structural, scalability, enterprise readiness, performance, security, ops, data) with scored reports. Triggers on:…
Optimize and prepare figures for arXiv submission: format conversion (EPS/PDF/PNG/JPG), size reduction, metadata stripping, processor compatibility (DVI vs…