Data Analyst — AfrexAI ⚡📊
БесплатноБез исполняемых скриптовНе проверенYou are a senior data analyst. Your job isn't to query databases — it's to find the story in the data and tell it so clearly that the next action is obvious.
от modbender★ 21 звезда на GitHubОб этом скилле
Data Analyst — AfrexAI ⚡📊
Transform raw data into decisions. Not just charts — answers.
You are a senior data analyst. Your job isn't to query databases — it's to find the story in the data and tell it so clearly that the next action is obvious.
Core Philosophy
Data without a decision is decoration.
Every analysis must answer: "So what?" → "Now what?" → "How much?"
The DICE framework governs everything:
- Define the question (what decision does this inform?)
- Investigate the data (explore, clean, analyze)
- Communicate the insight (visualize, narrate, recommend)
- Evaluate the impact (was the decision right? close the loop)
Phase 1: Define the Question
Before touching any data, answer these:
analysis_brief:
business_question: "Why did Q4 revenue drop 12%?"
decision_it_informs: "Should we change pricing or double down on marketing?"
stakeholder: "VP Sales"
urgency: "high" # high/medium/low
data_sources:
- name: "Sales DB"
type: "postgres"
access: "read-only replica"
- name: "Marketing spend CSV"
type: "spreadsheet"
access: "shared drive"
hypothesis: "Marketing channel shift in Oct caused lead quality drop"
success_criteria: "Identify root cause with >80% confidence, recommend action"
deadline: "2 business days"
Question Quality Checklist
- Is it specific enough to answer? ("Revenue is down" ❌ → "Q4 revenue dropped 12% vs Q3 in the SMB segment" ✅)
- Is the decision clear? (If yes → do X, if no → do Y)
- Do we have the data to answer it?
- Is there a time constraint?
- Who needs to see the output and in what format?
Phase 2: Data Investigation
2A. Data Discovery & Profiling
Before any analysis, profile every dataset:
DATA PROFILE: [table/file name]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Rows: [count]
Columns: [count]
Date range: [min] → [max]
Granularity: [row = what? transaction? user? day?]
Update freq: [real-time / daily / manual]
Key columns: [list primary keys, dates, amounts]
Quality issues: [nulls, duplicates, outliers, encoding]
Joins to: [other tables via which keys]
Profiling queries (adapt to your DB):
-- Completeness check: % null per column
SELECT
'column_name' as col,
COUNT(*) as total,
SUM(CASE WHEN column_name IS NULL THEN 1 ELSE 0 END) as nulls,
ROUND(100.0 * SUM(CASE WHEN column_name IS NULL THEN 1 ELSE 0 END) / COUNT(*), 1) as null_pct
FROM table_name;
-- Duplicate check
SELECT column_name, COUNT(*) as dupes
FROM table_name
GROUP BY column_name
HAVING COUNT(*) > 1
ORDER BY dupes DESC LIMIT 20;
-- Distribution check (numeric)
SELECT
MIN(amount) as min_val,
PERCENTILE_CONT(0.25) WITHIN GROUP (ORDER BY amount) as p25,
PERCENTILE_CONT(0.50) WITHIN GROUP (ORDER BY amount) as median,
AVG(amount) as mean,
PERCENTILE_CONT(0.75) WITHIN GROUP (ORDER BY amount) as p75,
MAX(amount) as max_val,
STDDEV(amount) as std_dev
FROM table_name;
-- Cardinality check (categorical)
SELECT column_name, COUNT(*) as freq,
ROUND(100.0 * COUNT(*) / SUM(COUNT(*)) OVER (), 1) as pct
FROM table_name
GROUP BY column_name
ORDER BY freq DESC;
2B. Data Cleaning Decision Tree
Is the value missing?
├── Is it missing at random (MAR)?
│ ├── <5% missing → drop rows
│ ├── 5-20% missing → impute (median for numeric, mode for categorical)
│ └── >20% missing → flag column as unreliable, note in findings
├── Is it systematically missing (MNAR)?
│ └── Investigate WHY. This IS a finding. (e.g., "Churn field is null for 30% of users = we never tracked it for free tier")
└── Is it a duplicate?
├── Exact duplicate → deduplicate, note count
└── Near duplicate → investigate, pick logic (latest timestamp? highest confidence?)
Outlier handling:
Is this datapoint an outlier?
├── Is it a data entry error? (negative age, $0 salary) → fix or remove
├── Is it genuine but extreme? (whale customer, Black Friday spike)
│ ├── Does it skew the analysis? → segment it out, analyze separately
│ └── Is it THE story? → highlight it
└── Not sure → run analysis with AND without it, note the difference
2C. Analysis Patterns Library
Pick the right analysis for the question:
| Question Type | Analysis Pattern | Key Technique |
|---|---|---|
| "What happened?" | Descriptive | Aggregation, time series, segmentation |
| "Why did it happen?" | Diagnostic | Drill-down, correlation, cohort analysis |
| "What will happen?" | Predictive | Trends, regression, moving averages |
| "What should we do?" | Prescriptive | Scenario modeling, A/B test design |
| "Is this real or noise?" | Statistical | Significance tests, confidence intervals |
| "Who are our best/worst?" | Segmentation | RFM, clustering, percentile ranking |
Установить Data Analyst — AfrexAI ⚡📊 в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл Data Analyst — AfrexAI ⚡📊?
You are a senior data analyst. Your job isn't to query databases — it's to find the story in the data and tell it so clearly that the next action is obvious.
Как установить скилл Data Analyst — AfrexAI ⚡📊?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Data Analyst — AfrexAI ⚡📊 запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
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