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
How 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.
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, equationsnpx claudepluginhub halidaee/econtools_marketplace --plugin manuscript-toolsCreates submission-grade scientific figures for Nature/high-impact journals using Python (matplotlib/seaborn) or R (ggplot2/patchwork/ComplexHeatmap). Guides figure planning, export, and QA.
Generate publication-quality data visualizations with matplotlib, seaborn, ggplot2, pgfplots. Triggers: plot data, create chart, visualize results, make figure, bar chart, scatter plot, heatmap, line plot, plot the accuracy curve, plot the loss curve over training epochs, publication plot, statistical plot, data visualization. It writes the plotting code and renders the figure from data you already have; choosing which figure a section needs is figure-suggestions.
Enforces AER house style for regression tables, descriptive statistics, and figures in economics manuscripts. Automates booktabs styling and one-claim-per-exhibit layout.