Help us improve
Share bugs, ideas, or general feedback.
From manuscript-tools
Use when the user has an R/ggplot2 figure script and wants it formatted for AER or economics journal submission, mentions publication-ready figures, or asks to make a figure journal-compliant
npx claudepluginhub halidaee/econtools_marketplace --plugin manuscript-toolsHow this skill is triggered — by the user, by Claude, or both
Slash command
/manuscript-tools:aer-figuresThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Rewrites R/ggplot2 figure code for AER compliance: sizing, resolution, fonts, grayscale-compatible palettes, panel labels, and export settings. Preserves all data manipulation and statistical content — only changes formatting and presentation layers.
Creates submission-grade scientific figures for high-impact journals using Python (matplotlib/seaborn) or R (ggplot2/patchwork/ComplexHeatmap). Guides figure planning, backend selection, export, and QA.
Guides chart type selection by data structure, accessible color palettes like viridis and Okabe-Ito, figure composition, and journal formatting for scientific publications and talks.
Creates publication-ready scientific figures with multi-panel layouts, error bars, significance annotations, and colorblind-safe palettes. Orchestrates matplotlib, seaborn, and plotly for journal submission (Nature, Science, Cell).
Share bugs, ideas, or general feedback.
Rewrites R/ggplot2 figure code for AER compliance: sizing, resolution, fonts, grayscale-compatible palettes, panel labels, and export settings. Preserves all data manipulation and statistical content — only changes formatting and presentation layers.
library() calls at top)ggsave()ggtitle() or labs(title = ...) — titles belong in LaTeX/Quarto captionsreferences/aer-figure-specs.md (sizing, fonts, colors, line weights)references/ggplot-patterns.md| Signal in code | Type | Primary formatting concern |
|---|---|---|
geom_point + geom_errorbar / geom_linerange / geom_pointrange | Coefficient plot | Point/CI visibility, zero-reference line |
geom_density / stat_function / geom_histogram / geom_freqpoly | Distribution | Smooth curves, grayscale-compatible fill distinction |
geom_col / geom_bar | Bar chart | Bar width, grayscale-compatible contrast, error bars |
geom_line + time/date variable on x-axis | Time series | Line weight >= 0.5, linetype variation for series |
facet_wrap / facet_grid | Multi-panel | Panel labels (a)/(b), margins, shared legend |
geom_sf / geom_polygon + map data | Map | Grayscale-compatible choropleth, boundary lines, minimal axes |
When multiple signals are present, treat the combination (e.g., faceted coefficient plot) and apply rules for both types.
| Category | Width | Height | Use case |
|---|---|---|---|
| Single-column | 3.5" (87.5mm) | 2.5"–3.5" | Simple single-panel figures |
| Full-width | 7" (175mm) | 3.5"–5" | Multi-panel, wide figures |
| Full-page | 7" (175mm) | up to 9" | Complex multi-panel layouts |
| Theory intuition | 2.5" | 2.5" | Small inline diagrams |
#D9D9D9, #C4C4C4, #999999, #707070, #363636\caption{} or fig-cap:ggsave()ggthemes::theme_tufte() customized with serif font and AER sizinglatex2exp::TeX() for Greek letters, subscripts, equations