agentleFS
bestdeejay-designbestdeejay-design/agent-skills/skills/data-analysis/SKILL.md

data-analysis

Skill5 starsChanged 4 months agoMITView on GitHub

Профилирование датасета (CSV или JSON-массив объектов): типы полей, статистика (count/unique/missing, min/max/mean/std), мода и топ-N значений, гистограмма 5 корзин для чисел, топ-3 парные корреляции Пирсона, аномалии и рекомендации. Скрипт data_analyze.py читает --input и выводит отчёт в markdown (по умолчанию), JSON или HTML с графиками. Триггеры: 'data analysis', 'анализ данных', 'профиль датасета', 'статистика данных', 'dataset анализ', 'почитать данные', 'data profiling', 'разведочный анализ', 'eda'.

50 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use algorithm-design, review-r and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • lingzhi227Skill

    algorithm-design

    Design algorithms with LaTeX pseudocode and UML diagrams. Generate algorithmic environments, Mermaid class/sequence diagrams, and ensure consistency between pseudocode and implementation. Use when formalizing methods for a paper.

    Also in 4 projects that use this

  • luischanciSkill

    review-r

    Run the R code review protocol on R scripts. Checks code quality, reproducibility, domain correctness, and professional standards. Produces a report without editing files.

    Also in 3 projects that use this

  • lingzhi227Skill

    latex-formatting

    Handle LaTeX formatting, templates, and styling for academic papers. Set up conference templates (ICML, ICLR, NeurIPS, AAAI, ACL), fix formatting issues, manage packages, and ensure venue-specific compliance. Use when the user needs to set up a paper template, fix LaTeX formatting, or prepare for submission.

    Also in 3 projects that use this

  • thoitiettxl-cyberSkill

    consulting-analysis

    Build consulting-grade analysis frameworks and final reports in two phases: (1) define a structured analysis blueprint with hypotheses, data requirements, and visualization plan; (2) synthesize collected evidence into a polished consulting-style report. Use when the user explicitly wants a professional research report, market/industry/consumer/brand/financial analysis deck-in-markdown, or a framework for downstream evidence collection.

    Also in 3 projects that use this

  • michaelboedingSkill

    slide-generation

    Use this skill to create presentation slides from structured content. Triggers: "create slides", "generate presentation", "make powerpoint", "create pptx", "build slides", "presentation from content", "slide deck", "slides for" Outputs: PPTX files, Markdown slides, or HTML presentations. Used by: pitch-deck-agent, market-researcher-agent, and other agents needing slides.

    Also in 3 projects that use this

  • BlockSkill

    github-research

    Search GitHub issues, PRs, and code using the gh CLI.

    Also in 3 projects that use this

  • +4 more from lingzhi227

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 34 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when:

    line 22
  2. Distinctive:

    Do NOT use when:

    line 28
  3. Very specific:

    Do not use when the input is only a CSV lint/profile request.

    line 109

“Common” is measured: kept by at least 6 in 10 of the 34 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Data Analysis

Профилирование датасета: статистика полей, корреляции, аномалии и рекомендации.

Загружай этот скилл когда нужно разобраться в данных: понять типы полей, распределения, пропуски, корреляции между числовыми полями и что стоит почистить перед анализом или моделированием.

🎯 When to use

Use this skill when:

  • Есть CSV или JSON-массив объектов и нужен профиль датасета (EDA)
  • Нужно понять типы полей, пропуски, распределения и выбросы
  • Просят «проанализировать данные», «почитать данные», «сделать EDA»
  • Нужны корреляции между числовыми полями и рекомендации по очистке данных

Do NOT use when:

  • Нужен SQL-запрос к базе данных — это sql-helper
  • Нужна обработка CSV как таблицы (фильтры, join, преобразования) — это csv-pro
  • Нужны графики/визуализации — скрипт выдаёт текстовый отчёт (markdown/JSON), не картинки

