data-analyst-engine
БесплатноЗапускает вложенные скриптыНе проверенComprehensive data analysis expertise covering statistical analysis, data visualization, exploratory data analysis, hypothesis testing, machine learning, data…
от onfire7777★ 17 звёзд на GitHubОб этом скилле
Data Analyst Engine
Purpose
Provide world-class data analysis capabilities — from raw data ingestion through cleaning, exploration, statistical analysis, visualization, and insight communication.
The Data Analysis Lifecycle
Phase 1: Data Understanding
- What is the data? Schema, types, dimensions, source, collection method
- What's the question? Define the specific analytical question
- What's the context? Business domain, stakeholders, decisions to be informed
- What are the constraints? Time, tools, data quality, privacy
Phase 2: Data Cleaning (80% of the work)
Systematic cleaning checklist:
- Check for missing values:
df.isnull().sum(), decide: drop, impute (mean/median/mode/model), or flag - Check for duplicates:
df.duplicated().sum() - Check data types:
df.dtypes— are dates parsed? Are numbers stored as strings? - Check for outliers: IQR method, Z-score, domain knowledge
- Check for inconsistencies: Standardize categories, fix typos, normalize formats
- Check for impossible values: Negative ages, future dates, values outside valid range
- Document every cleaning decision and its rationale
Calculate a mean for each group or calendar period
Applies when: Calculate an average reading, daily count or other numeric measurement for each category, month or period from cleaned CSV rows. Inputs: A numeric measure, an existing group column and a key identifying one observation at the requested grain. Output: A sorted table of group labels, valid observation counts and means, plus counts of missing, duplicate and accepted rows.
- Confirm the unit of analysis. For a mean daily count, each complete day contributes once. If the input contains several events per day, obtain daily totals first. Keep the supplied month column when it already identifies the periods consistently.
- Check missing values and duplicate rows using the observation key. Reconcile conflicting measurements for a repeated key. Retain genuine zero counts and report how many incomplete observations were excluded. An unobserved date is missing unless the data contract establishes its count as zero.
- Calculate the per-group mean using the number of valid observations in that group as its denominator. With an audited pandas table,
clean.groupby(group_column)[value_column].mean()gives the mean andclean.groupby(group_column)[value_column].count()gives its denominator. Inspect the counts before sending the series to a chart. pandas grouped mean - The standard-library CLI combines the audit and aggregation for a wide CSV. It collapses matching repeated measurements for the same key, fails on conflicting measurements, and writes accepted group statistics to stdout and the audit to stderr. The example input produces means of 12 and 3 for its two months.
python3 scripts/grouped_means.py examples/service_volume.csv --group period --value requests --observation observation_id
Phase 3: Exploratory Data Analysis (EDA)
Univariate Analysis (one variable at a time):
- Numeric: histogram, box plot, descriptive stats (mean, median, std, skew, kurtosis)
- Categorical: bar chart, frequency table, mode, cardinality
Bivariate Analysis (two variables):
- Numeric vs Numeric: scatter plot, correlation coefficient, regression line
- Numeric vs Categorical: box plot by group, violin plot, t-test/ANOVA
- Categorical vs Categorical: contingency table, chi-square test, stacked bar chart
Multivariate Analysis:
- Correlation matrix heatmap
- Pair plots
- PCA for dimensionality reduction
- Clustering (K-means, DBSCAN) for pattern discovery
Phase 4: Statistical Analysis
Descriptive Statistics:
| Measure | What It Tells You | When to Use |
|---|---|---|
| Mean | Central tendency | Symmetric distributions |
| Median | Central tendency | Skewed distributions |
| Mode | Most common value | Categorical data |
| Std Dev | Spread | Normal-ish distributions |
| IQR | Spread | Robust to outliers |
| Skewness | Asymmetry | Distribution shape |
| Kurtosis | Tail heaviness | Outlier tendency |
Hypothesis Testing Framework:
- State null hypothesis (H₀) and alternative (H₁)
- Choose significance level (α = 0.05 typically)
- Select appropriate test
- Calculate test statistic and p-value
- Decide: reject or fail to reject H₀
- Report effect size and confidence interval (not just p-value!)
Test Selection Guide:
| Question | Data Type | Test |
|---|---|---|
| Compare 2 group means | Continuous, normal | Independent t-test |
| Compare 2 group means | Continuous, non-normal | Mann-Whitney U |
| Compare 3+ group means | Continuous, normal | One-way ANOVA |
| Compare 3+ group means | Continuous, non-normal | Kruskal-Wallis |
| Association between categories | Categorical | Chi |
Установить data-analyst-engine в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл data-analyst-engine?
Comprehensive data analysis expertise covering statistical analysis, data visualization, exploratory data analysis, hypothesis testing, machine learning, data cleaning, and data storytelling.
Как установить скилл data-analyst-engine?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл data-analyst-engine запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic