econ-visualization — скилл для Claude Code
Скилл econ-visualization генерирует академические графики и диаграммы для экономических статей в R и Python с готовыми командами экспорта.
CC0-1.0 202 установок ★ 675 обновлён 2026-09-26
npx skills add meleantonio/awesome-econ-ai-stuff --skill econ-visualization -a claude-codeЧто делает econ-visualization
Скилл заставляет агента проектировать графики по стандартам научных журналов: подбирает академическую тему, выравнивает шкалы и оформляет подписи. Перед написанием кода ассистент запрашивает ключевые переменные, тип диаграммы (например, event study, линии, точки) и параметры экспорта.
В основе лежат воспроизводимые шаги подготовки данных и вывод готового кода для ggplot2 или связки matplotlib с seaborn. Для рендеринга потребуется локальное окружение с R версии 4.0+ или Python 3.10+ и профильными пакетами (ggplot2, scales, dplyr).
Агент настраивает сохранение графики в векторном формате PDF или с разрешением 300 DPI, исключая размытые растровые картинки в итоговом документе.
Какие задачи решает
- построить график event study с доверительными интервалами
- привести иллюстрации в статье к единому академическому стилю
- экспортировать графики в векторный PDF с разрешением 300 DPI
- добавить линию регрессии на точечную диаграмму в R
Примеры запросов агенту
- Построй график event study с доверительными интервалами по моим данным
- Сделай график динамики ВВП на душу населения для трёх стран в ggplot2
- Построй диаграмму рассеяния с подогнанной линией регрессии
Как установить econ-visualization
1Через Skills CLI (Vercel)
npx skills add meleantonio/awesome-econ-ai-stuff --skill econ-visualization -a claude-code2Вручную: положить файлы
~/.claude/skills/econ-visualization/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/econ-visualization/
1Через Skills CLI (Vercel)
npx skills add meleantonio/awesome-econ-ai-stuff --skill econ-visualization -a codex2Вручную: положить файлы
.agents/skills/econ-visualization/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add meleantonio/awesome-econ-ai-stuff --skill econ-visualization -a cursor2Вручную: положить файлы
.cursor/skills/econ-visualization/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install meleantonio/awesome-econ-ai-stuff _skills/communication/econ-visualization2Вручную: положить файлы
.github/skills/econ-visualization/SKILL.md1Через Skills CLI (Vercel)
npx skills add meleantonio/awesome-econ-ai-stuff --skill econ-visualization -a gemini-cli2Командой платформы
gemini skills install https://github.com/meleantonio/awesome-econ-ai-stuff --path _skills/communication/econ-visualizationВручную: положить файлы
.devin/skills/econ-visualization/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add meleantonio/awesome-econ-ai-stuff --skill econ-visualization -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы об econ-visualization
Как установить econ-visualization в Claude Code?
Выполните в терминале команду npx skills add meleantonio/awesome-econ-ai-stuff --skill econ-visualization -a claude-code.
Что делает этот скилл?
Он направляет ассистента при создании воспроизводимого кода визуализации в R и Python, оптимизированного под требования академических журналов по экономике.
Какие пакеты требуются для работы с кодом?
Нужны R 4.0+ с библиотеками ggplot2, scales и dplyr либо Python 3.10+ с установленными matplotlib и seaborn.
Исходный текст
SKILL.md · CC0-1.0
---
name: econ-visualization
description: Create publication-quality charts and graphs for economics papers.
workflow_stage: communication
compatibility:
- claude-code
- cursor
- codex
- gemini-cli
author: Awesome Econ AI Community
version: 1.0.0
tags:
- visualization
- ggplot2
- charts
- publication
---
# Econ Visualization
## Purpose
This skill creates publication-quality figures for economics papers, using clean styling, consistent scales, and export-ready formats.
## When to Use
- Building figures for empirical results and descriptive analysis
- Standardizing chart style across a paper or presentation
- Exporting figures to PDF or PNG at journal quality
## Instructions
Follow these steps to complete the task:
### Step 1: Understand the Context
Before generating any code, ask the user:
- What is the dataset and key variables?
- What chart type is needed (line, bar, scatter, event study)?
- What output format and size are required?
### Step 2: Generate the Output
Based on the context, generate code that:
1. **Uses a consistent theme** for academic styling
2. **Labels axes and legends clearly**
3. **Exports figures** at high resolution
4. **Includes reproducible steps** for data preparation
### Step 3: Verify and Explain
After generating output:
- Explain how to regenerate or update the plot
- Suggest alternatives (log scales, faceting, smoothing)
- Note any data transformations used
## Example Prompts
- "Create an event study plot with confidence intervals"
- "Plot GDP per capita over time for three countries"
- "Build a scatter plot with fitted regression line"
## Example Output
```r
# ============================================
# 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)
```
## Requirements
### Software
- R 4.0+ or Python 3.10+
### Packages
- For R: `ggplot2`, `scales`, `dplyr`
- For Python: `matplotlib`, `seaborn` (optional alternative)
## Best Practices
1. **Use vector formats** (PDF, SVG) for publication
2. **Keep labels concise** and readable
3. **Document data filters** used in the figure
## Common Pitfalls
- Overcrowded plots without clear labeling
- Inconsistent scales across figures
- Exporting low-resolution images
## References
- [ggplot2 documentation](https://ggplot2.tidyverse.org/)
- [Tufte (2001) The Visual Display of Quantitative Information](https://www.edwardtufte.com/tufte/books_vdqi)
## Changelog
### v1.0.0
- Initial release
© Awesome Econ AI Community · CC0-1.0 · meleantonio/awesome-econ-ai-stuff