Five-step figure generation pipeline inspired by PaperVizAgent (Google Research, 2026). Orchestrates Retriever → Planner → Stylist → Visualizer → Critic stages for publication-quality scientific figures. Retrieves reference figures from literature, plans layout and composition, applies journal-specific styling, generates the figure, then critiques and refines. Use when the user needs high-quality figures for papers/presentations and wants a more deliberate, reference-driven approach than direct code generation. Especially useful for multi-panel figures and complex data visualizations.
Installation
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Five-step figure generation pipeline inspired by PaperVizAgent (Google Research, 2026). Orchestrates Retriever → Planner → Stylist → Visualizer → Critic stages for publication-quality scientific figures. Retrieves reference figures from literature, plans layout and composition, applies journal-specific styling, generates the figure, then critiques and refines. Use when the user needs high-quality figures for papers/presentations and wants a more deliberate, reference-driven approach than direct code generation. Especially useful for multi-panel figures and complex data visualizations.
Five-Step Figure Generation Pipeline
Generate publication-quality scientific figures through a structured pipeline with reference retrieval, planning, styling, generation, and self-critique. Inspired by PaperVizAgent's five-agent architecture.
When to Use
Multi-panel composite figures (e.g., "Figure 1: A) boxplot, B) KM curve, C) heatmap, D) network")
Figures that need to match a specific journal's style
Complex visualizations where direct code generation often produces suboptimal layouts
User explicitly asks for "publication-quality" or "journal-ready" figures
Graphical abstracts
When NOT to use (overkill):
Single simple plot → just write matplotlib/ggplot2 code directly
Mechanism diagrams → use svg-scientific-figures skill
Quick exploratory plots → direct code
Pipeline Steps
Step 1: RETRIEVE — Find Reference Figures
Search for published figures on the same topic to establish visual expectations:
{"figure_id":"Figure 1","title":"THBS2 Expression and Survival Analysis Across Cancer Types","layout":{"type":"grid","rows":2,"cols":2,"width_cm":17.5,"height_cm":15},"panels":[{"id":"A","type":"boxplot","data":"TCGA pan-cancer expression","x":"cancer_type","y":"THBS2_expression_TPM","notes":"Sort by median expression, highlight significant (red asterisks)"},{"id":"B","type":"kaplan_meier","data":"PAAD survival","groups":"THBS2_high vs THBS2_low","notes":"Include risk table, log-rank p, HR with 95%CI"},{"id":"C","type":"heatmap","data":"Immune cell correlation matrix","notes":"Cluster by correlation, annotate r values for significant pairs"},{"id":"D","type":"dot_plot","data":"GO enrichment top 15 terms","notes":"Color by p-value, size by gene count, order by enrichment score"}],"shared_style":{"palette":"NPG","font":"Arial","label_size":8,"title_size":10}}
Step 3: STYLE — Apply Journal-Specific Formatting
Select and apply styling rules based on target journal:
Journal Category
Width
DPI
Font
Palette
Panel Labels
Nature/Science/Cell
8.9cm (single) / 18.3cm (double)
300
Arial/Helvetica
NPG
Bold uppercase A, B, C
Lancet/NEJM/JAMA
8.5cm / 17.5cm
300
Arial
Lancet/NEJM
Bold a, b, c
Cancer Research
8.5cm / 17.5cm
300
Arial
AACR
Bold A, B, C
Default (no journal specified)
17.5cm (double)
300
Arial
NPG
Bold A, B, C
Styling rules:
Axis labels: 8-9pt, sentence case
Axis tick labels: 7-8pt
Panel labels: 10-12pt, bold, top-left corner outside plot area