Paper Visual Craft
Routing Boundary
- Use
$paper-framework-figure-studio-profirst for source-grounded framework figure, method overview, architecture diagram, pipeline/process figure, system/data-flow figure, mechanism schematic, or agent workflow planning. - Return to
$paper-visual-craftfor final figure/table polish, Matplotlib or LaTeX edits, captions, color/typography cleanup, and rendered PDF/PNG validation.
Incremental Maintenance
- For a local number, caption, or format fix, reuse the established paper story and table contract. Verify the scoped source and connected text only; do not restart story questioning, re-freeze the contract, run a full literature review, or rerun experiments for cosmetic-only changes.
Core Workflow
Inspect before editing.
- Read the paper context around the target figure or table.
- Locate the source data, generation script, LaTeX include block, captions, and any reference visual the user named.
- If data provenance is unclear, stop and identify the exact missing source instead of redrawing from copied numbers.
Classify the visual.
- Decide whether it is a main-result figure, appendix diagnostic, dataset/statistics figure, ablation table, reliability/control table, or qualitative panel.
- Keep main-paper visuals compact and claim-focused. Use appendix visuals for diagnostics, extended controls, and richer tables.
- For dataset or benchmark papers, ask what story the visual supports: benchmark positioning, annotation effort, evidence source, main control, or diagnostic richness.
- Put the comparison axis first. The reader should immediately know what is being compared and what conclusion to read; the visual should not preserve implementation history, generated-condition inventories, or debug process unless those are the claim.
- Prefer a simple table for categorical comparisons and component ablations. Do not turn a row-and-column question into a complex diagram merely to make the presentation look more elaborate.
Freeze the table contract before experiments or a new visual contract.
- When planning results, define the final rows, columns, comparison axis, claim owner, and reference row before runs start.
- For each metric, record its plain definition, unit, direction, aggregation population, precision, and any delta reference or sign convention.
- If a LaTeX manuscript is in scope, add the final table scaffold there. Use
the project's explicit draft schema for missing values: preserve distinct
markers for pending results (such as
TBD) and inapplicable entries (such asN/A), or use--when that is the specified marker. Keep internal completion status out of captions and paper prose; before submission, resolve pending markers as required while allowing structuralN/Ato remain. Do not leave unrun result claims or internal notes.
Preserve measurement integrity.
- Preserve exact values, units, sample counts, conditions, and axis semantics.
- Do not mix raw values, percentages, percentage-point deltas, and relative deltas inside one visual unless the caption makes the units explicit.
- For a new numeric value or result row, read the value from the project's source summary or artifact before inserting it. Fit it to the table's existing measurement schema, then check precision, named reference, metric direction, and delta sign. If the table uses reference cells, deltas, arrows, or semantic colors, compute the comparison with the same precision and directionality; do not paste raw values into a delta-coded table.
- Put interpretation in captions or prose, not inside plot areas, unless a small label clarifies a data point without occluding information.
- For diagnostic figures, show metric behavior without implying a causal mechanism unless the experimental design directly tests causality. The caption should say what the diagnostic supports and what it does not prove.
- When table rows, columns, panels, or layout change, update the caption, nearby prose, cross-references, and later interpretive paragraphs in the same pass. A table edit is incomplete if the surrounding text still describes the old rows or comparison target, or if a new row omits the table's required reference/delta semantics.
Design with restrained hierarchy.
- Prefer vector outputs for papers and PNG previews for inspection.
- Use consistent legends, typography, line weights, tick formatting, row highlights, and caption structure.
- Reserve whitespace for endpoint labels and callouts; avoid labels floating over trends, bars, or dense table cells.
- For table heatmaps, use semantic color rather than raw sign, fixed-width colored cells, and delta text that is visually smaller than the main value.
- When a caption defines color semantics, color the color words themselves, such as green, red, amber, or blue.
- Do not use unconditional table resizing to make a table fill the page width. Resize only to shrink a naturally overwide table; never enlarge a table that already fits.
- Preserve the reader's intended comparison axis. For appendix diagnostics,
do not split one wide table into panels merely because it is wide; if the
user permits
resizeboxand horizontal scanning is the point, keep one coherent table and shrink it only as needed. - For planned experiments, create a clean paper-style table scaffold using the project's explicit missing-value schema instead of leaving prose TODOs. Keep the caption focused on the comparison contract, do not interpret placeholder values, and do not claim results for unrun experiments.
- Prune redundancy. Delete or merge duplicate controls, equivalent inputs, uninformative panels, and plain scatter plots with no clear message. Fewer clear visuals are better than a "fancy" but unfocused figure set.
- Use icons only when they reduce text and are reproducible from LaTeX or an existing project icon system. Do not copy external paper image assets.
Validate rendered output.
- Compile the paper or render the affected standalone output.
- Inspect the rendered PDF/PNG visually for clipping, overlap, crowded ticks, unreadable labels, broken references, excessive table scaling, and color imbalance.
- For dense colored tables, inspect each changed rendered page once after the final edit for semantic color, layout, clipping, and caption readability. Repeat only if the page changes again or an unresolved problem remains; visual inspection is still required.
- Report exact files changed, commands run, and any remaining visual risk.
Table Polish Reminders
- Use semantic color, not raw sign: color should answer whether the value is better, worse, a reference, or a diagnostic warning.
- Make tables serve the paper story. A table should let the reader scan the experimental question and evidence, not reconstruct the implementation chronology.
- Make each main table answer one reviewer question. Put the primary comparison before ablations and diagnostics, and remove metrics that do not change how the claim is interpreted.
- Make the comparison axis explicit before optimizing style. If the reader cannot tell whether rows compare models, controls, tasks, or implementation variants, redesign the table before polishing colors.
- Keep colored metric cells visually uniform with fixed-width columns; avoid short values producing tiny color patches.
- Make delta text secondary to the main value through smaller type and compact arrows.
- Before finalizing a new numeric row, audit every metric cell against the table contract: reference row, delta sign, lower-is-better or higher-is-better direction, color meaning, precision, and surrounding prose. A correct number in the wrong cell format is still a table error.
- When captions define color semantics, color the color words themselves, such as green, red, amber, and blue.
- Do not wrap fitting tables in
\resizebox{\linewidth}{!}or\resizebox{\textwidth}{!}just to fill space. Prefer native size; if width protection is needed, use a max-width wrapper that can shrink but cannot enlarge. - Treat splitting a table into panels as a design decision, not an automatic
fallback. Split only when separate panels improve the reader's comparison;
otherwise keep a unified wide table when it preserves scanability. If the
user explicitly allows
resizeboxand horizontal scanning is the core value, prefer one coherent shrunken table over two panels. - Always compile and render-check dense table pages after LaTeX edits, especially when adding cell-level color or rank cues.
- When a result is not ready, reserve the accepted row/column structure with the project's explicit missing-value schema only if the experiment is part of the paper story. Do not expose internal completion status in the caption or infer claims from unrun results.
Reference Routing
- Read
references/plot-design.mdfor Matplotlib figures, line plots, bars, subfigure panels, palettes, legends, annotations, and vector export. - Read
references/table-design.mdfor LaTeX tables, benchmark comparisons, grouped headers, row coloring, icons, compact captions, and table density. - Read
references/drivebench-patterns.mdwhen the user asks to borrow DriveBench-style design or when a benchmark table/control diagnostic needs that visual language. - Read
references/validation-checklist.mdbefore finalizing any figure or table that will appear in a compiled paper PDF.
Default Decisions
- Use a portable style; do not hardcode repository paths, dataset names, or paper-specific macros unless the current project already defines them.
- Prefer editing the existing figure/table generator over hand-editing generated outputs.
- Prefer true LaTeX subfigures or minipages with visible panel captions over a single combined image when panels need independent captions.
- Prefer compact table rows with short cells over long explanatory text in the table body.
- Treat judge scores, robustness diagnostics, and qualitative audits as secondary unless the paper explicitly makes them primary evidence.
- Update this skill or its references only with explicit user authorization. Promote reusable guidance and exclude private project details from the reusable workflow.