agentleFS
ChrisGVEChrisGVE/localdata-mcp/skills/exploration/data-quality/SKILL.md

data-quality

Skill4 starsChanged 15 months agoApache-2.0View on GitHub

Run a thorough data quality assessment — completeness, consistency, validity, and uniqueness. Use when you need to understand data fitness before analysis.

9 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 8 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Connect if needed: If $ARGUMENTS is a file path, call connect_database to load it.

    line 14
  2. Very specific:

    Assess completeness: Call execute_query to compute null percentages per column.

    line 18
  3. Very specific:

    Validate value ranges: Call execute_query to compute min, max, mean, and percentiles for numeric columns.

    line 29
  4. Distinctive:

    Check consistency: Look for:

    line 34

“Common” is measured: kept by at least 6 in 10 of the 8 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Data Quality Assessment

Perform a comprehensive data quality audit covering completeness, consistency, validity, and uniqueness.

Steps

  1. Connect if needed. If $ARGUMENTS is a file path, call connect_database to load it. If it is a database name, proceed directly. Call describe_database to list all tables and row counts.
  2. Profile each table. For each table (or the primary tables if many), call describe_table to get column types, nullability, and cardinality. Call get_data_quality_report for detailed quality metrics.
  3. Assess completeness. Call execute_query to compute null percentages per column. Classify:
    • Complete (< 1% null): no action needed
    • Minor gaps (1-10% null): note but likely manageable
    • Significant gaps (10-30% null): flag for imputation or exclusion decisions
    • Severe gaps (> 30% null): column may be unusable without careful treatment
  4. Check uniqueness. For each column, call execute_query to compare distinct count against total count. Identify:
    • Candidate keys (100% unique)
    • High-cardinality categoricals (many unique values but not keys)
    • Suspicious duplicates (IDs that should be unique but are not)
  5. Validate value ranges. Call execute_query to compute min, max, mean, and percentiles for numeric columns. Flag:
    • Impossible values (negative ages, future dates in historical data, percentages > 100)
    • Extreme outliers (values beyond 3 IQR from quartiles)
    • Suspicious constants (columns with a single value)
  6. Check consistency. Look for:
    • Mixed data types within columns (numbers stored as strings)
    • Inconsistent formats (date formats, case sensitivity, encoding)
    • Referential integrity (foreign keys with no matching parent)
    • Contradictory records (same entity with conflicting attribute values)
  7. Report findings. Present a structured quality scorecard:
    • Overall data health score (percentage of columns with no issues)
    • Per-column quality summary: completeness, uniqueness, validity
    • Ranked list of issues from most to least severe
    • Impact assessment: which issues would affect which types of analysis
    • Remediation suggestions for each issue category
  8. Recommend next steps. Based on quality, suggest:
    • Ready for analysis: proceed to /localdata-mcp:explore-data or domain-specific skills
    • Needs cleaning: specific columns to impute, filter, or transform before analysis
    • Needs investigation: anomalies that require domain expert input

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.