From data-engineering
Reviews dbt incremental models to verify strategy justification, runtime behavior, and consistency with repo conventions. Use when strategies look over-engineered or rebuild/delete behavior is unclear.
How this skill is triggered — by the user, by Claude, or both
Slash command
/data-engineering:dbt-incremental-strategy-auditThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Determine whether a dbt incremental model's chosen strategy is justified, understandable, maintainable, and consistent with repository conventions. The goal is not to praise clever implementations. Default stance: skeptical, low-risk, root-cause oriented, convention-preserving — prefer the simplest correct strategy.
Determine whether a dbt incremental model's chosen strategy is justified, understandable, maintainable, and consistent with repository conventions. The goal is not to praise clever implementations. Default stance: skeptical, low-risk, root-cause oriented, convention-preserving — prefer the simplest correct strategy.
materialized='incremental' modelincremental_strategy, unique_key, partition_by/cluster_by/partitions, pre_hook/post_hookUnderstand the repo pattern first. Inspect similar incremental models and how they configure their strategies:
grep -rn "incremental_strategy" models/
grep -rln "is_incremental()" models/
Explain the actual runtime behavior. Compile the model and read the SQL that really runs — is_incremental() branches make the Jinja source misleading:
dbt compile --select <model>
# then read target/compiled/<project>/models/.../<model>.sql
is_incremental() is false when the target table does not yet exist or on --full-refresh, so reason through both branches.
Review the full incremental surface: materialized='incremental', incremental_strategy, is_incremental() logic, unique_key, partition_by/cluster_by/partitions, pre_hook/post_hook, delete/overwrite/merge semantics, rolling window logic, deduplication choices.
Identify hidden risks:
Check downstream stability before recommending a change:
dbt ls --select <model>+
Strategy changes can shift BI/reporting outputs; list affected downstream assets.
is_incremental() branches hide the real runtime behavior.npx claudepluginhub yeaight7/agent-powerups --plugin data-engineeringCreates, edits, and verifies skills using a test-driven development approach with pressure scenarios and subagents.