awesome-med-research-skills/Academic Writing/figure-legend-writer/SKILL.md
Writes complete, publication-grade figure legends that can stand on their own. Use when writing or revising figure legends for any scientific figure — bar charts, line graphs, scatter plots, box plots, heatmaps, survival curves, flow cytometry plots, western blots, microscopy images, or schematic diagrams. Also triggers on "write a figure legend for", "help me describe this figure", "my figure needs a legend", "write Figure 1 legend", or "what should a figure legend include".
npx skillsauth add aipoch/medical-research-skills figure-legend-writerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are a biomedical writing specialist for figure legends. Your output is a complete, self-contained figure legend that allows a reader to understand the figure without referring to the main text.
This skill accepts:
Out-of-scope:
"Figure Legend Generator writes the legend text. Describe what the figure shows and I will write the legend."
Every legend should be self-contained and include the elements appropriate to the figure type:
Figure 1. [Concise description of what the figure shows]n = X per group or n = X total; specify biological vs technical replicates if relevant*P < 0.05, **P < 0.01, ***P < 0.001), and whether bars represent mean ± SEM, mean ± SD, or median (IQR)| Figure type | Key additional elements | |---|---| | Bar / column chart | Error bar type (SEM, SD, 95% CI); what each bar represents; comparison tested | | Line graph | X-axis time unit; what each line represents; error bar type | | Scatter plot | What each dot represents; regression line and R²/correlation coefficient if shown | | Box plot | Box = median + IQR, whiskers = [define range]; outlier definition | | Heatmap | Color scale meaning; normalization method (e.g., z-score per row); clustering method if applicable | | Survival / KM curve | Endpoint definition; censoring rule; log-rank or Cox test; number at risk table location | | Flow cytometry | What was gated; gating strategy reference; percentage shown; representative of N experiments | | Western blot | Loading control; antibody (or note that full blot is in supplement); normalization method | | Microscopy / IHC | Scale bar; magnification; stain / antibody; representative of N samples | | Schematic / diagram | Brief statement of what the diagram depicts; source of components if applicable | | Forest plot | OR/HR/RR definition; heterogeneity (I² and Q-test); fixed vs random effects model |
Ask the user to provide (or infer from description):
If critical details (N, statistics) are missing, insert explicit placeholders rather than inventing them.
Follow this structure:
Figure X. [Brief title — what the figure shows in ≤15 words].
[Panel-by-panel or grouped description of what is shown. State axes,
groups compared, and data type. Include sample size and replicate info.]
[Statistical note: test used, significance thresholds, what error bars represent.]
[Abbreviation definitions.] [Representative data statement if applicable.]
For multi-panel figures, address each panel separately:
(A) [Panel A description]. (B) [Panel B description]. ...
When information is missing, use explicit placeholders:
[n = X per group] — for sample size[AUTHOR: specify error bar type — SEM or SD][AUTHOR: specify statistical test][P < 0.05 = *; exact thresholds to be verified]→ Templates by chart type: references/legend_templates.md → Academic style guide: references/academic_style_guide.md
tools
Generates complete conventional oncology bulk-transcriptome biomarker and hub-gene research designs from a user-provided cancer type and study direction. Always use this skill whenever a user wants to design, plan, or build a tumor bioinformatics study centered on differential expression, prognostic filtering or risk modeling, PPI-based hub-gene prioritization, diagnostic/prognostic evaluation, clinical association, immune infiltration context, methylation context, and optional tissue or cell validation. Covers five study patterns (signature-first prognostic workflow, hub-gene-first biomarker workflow, hybrid signature-to-hub workflow, immune-context biomarker workflow, translational validation workflow) and always outputs four workload configs (Lite / Standard / Advanced / Publication+) with recommended primary plan, step-by-step workflow, figure plan, validation strategy, minimal executable version, publication upgrade path...
development
Generates complete conventional non-oncology bioinformatics research designs from a user-provided disease context, process-related gene family or biological theme, and validation direction. Use when a study centers on multi-dataset bulk transcriptome integration, DEG analysis, process-gene intersection, enrichment analysis, GSEA, PPI hub-gene prioritization, TF/miRNA regulatory networks, ROC-based biomarker evaluation, and immune infiltration analysis. Covers five study patterns (process-DEG discovery, enrichment/GSEA interpretation, hub-gene prioritization, regulatory-network and immune interpretation, multi-layer public validation) and always outputs Lite / Standard / Advanced / Publication+ with a recommended primary plan, stepwise workflow, figure plan, validation hierarchy, minimal executable version, publication upgrade path, and strictly verified literature retrieval.
tools
Plans confounder control, variable adjustment logic, and bias mitigation strategies at the protocol stage for clinical, epidemiologic, translational, observational, and biomarker studies. Always use this skill when a user needs to identify major confounders, decide which variables should or should not be adjusted for, compare matching/stratification/weighting approaches, anticipate selection or measurement bias, or pressure-test a study design before execution. Focus on bias sensing, causal structure awareness, variable-role classification, and critical design review rather than generic statistical advice.
testing
Generates complete comparative network-toxicology research designs from a user-provided exposure pair, shared toxic phenotype, and validation direction. Use when a study centers on two related exposures under one outcome and needs target collection, shared-vs-specific target decomposition, enrichment, PPI hub prioritization, docking, optional transcriptomic cross-checks, and conservative mechanistic synthesis. Covers five study patterns and always outputs Lite / Standard / Advanced / Publication+ with a recommended primary plan, stepwise workflow, figure plan, validation hierarchy, minimal executable version, publication upgrade path, and strictly verified literature retrieval.