CLAUDE.md@data-analytics · git:20260927.f317423 · 2026-09-27 · sha256 35c10fcef13464af

CLAUDE.md@data-analytics git:20260927.f317423A

Immutable. This exact content never changes and is served at /api/v1/blob/35c10fcef13464af.

# Data Analytics Skills - Claude Code Guidance

This guide covers the 5 data analytics skills and planned Python automation tools for the domain.

## Data Analytics Skills Overview

**Available Skills:**
1. **data-analyst/** - SQL querying, data visualization, statistical analysis, business reporting, and data storytelling
2. **data-scientist/** - Hypothesis testing, predictive modeling, experiment design, feature engineering, and causal inference
3. **business-intelligence/** - Dashboard design, KPI frameworks, data modeling, self-service analytics, and executive reporting
4. **analytics-engineer/** - Data pipeline design, dbt modeling, data warehouse architecture, testing, and documentation
5. **ml-ops-engineer/** - Model deployment, ML pipelines, model monitoring, feature stores, and infrastructure automation

**Current Status:** 5 SKILL.md knowledge bases deployed. Python automation tools planned for next phase.

## Skill Selection Guide

| Need | Use This Skill |
|------|---------------|
| Ad-hoc SQL queries and business reporting | data-analyst |
| Statistical modeling and experiment design | data-scientist |
| Dashboard creation and KPI tracking | business-intelligence |
| Data pipeline and warehouse architecture | analytics-engineer |
| Production ML deployment and monitoring | ml-ops-engineer |

**Overlap Guidance:**
- data-analyst vs business-intelligence: Use data-analyst for exploratory analysis; use business-intelligence for repeatable dashboards and KPI systems.
- data-scientist vs ml-ops-engineer: Use data-scientist for model development and experimentation; use ml-ops-engineer for production deployment and monitoring.
- analytics-engineer bridges data-analyst and business-intelligence by building the reliable data models both depend on.

## Recommended Python Tools (Planned)

### SQL and Query Tools
- **Query Optimizer** (`data-analyst/scripts/query_optimizer.py`) - Analyze SQL for performance issues, suggest indexes, and rewrite inefficient patterns

### Visualization Helpers
- **Dashboard Spec Generator** (`business-intelligence/scripts/dashboard_spec_generator.py`) - Generate dashboard layout specifications from KPI definitions

### Data Quality and Testing
- **Data Profiler** (`data-analyst/scripts/data_profiler.py`) - Automated column profiling with distribution analysis, outlier detection, and completeness scores

### ML Operations
- **Drift Detector** (`ml-ops-engineer/scripts/drift_detector.py`) - Detect data and model drift between a reference and a current dataset
- **Experiment Tracker** (`data-scientist/scripts/experiment_tracker.py`) - Log experiment parameters, metrics, and artifacts in structured JSON format

## Integration with Engineering Team

The data-analytics domain connects closely with engineering skills:

| Data Analytics Skill | Engineering Skill | Integration Pattern |
|---------------------|-------------------|-------------------|
| analytics-engineer | senior-data-engineer | Shared pipeline orchestration patterns; analytics-engineer focuses on transformation layer, data-engineer on ingestion and infrastructure |
| data-scientist | senior-data-scientist | Complementary scopes; data-analytics version emphasizes business context, engineering version emphasizes algorithm implementation |
| ml-ops-engineer | senior-ml-engineer | ml-ops-engineer handles deployment and monitoring; ml-engineer handles model architecture and training |
| business-intelligence | senior-fullstack | BI dashboards may embed in fullstack applications; use fullstack scaffolder for custom analytics UIs |

**Cross-Domain Workflow:**
```bash
# 1. Profile raw data quality
python data-analyst/scripts/data_profiler.py --file raw_data.csv

# 2. Validate transformation output (schema, nulls, uniqueness, freshness) with dbt tests before publishing

# 3. Generate dashboard specification
python business-intelligence/scripts/dashboard_spec_generator.py --definitions kpi_definitions.json

# 4. Monitor deployed ML model
python ml-ops-engineer/scripts/drift_detector.py --reference baseline.csv --current production.csv
```

## Quality Standards

**All data analytics Python tools must:**
- Use standard library only (no pandas, numpy, or external dependencies)
- Support both JSON and human-readable output via `--format` flag
- Provide clear error messages for malformed input data
- Return appropriate exit codes (0 success, 1 error)
- Process files locally with no API calls or network access
- Include argparse CLI with `--help` support
- Handle CSV and JSON input formats where applicable

**Skill documentation must:**
- Include realistic SQL examples with expected output shapes
- Provide industry-specific KPI definitions where relevant
- Reference authoritative methodologies (Kimball, Inmon, dbt best practices)
- Include data governance and privacy considerations

## Related Skills

- **Engineering:** Data engineering, ML engineering -> `../engineering/`
- **Product Team:** User analytics, metrics-driven product decisions -> `../product-team/`
- **Finance:** Financial data analysis, forecasting -> `../finance/`
- **Business & Growth:** Revenue analytics, customer health scoring -> `../business-growth/`

## Additional Resources

- **Main Documentation:** `../CLAUDE.md`
- **Standards Library:** `../standards/`

---

**Last Updated:** February 2026
**Skills Deployed:** 5/5 data analytics skills (SKILL.md knowledge bases)
**Python Tools:** Planned for next development phase