figure-composer

Compose multi-panel scientific figures from claims, datasets, and draft results.

Updated Sep 11, 2026
One-click install
npx skills add https://github.com/cameronbracken/waterology-research --skill figure-composer-cameronbracken
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: figure-composer
Source: https://github.com/cameronbracken/waterology-research/tree/main/skills/figure-composer
Command: npx skills add https://github.com/cameronbracken/waterology-research --skill figure-composer-cameronbracken

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Building a publication-grade multi-panel figure requires coordinating panel planning, consistent styling, layout review, and provenance tracking, which is error-prone when done ad hoc across separate scripts. ## Core Features & Use Cases - Panel Planning: Draft a structured panel plan with labels, chart types, data sources, annotations, and the claim each panel supports. - Consistent Styling: Apply the figure-style skill across panels so axes, fonts, and color mappings stay uniform, then assemble with patchwork or cowplot over ggplot2. - Review and Provenance: Render, inspect, and revise for label collisions and readability, then save the figure, source data, generation code, caption, and a provenance sidecar. - Use Case: Given a regression result and supporting diagnostics in an R/Quarto project, plan a three-panel figure, style each plot consistently, compose the composite in one code chunk with a caption and cross-reference, and export a vector PDF for print. ## Quick Start Compose a multi-panel figure from my analysis results that argues a single claim, with consistent styling and a saved provenance sidecar.

Frequently Asked Questions about figure-composer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a multi-panel figure in R with ggplot2?▼

Create each panel as a separate ggplot2 plot, then assemble them with patchwork or cowplot. Keep a shared legend where panels share an encoding, and export the composite as vector PDF or SVG for print.

What is the difference between patchwork and cowplot for combining plots?▼

Both assemble ggplot2 plots into composites. patchwork uses intuitive operators like + and / for layout arithmetic, while cowplot offers plot_grid and annotation helpers. This workflow defaults to either over ggplot2.

How do I keep styling consistent across figure panels?▼

Apply a shared figure-style skill to every plot before composing so axes, fonts, and color mappings stay uniform. Build the composite in one Quarto code chunk with a single caption and cross-reference.

Can I use multi-panel figures in Quarto documents?▼

Yes. Build the composite in one code chunk with a figure caption and cross-reference, following Quarto conventions. Export vector formats like PDF or SVG so the figure remains print-quality in rendered documents.

What should I save alongside a published scientific figure?▼

Save the final figure, the source data, the generation code, the caption, and a provenance sidecar. Never invent data or hide excluded data inside a summary panel, so the figure remains reproducible and auditable.