skills/09-meleantonio-awesome-econ-ai-stuff/_skills/communication/econ-visualization/SKILL.md
Create publication-quality charts and graphs for economics papers.
npx skillsauth add brycewang-stanford/Awesome-Agent-Skills-for-Empirical-Research econ-visualizationInstall 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.
This skill creates publication-quality figures for economics papers, using clean styling, consistent scales, and export-ready formats.
Follow these steps to complete the task:
Before generating any code, ask the user:
Based on the context, generate code that:
After generating output:
# ============================================
# Publication-Quality Figure in R
# ============================================
library(tidyverse)
df <- read_csv("data.csv")
ggplot(df, aes(x = year, y = gdp_per_capita, color = country)) +
geom_line(size = 1) +
scale_y_continuous(labels = scales::comma) +
labs(
title = "GDP per Capita Over Time",
x = "Year",
y = "GDP per Capita (USD)",
color = "Country"
) +
theme_minimal(base_size = 12) +
theme(
legend.position = "bottom",
panel.grid.minor = element_blank()
)
ggsave("figures/gdp_per_capita.pdf", width = 7, height = 4, dpi = 300)
ggplot2, scales, dplyrmatplotlib, seaborn (optional alternative)development
Track dataset lineage, transformation steps, merge logic, and reproducibility risks in Stata workflows. Use when the user needs to explain where data came from, how it changed, or why a pipeline can be trusted.
development
Audit datasets for structure, missingness, labeling, suspicious values, duplicate identifiers, and documentation readiness. Use when a researcher asks for data QA, codebook review, sanity checks, or pre-analysis cleanup guidance.
data-ai
Design, run, and critique causal inference workflows in Stata. Use when the user is working on identification, treatment effects, DiD, IV, event studies, RD, or assumption-sensitive empirical claims.
tools
Complete survival analysis library in Python. Handles right-censored data, Kaplan-Meier curves, and Cox regression. Standard for clinical trial analysis and epidemiology.