📦 Files

  • SKILL.md — этот файл
  • scripts/data_analyze.py — профилировщик датасета (Python 3 stdlib)
  • references/canonical-patterns.md — эталонные EDA-паттерны канонических инструментов

Canonical analogues

Эталонные EDA-паттерны и gap-анализ скрипта против канонических инструментов — в references/canonical-patterns.md. Топ-аналоги:

  • ydata-profiling — эталонная структура отчёта (Overview/Alerts/Variables/Correlations/Missing/Sample) и алерты качества с порогами.
  • sweetviz — целевой анализ (target_feat) и mixed-type ассоциации (uncertainty coefficient, correlation ratio).
  • DuckDB SUMMARIZE — профилирование одной SQL-командой: min/max/approx_unique/avg/std/q25/q50/q75/null_percentage.
  • D-Tale — интерактивный GUI: Describe, Outlier Detection, Duplicates, Missing Analysis, Predictive Power Score.
  • skimr / DataExplorer (R) — консольное профилирование по типам и метрики introduce() (memory_usage, complete_rows).

🧰 Usage

# CSV → markdown-отчёт (по умолчанию):
python3 skills/data-analysis/scripts/data_analyze.py --input data.csv

# JSON-массив объектов → markdown-отчёт:
python3 skills/data-analysis/scripts/data_analyze.py --input data.json

# JSON-отчёт (для программного использования):
python3 skills/data-analysis/scripts/data_analyze.py --input data.csv --output json

# HTML-отчёт с графиками:
python3 skills/data-analysis/scripts/data_analyze.py --input data.csv --output html

# Топ-5 значений вместо 10 и свой заголовок:
python3 skills/data-analysis/scripts/data_analyze.py --input data.csv --top 5 --title "Продажи 2026"

🔬 Проверка результата

  • Markdown-отчёт содержит секции: Размер, Типы, Статистика, Корреляции, Аномалии, Рекомендации.
  • JSON-отчёт — зеркало тех же секций: ключи rows, fields, correlations, anomalies, recommendations.
  • HTML-отчёт — интерактивный дашборд с графиками: гистограммы для числовых полей, bar charts для категорий, scatter plots для корреляций.
  • Числовые поля: min/max/mean/std, медиана, мода, топ-N значений, гистограмма из 5 корзин.
  • Корреляции: таблица 3 сильнейших парных коэффициентов Пирсона (по полным парам, без numpy).
  • Аномалии: разреженные (>90% пропусков), нулевая дисперсия, высокая кардинальность строк, правосторонний перекос.
  • При неисправимой ошибке (файл не найден, невалидный JSON, пустой датасет) скрипт пишет причину в stderr и завершается с кодом 1; предупреждения (смешанный тип поля, пропущенные элементы) работу не прерывают.

📊 Визуализация (HTML-режим)

При --output html генерируется интерактивный HTML-отчёт с графиками:

Типы графиков

ДанныеТип графикаОписание
Числовые поляHistogramРаспределение значений (5 корзин)
КатегорииBar chartЧастота категорий
КорреляцииScatter plotЗависимость между двумя числовыми полями
Временные рядыLine chartИзменение во времени
ПроцентыDonut chartСтруктура данных

Цветовые пресеты

HTML-отчёт использует монохромную палитру (по умолчанию) или один из пресетов:

  • Mono — серые тона (по умолчанию)
  • Porcelain — синие тона
  • Palm — зелёные тона

Анимации

  • Появление графиков при прокрутке
  • Интерактивные тултипы при наведении
  • Плавные переходы между состояниями

Boundaries

  • Do not use when the input is only a CSV lint/profile request; use csv-pro.

Evidence and completion gate

Run the documented command against the user’s actual input. Report the command, exit status, files changed or produced, and relevant stdout/stderr. Separate blocked or pre-existing failures from failures introduced by the current work. Do not call the result complete when the script was only described or when an artifact was not reopened and checked.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.