Agent skill
data-quality
Data quality testing with dbt tests, Great Expectations, and monitoring.
Install this agent skill to your Project
npx add-skill https://github.com/timequity/plugins/tree/main/craft-coder/data/data-quality
SKILL.md
Data Quality
Quality Dimensions
| Dimension | Description | Test |
|---|---|---|
| Completeness | No missing values | NOT NULL, count checks |
| Uniqueness | No duplicates | UNIQUE, distinct counts |
| Validity | Values in range | Range checks, regex |
| Consistency | Matches across sources | Cross-table checks |
| Timeliness | Data is fresh | Freshness checks |
dbt Tests
Schema Tests
models:
- name: fct_orders
columns:
- name: order_id
tests:
- unique
- not_null
- name: status
tests:
- accepted_values:
values: ['pending', 'completed', 'cancelled']
- name: amount
tests:
- not_null
- dbt_utils.accepted_range:
min_value: 0
max_value: 1000000
Custom Tests
-- tests/assert_positive_revenue.sql
select *
from {{ ref('fct_orders') }}
where amount < 0
Relationship Tests
- name: customer_id
tests:
- relationships:
to: ref('dim_customer')
field: customer_id
Great Expectations
import great_expectations as gx
context = gx.get_context()
validator = context.sources.pandas_default.read_csv("data.csv")
validator.expect_column_values_to_not_be_null("order_id")
validator.expect_column_values_to_be_unique("order_id")
validator.expect_column_values_to_be_between("amount", 0, 1000000)
results = validator.validate()
Monitoring
- Row count trends
- Null percentage trends
- Schema drift detection
- Freshness SLAs
- Anomaly detection
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
claude-code-course
Learn Claude Code in 5 hands-on lessons. From basics to building applications. Use when: user wants to learn Claude Code, asks "how do I...", or is new. Triggers: "learn", "teach me", "how does this work", "I'm new", "course".
foundations
Claude Code basics for new users. Covers essential concepts and commands. Use when: user is new to Claude Code or routed here by learning-path assessment.
advanced
Claude Code mastery for power users. Build agents, MCP servers, publish plugins. Use when: user wants to create agents, build integrations, or publish plugins.
lessons
Lesson content for Claude Code Course. Use when: loading lesson content. Internal skill - contains lesson files.
intermediate
Claude Code customization for comfortable users. Covers skills, commands, MCP, hooks. Use when: user knows basics and wants to customize Claude Code.
course-help
Help and navigation for Claude Code Course. Use when: user asks about the course, lessons, or progress. Triggers: "help", "course help", "what lessons", "my progress".
Didn't find tool you were looking for?