publication-ready
Skill45 starsChanged 3 months agoMITView on GitHub
Generate publication-quality figures following journal standards for Nature, Cell, and other high-impact journals. Use when user wants to create figures for papers, presentations, or reports with professional formatting. Triggers: "publication figure", "paper figure", "Nature style", "journal figure", "export for publication", "figure panel", "high quality plot".
In this repository8 other files it gives its agents.
- cell-compositionSkill
- cell-dynamicsSkill
- cell-interactionSkill
- differential-analysisSkill
- functional-analysisSkill
- spatial-analysisSkill
- spatial-patternsSkill
- troubleshootSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
Clarity over decoration: Every element serves a purpose
- Distinctive: line 194
Add panel labels and annotations
≈ “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.
Files
Publication-Ready Figures
Overview
This skill creates publication-quality visualizations following journal standards.
Key principles:
- Clarity over decoration: Every element serves a purpose
- Consistent styling: Uniform fonts, colors, and sizing
- Reproducibility: Settings documented for revision cycles
Journal Standards Quick Reference
Figure Dimensions
| Journal | Single Column | 1.5 Column | Double Column |
| Nature | 89 mm | 120 mm | 183 mm |
| Cell | 85 mm | 114 mm | 174 mm |
| Science | 55 mm | 117 mm | 183 mm |
Height: Typically 1:1 to 1:1.5 aspect ratio; max ~230mm
Resolution Requirements
| Format | Resolution | Use Case |
| 300-600 DPI | Final submission | |
| Vector (PDF/SVG) | N/A | Preferred for line art |
| Web/Review | 150 DPI | Initial submission |
Font Standards
Recommended fonts:
- Sans-serif: Arial, Helvetica (most common)
- Serif: Times New Roman (less common for figures)
Size guidelines:
- Axis labels: 7-8 pt
- Tick labels: 6-7 pt
- Panel labels (a, b, c): 8-10 pt, bold
- Annotations: 6-8 ptColor Guidelines
Colorblind-Friendly Palettes
Recommended categorical palette:
Blue: #0072B2
Orange: #E69F00
Green: #009E73
Yellow: #F0E442
Sky: #56B4E9
Red: #D55E00
Pink: #CC79A7
Gray: #999999Sequential palettes:
- Expression: viridis, magma, inferno
- Diverging: RdBu (centered at 0), coolwarm
Color Usage Rules
- Maximum 7-8 colors for categorical data
- Consistent color mapping across all panels
- Avoid red-green combinations (colorblind unfriendly)
- White background for most journals
Multi-Panel Figure Layout
Panel Organization
Standard layouts:
2-panel: [a][b]
3-panel: [a][b] or [a][b][c]
[c]
4-panel: [a][b]
[c][d]
6-panel: [a][b][c]
[d][e][f]Panel Labels
- Position: Top-left corner of each panel
- Style: Lowercase bold (a, b, c) or uppercase (A, B, C)
- Font: Same as figure, 8-10 pt bold
Visualization Type Guidelines
Spatial Plots
Essential elements:
- Scale bar (required for spatial)
- Clear spot/cell boundaries
- Consistent color scale across samples
Avoid:
- Overcrowded labels
- Low contrast colors
- Missing coordinate axesHeatmaps
Essential elements:
- Dendrogram if clustered
- Row/column labels (or clear groupings)
- Color scale bar with range
Settings:
- Center diverging scales at 0 or mean
- Use appropriate normalization (z-score for expression)UMAP/Embedding Plots
Essential elements:
- Legend (positioned outside if crowded)
- Point size appropriate for density
- Consistent coloring with spatial plots
Avoid:
- Axis labels (UMAP axes are arbitrary)
- Grid lines
- Cluttered legendsViolin/Box Plots
Essential elements:
- Y-axis label with units
- Statistical comparisons if relevant
- Consistent colors with other panels
Good practices:
- Order groups logically
- Add individual points for small n
- Include median/quartile indicatorsExport Workflow
Step 1: Configure Visualization
Use visualize_data with:
params:
output_format: "pdf" # Vector format preferred
dpi: 300 # For raster elements
figsize: [3.5, 3.5] # In inches (89mm ≈ 3.5in)Step 2: Export Options
| Format | When to Use | File Size |
| Vector graphics, line art | Small | |
| SVG | Web, editable graphics | Small |
| PNG | Raster, screenshots | Medium |
| TIFF | Print submission (some journals) | Large |
| EPS | Legacy systems | Small |
Step 3: Post-Processing (if needed)
For complex multi-panel figures:
- Export individual panels as PDF/SVG
- Assemble in vector software (Illustrator, Inkscape)
- Add panel labels and annotations
- Export final composite
Common Figure Types for Spatial Analysis
Figure 1: Data Overview
Typical panels:
a) Spatial scatter - clusters/domains
b) UMAP embedding
c) Violin plot - key markers
d) Spatial expression - signature genesFigure 2: Cell Composition
Typical panels:
a) Deconvolution - spatial proportions
b) Reference UMAP with cell types
c) Individual cell type maps
d) Proportion bar plots by regionFigure 3: Cell Communication
Typical panels:
a) Circle plot - communication network
b) Dotplot - top interactions
c) Spatial L-R pairs
d) Pathway analysisFigure 4: Dynamics
Typical panels:
a) Velocity stream plot
b) Pseudotime trajectory
c) Gene trends along trajectory
d) Fate probability mapQuality Checklist
Before submission:
- All text is legible at print size
- Colors are consistent across panels
- Scale bars present on spatial plots
- Legends are complete and clear
- File format matches journal requirements
- Resolution meets minimum standards
- Panel labels are properly positioned
- No overlapping elements
Troubleshooting
| Issue | Solution |
| Text too small | Increase figure size or font size |
| Colors muddy in print | Test grayscale conversion |
| File too large | Use vector format, reduce DPI for raster |
| Legend overlaps data | Move legend outside plot area |
| Inconsistent styling | Create style template, apply to all |
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
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.

