data-quality-testing

Generate and implement dbt tests for schema, SQL, and anomaly monitoring.

1|1|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/nrakow/ae-skills-dev --skill data-quality-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: data-quality-testing
Source: https://github.com/nrakow/ae-skills-dev/tree/main/skills/data-quality-testing
Command: npx skills add https://github.com/nrakow/ae-skills-dev --skill data-quality-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Writes comprehensive dbt tests — from schema tests to custom SQL assertions and Elementary anomaly tests — to catch data quality issues before they impact dashboards.

Core Features & Use Cases

  • Generate generic schema tests (unique, not_null, relationships) for every model.
  • Include dbt_utils-based validations (accepted_range, expression_is_true, coverage) and Elementary anomaly tests for production monitoring.
  • Audit existing test coverage and help you close gaps across sources, staging, and marts.

Quick Start

Run this skill to generate a complete dbt testing suite for your project and apply it to your models.

Frequently Asked Questions about data-quality-testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate comprehensive dbt tests for my data models?

Generate comprehensive dbt tests by creating YAML and SQL test definitions across staging, marts, and sources. This includes schema tests, unit tests, custom SQL checks, and anomaly monitoring to identify data quality gaps in production pipelines.

Does this dbt testing approach work with Elementary and dbt_utils?

Yes, the dbt testing approach supports integration with Elementary and dbt_utils. It generates dbt_utils-based validations and Elementary anomaly tests for production monitoring, alongside standard schema tests.

What's the best way to audit existing dbt test coverage and close gaps?

Audit existing test coverage by evaluating schema tests, custom SQL assertions, and anomaly tests across sources, staging, and marts. This identifies missing validations and helps implement comprehensive checks to close data quality gaps.

Can I use dbt 1.8+ data_tests for schema and unit testing?

Yes, dbt 1.8+ data_tests are fully supported for schema and unit testing. The test definitions satisfy requirements for dbt 1.8+ integration, including generic schema tests and custom SQL assertions.

When do I need custom SQL checks and anomaly monitoring in dbt pipelines?

Custom SQL checks and anomaly monitoring are needed for production pipelines requiring advanced data quality validation. They catch data quality issues before they impact dashboards by testing staging, marts, and sources with custom assertions.

What types of schema tests should I include for dbt data quality?

Schema tests for dbt data quality should include unique, not_null, and relationships tests for every model. Additionally, dbt_utils-based validations like accepted_range, expression_is_true, and coverage provide comprehensive coverage.