agentleFS
sidiangongyuansidiangongyuan/codex-skills-library/skills/paper-visual-craft/SKILL.md

paper-visual-craft

Skill11 starsChanged 4 months agoMITView on GitHub

Use when designing, redrawing, or validating research-paper figures and tables, including Matplotlib plots, LaTeX tables, benchmarks, captions, legends, annotations, color, and typography. Preserves exact evidence and checks rendered PDFs for clipping, overlap, and readability.

The file

Show its rules and text

We split this skill into the rules it gives an agent

36 rules. About 0 are common, 29 are distinctive, and 7 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈29

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 7

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use $paper-framework-figure-studio-pro first for source-grounded framework figure, method overview, architecture diagram, pipeline/process …

    line 11
  2. Distinctive:

    Read the paper context around the target figure or table.

    line 28
  3. Distinctive:

    If data provenance is unclear, stop and identify the exact missing source instead of redrawing from copied numbers.

    line 30
  4. Distinctive:

    Keep main-paper visuals compact and claim-focused.

    line 34
  5. Distinctive:

    Put the comparison axis first.

    line 36
  6. Distinctive:

    Prefer a simple table for categorical comparisons and component ablations.

    line 40
  7. Distinctive:

    Do not turn a row-and-column question into a complex diagram merely to make the presentation look more elaborate.

    line 41
  8. Distinctive:

    When planning results, define the final rows, columns, comparison axis, claim owner, and reference row before runs start.

    line 45
  9. Very specific:

    If a LaTeX manuscript is in scope, add the final table scaffold there.

    line 49
  10. Distinctive:

    Do not mix raw values, percentages, percentage-point deltas, and relative deltas inside one visual unless the caption makes the units …

    line 59
  11. Distinctive:

    Put interpretation in captions or prose, not inside plot areas, unless a small label clarifies a data point without occluding information.

    line 66
  12. Distinctive:

    When table rows, columns, panels, or layout change, update the caption, nearby prose, cross-references, and later interpretive paragraphs …

    line 75
  13. Distinctive:

    Prefer vector outputs for papers and PNG previews for inspection.

    line 82
  14. Distinctive:

    Use consistent legends, typography, line weights, tick formatting, row highlights, and caption structure.

    line 83
  15. Distinctive:

    When a caption defines color semantics, color the color words themselves, such as green, red, amber, or blue.

    line 86
  16. Distinctive:

    Do not use unconditional table resizing to make a table fill the page width.

    line 87
  17. Distinctive:

    Keep the caption focused on the comparison contract, do not interpret placeholder values, and do not claim results for unrun experiments.

    line 94
  18. Distinctive:

    Use icons only when they reduce text and are reproducible from LaTeX or an existing project icon system.

    line 99
  19. Distinctive:

    Use semantic color, not raw sign: color should answer whether the value is better, worse, a reference, or a diagnostic warning.

    line 112
  20. Distinctive:

    Keep colored metric cells visually uniform with fixed-width columns.

    line 120
  21. Distinctive:

    Before finalizing a new numeric row, audit every metric cell against the table contract: reference row, delta sign, lower-is-better or …

    line 122
  22. Distinctive:

    When captions define color semantics, color the color words themselves, such as green, red, amber, and blue.

    line 126
  23. Very specific:

    Do not wrap fitting tables in \resizebox{\linewidth}{!} or \resizebox{\textwidth}{!} just to fill space.

    line 127
  24. Distinctive:

    Treat splitting a table into panels as a design decision, not an automatic fallback.

    line 128
  25. Distinctive:

    Always compile and render-check dense table pages after LaTeX edits, especially when adding cell-level color or rank cues.

    line 133
  26. Distinctive:

    When a result is not ready, reserve the accepted row/column structure with the project's explicit missing-value schema only if the …

    line 134
  27. Very specific:

    Read references/plot-design.md for Matplotlib figures, line plots, bars, subfigure panels, palettes, legends, annotations, and vector …

    line 141
  28. Very specific:

    Read references/table-design.md for LaTeX tables, benchmark comparisons, grouped headers, row coloring, icons, compact captions, and table …

    line 142
  29. Very specific:

    Read references/drivebench-patterns.md when the user asks to borrow DriveBench-style design or when a benchmark table/control diagnostic …

    line 143
  30. Very specific:

    Read references/validation-checklist.md before finalizing any figure or table that will appear in a compiled paper PDF.

    line 144
  31. Distinctive:

    Use a portable style; do not hardcode repository paths, dataset names, or paper-specific macros unless the current project already defines …

    line 148
  32. Distinctive:

    Prefer editing the existing figure/table generator over hand-editing generated outputs.

    line 149
  33. Distinctive:

    Prefer true LaTeX subfigures or minipages with visible panel captions over a single combined image when panels need independent captions.

    line 150
  34. Distinctive:

    Prefer compact table rows with short cells over long explanatory text in the table body.

    line 151
  35. Distinctive:

    Treat judge scores, robustness diagnostics, and qualitative audits as secondary unless the paper explicitly makes them primary evidence.

    line 152
  36. Distinctive:

    Update this skill or its references only with explicit user authorization.

    line 153

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Paper Visual Craft

Routing Boundary

  • Use $paper-framework-figure-studio-pro first 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-craft for 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

  1. 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.
  2. 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.
  3. 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 as N/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 structural N/A to remain. Do not leave unrun result claims or internal notes.
  4. 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.
    • Let a complete table or caption carry secondary metrics and tradeoffs when their units, directions, comparison scope, and necessary conditions are clear. Let the surrounding prose carry the main finding; do not restate a table-visible tradeoff as a negative conclusion. Keep a boundary in prose when it changes fairness, applicability, or claim interpretation.
    • 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.
  5. 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 resizebox and 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.
  6. 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 resizebox and 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.md for Matplotlib figures, line plots, bars, subfigure panels, palettes, legends, annotations, and vector export.
  • Read references/table-design.md for LaTeX tables, benchmark comparisons, grouped headers, row coloring, icons, compact captions, and table density.
  • Read references/drivebench-patterns.md when the user asks to borrow DriveBench-style design or when a benchmark table/control diagnostic needs that visual language.
  • Read references/validation-checklist.md before 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.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

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.