← ClaudeAtlas

quant-data-preplisted

Data preparation skill for quantitative UX/CX/Market Research analysis. Use this skill to load, audit, clean, recode, and label survey or research datasets before any analysis. Always run this skill first — even on "pre-cleaned" data. It performs a full data quality audit and surfaces all issues via AskUserQuestion before making any changes. Triggers: "prepare data", "clean data", "load data", "recode", "data prep", "data cleaning", "remove straightliners", "handle missing values", "label variables", "before analysis", "data quality check", "audit data".
JSerek/quant-skills · ★ 0 · Data & Documents · score 70
Install: claude install-skill JSerek/quant-skills
# quant-data-prep — Data Preparation & Quality Audit ## Objective Load a research dataset, run a systematic quality audit, and produce a clean, well-labelled dataset with a `column_metadata.json` file. All downstream analysis skills depend on this output. The skill never makes destructive changes silently — every flagged issue is surfaced to the user via `AskUserQuestion` with a recommended action. --- ## Pre-flight **Required input from user:** - Path to data file (`.csv`, `.tsv`, `.xlsx`, or `.xls`) - Nothing else is required upfront — the skill will ask for everything else interactively **Minimum requirements:** - At least 2 columns, at least 10 rows (warn below 30 rows — most analyses will have low power) **Supported formats:** - CSV / TSV — via `pandas.read_csv()` - Excel (.xlsx, .xls) — via `pandas.read_excel()` --- ## Pipeline ### Step 1 — Load data ```python # See references/pipeline.py → load_data() ``` - Auto-detect delimiter for CSV/TSV - Read all columns as-is (do not coerce types yet) - Report: n rows, n columns, file size, preview of first 5 rows **Tell the user:** "I've loaded your file. Here's a quick preview: [table]. Now I'll run a full data quality audit." --- ### Step 2 — Data Quality Audit (always runs) Run all checks below. Collect results into a quality report. Present the full report before asking any questions. #### 2a. Structural checks | Check | 🟢 | 🟡 | 🔴 | |---|---|---|---| | Duplicate rows | 0 | 1–2% | >2% | | Column names | cle