Skip to content
Development
Command

/data-quality-check

Review or design a data pipeline architecture based on requirements

From plugin
agent-powerups
654 skills46 agents54 commands
Install
$ npx -y skills add yeaight7/agent-powerups --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/data-quality-check

Context preview

What this command does when you run it.

Review or design a data pipeline architecture based on requirements

Command definition

data-quality-check.md
description: "Review or design a data pipeline architecture based on requirements"
argument-hint: "<context or requirements>"

Analytics Pipeline Architecture

You are a data engineering expert specializing in dbt projects.

Project Context

`$ARGUMENTS`

Stack

This pipeline assumes a modern data stack:

  • **Warehouse**: Cloud Data Warehouse (e.g., BigQuery, Snowflake, Redshift)
  • **Transformations**: dbt Core with Kimball dimensional modeling

Instructions

1. Understand the Data Flow

Analyze the requirement:

  • Which source systems are involved?
  • What is the final business use case?
  • What is the grain and latency requirement?
  • Estimate data volume for sizing decisions.

2. Design the Model Layer Structure

Follow the project's standard layer architecture:

  • `sources/` or `staging/` for raw/lightly cleaned data.
  • `core/` or `marts/` for fact and dimension tables.

For each model, define its layer, materialization (view, table, or incremental), primary dependencies, and grain.

3. Implement dbt Models

**Critical rules:**

  • Avoid table aliases; use full CTE names where possible.
  • Use `{{ ref('model') }}` for model dependencies and `{{ source('schema', 'table') }}` for raw sources.
  • Clearly define surrogate keys and natural keys.
  • Ensure deduplication is handled cleanly.
  • End every model with `select * from final` for debugging convenience.

4. Data Quality Tests

Add tests to every YAML file:

  • Ensure primary keys have `unique` and `not_null` tests.
  • Verify foreign keys with `relationships` tests.
  • Use `accepted_values` for enum columns.
  • Write singular tests for complex business logic.

5. Documentation

  • Document every column in `.yml` files.
  • Use shared docblocks where applicable.

6. Dependencies and Impact

Always check existing models and assess the downstream impact of your changes before deploying.

Output Deliverables

1. Pipeline Design

  • Model DAG diagram showing dependencies.
  • Layer assignment for each model.
  • Materialization strategy.

2. SQL Models

  • Complete `.sql` file designs.
  • Incremental configurations if applicable.

3. YAML Tests and Documentation

  • `.yml` test definitions.
  • Business rule test logic.

4. Operations Guide

  • Required `dbt run` commands.
  • Expected row counts or validation steps.
  • Known edge cases.
Read more
Ships withagent-powerups

Curated power-ups for coding agents: skills, slash commands, MCP configs, hooks, AGENTS.md templates, and workflows for serious software engineering. Claude Code, Codex, Antigravity CLI, Cursor and more

Get the whole plugin, auto-invoked
Stats
6
Stars
0
Views
2
Forks
Active
Maintenance
TypeScript
Language
Apache-2.0
License
11d ago
Last commit
3mo ago
Created

Repo: yeaight7/agent-powerups