Index of every page on this site: llms.txt
All skills
nimrodfisher avatar

/data-quality-audit

@9449d36
Run it yourself

Comprehensive data quality assessment against business rules, schema constraints, and freshness expectations. Activate when validating data pipeline outputs before production use, auditing a dataset against defined business rules, or producing a quality scorecard for a data asset.

Use this Skill: https://skilld.dev/gh/nimrodfisher/data-analytics-skills/data-quality-audit

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈75 tokens for metadata: the name and description. ≈610 when used: this file. ≈2.6k more on demand in 3 files.

Description uses 3.8% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈302 characters, or 3.8%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

When to use

  • A data pipeline has just loaded new data and needs validation before downstream reports consume it
  • A stakeholder has flagged data quality concerns (wrong totals, unexpected nulls, stale data)
  • You need to produce a formal data quality scorecard for a data asset as part of a data governance process
  • You are onboarding a new data source and need to understand its quality profile before building on it

Process

  1. Null and completeness audit — run scripts/null_counter.py for a column-by-column null profile. Flag columns above acceptable thresholds for the business context.
  2. Duplicate detection — run scripts/duplicate_finder.py to identify full-row and key-level duplicates. Determine if duplicates are intentional (versioning) or errors (pipeline fan-out).
  3. Referential integrity check — run scripts/referential_integrity.py to validate that foreign key values in child tables exist in parent tables. Report orphan rate per relationship.
  4. Value range validation — run scripts/value_range_validator.py with business rules defined in references/business_rule_patterns.md. Flag values outside acceptable ranges.
  5. Freshness check — run scripts/freshness_check.py to verify the dataset is up to date — compare the latest record timestamp against the expected lag for this pipeline.
  6. Score and classify findings — map each finding to a quality dimension using references/quality_dimensions.md. Assign severity (CRITICAL / HIGH / MEDIUM / LOW).
  7. Produce deliverables — fill assets/audit_report_template.html for a shareable report; fill assets/quality_rubric.md for a concise scorecard.

Inputs the skill needs

  • Required: dataset (CSV / Parquet / database table reference)
  • Required: schema relationships — which columns are primary keys, which are foreign keys to which tables
  • Required: business rules — acceptable value ranges, expected value sets, freshness SLA
  • Optional: acceptable error rates — at what threshold does a failure become CRITICAL vs. HIGH
  • Optional: pipeline schedule — to assess freshness relative to expected update frequency

Output

  • assets/audit_report_template.html (filled) — full quality report, shareable with stakeholders
  • assets/quality_rubric.md (filled) — one-page quality scorecard with dimension scores
  • Script console output — per-check pass/fail counts for each validation script

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo4 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    The skill is a data quality audit tool designed to validate datasets against business rules and schema constraints. It is logically sound but handles untrusted external data (CSV/Parquet) and incorporates findings into reports, which represents a potential surface for indirect prompt injection.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

  • ZeroLeaks7mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 9449d36. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last month.

Activeupdated 7 months ago

README badge

README badge for nimrodfisher/data-analytics-skills/data-quality-audit