Skip to content
Skills Library
Data & analytics · Analysis

reproducible-analysis

/reproducible-analysis

Profile a dataset and validate a result before reporting it. Use when data first arrives, when a join or filter changes the row count, or when a finding looks surprising enough to be a bug.

Repository
open-duet ↗
Licence
MIT
Last repository change
30.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 30.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Profile a dataset and validate a result before reporting it. Use when data first arrives, when a join or filter changes the row count, or when a finding looks surprising enough to be a bug.

Original author description

Profile a dataset and validate a result before reporting it. Use when data first arrives, when a join or filter changes the row count, or when a finding looks surprising enough to be a bug.

How it works

  1. Profile before analysing
  2. Joins are guilty until proven innocent
  3. Validate a surprising result
  4. When the data cannot answer
Original SKILL.md headings · 40 lines, 452 words
SKILL.md preview
---
name: reproducible-analysis
description: Profile a dataset and validate a result before reporting it. Use when data first arrives, when a join or filter changes the row count, or when a finding looks surprising enough to be a bug.
---

# Reproducible Analysis

`AGENTS.md` owns where files live and what a finding looks like. This is the part that catches wrong answers before they get quoted: profiling on arrival, and validating anything surprising.

## Profile before analysing

Write these into `decisions.md` the first time a dataset is touched. Most wrong answers are visible here and nowhere later.

- **Row count**, and the grain in one sentence: "one row per *what*". If you cannot finish that sentence, stop — every downstream number will be wrong in a way that looks plausible.
- **Per column**: type, null count, distinct count.
- **Distinct count equal to row count** on a column you expected to repeat, or far below it on a column you expected to be unique — either is a grain you did not expect.
- **Ranges** on every date and numeric column. Dates in the future, negative durations, and values pinned at exactly 0 or 999 are sentinel values wearing a real type.
- **Duplicates** on the natural key. Report the count; do not drop them yet.

## Joins are guilty until proven innocent

Record the row count before and after every join. Then account for the difference:

- **More rows** — the right side was not unique on the key. You have fanned out, and every aggregate after this point is inflated.
- **Fewer rows** — the join dropped non-matches. That is a filter you did not say you were applying. Count what fell out and check whether it is a population you care about.
- **Same count** — still check that a key column did not go null.

An unexplained row-count change is a bug in the analysis, not a property of the data.

## Validate a surprising result

A result that contradicts expectation is a bug more often than a finding. Before reporting it:

1. **Reconcile a total against the source.** One number you can check by hand, end to end.
2. **Segment it.** If an effect is real it usually survives cutting by time or category. If it vanishes into one segment, name that segment — it is the actual finding.
3. **Recompute the other way.** A different route to the same number catches a wrong filter; the same wrong filter twice does not.
4. **Check the denominator.** A rate that moved because its base changed is not a change in the numerator.

If it survives all four, report it *with* the fact that you checked — that is what makes it credible.

## When the data cannot answer

Say which field or which population would be needed, specifically enough to go and get it. "Insufficient data" is not actionable; "no per-user timestamps, so retention cannot be computed" is.

Versions

The database has no other skills named reproducible-analysis.

Database snapshot: 13.11.2026 · package version 4d0dc084e36b (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100sql-joins
    Choose and write the right join so rows are neither lost nor multiplied, and know why a result set grew. Use when combining tables and the row count or the null columns look wrong.
  • 100connect-data
    Guided wizard to connect a new dataset for analysis in Cowork: find CSV/Excel files, open local DuckDB, or point at a cloud warehouse via a connector, then profile the schema and register the dataset in .knowledge. Trigger on "/connect-data", "connect my data", "add a new…
  • 90investigate
    Investigate a data quality problem (a metric that dropped or spiked, duplicate rows, a join returning the wrong row count, a stale table, a failing dbt test) using the dqsleuth MCP tools. Use when the user reports a symptom in their data and wants the root cause, not just a test result.
  • 90data-analysis-report
    Analyse a dataset (CSV, JSON or query output) and write a reproducible report - data checks, descriptive statistics, the analysis that answers the question, charts and caveats. Use when asked to analyse, explore or explain data.
  • 95data
    Discover, collect, load, join, and inspect data for an analysis or ML project. Use for source access, provenance, observation units, missing semantics, label acquisition, or insufficient data; profile facts before proposing modeling choices.
  • 100data-profiling
    Deep-profile the active dataset: distributions, temporal patterns, correlations, completeness gaps, anomalies. Use after connecting a new dataset. Trigger on "profile this data", "deep-profile the dataset", "run a data profile", "check distributions", "find anomalies in the…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.