Skip to content
Back to skills

Dbt Analytics

ASecurity

Structure scalable dbt warehouse projects cleanly with layered models, incremental merges, data tests, and contracts

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 30, 2026
developmentpythonsql

Security analysis

A100/100

Scanned November 30, 2026

npx -y skills add AdityaaaTiwari/ANVIL --skill dbt-analytics --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Dbt Analytics?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Dbt Analytics
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/adityaaatiwari-dbt-analytics-anvil/badge)](https://www.skillsdirectory.com/skills/adityaaatiwari-dbt-analytics-anvil)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: dbt-analytics
description: Structure scalable dbt warehouse projects cleanly with layered models, incremental merges, data tests, and contracts
---

<!-- Generated by `anvil plugin build` from catalog/. Edit the catalog, not this file. -->

# dbt analytics

Use when authoring dbt SQL/Python models, YAML schemas, macros, incremental tables, or Slim CI checks.

## Modeling layers
- Enforce clean layering: `staging` (`stg_*` 1:1 with source tables for renaming/casting only), `intermediate` (`int_*` reusable joins/logic), and `marts` (business-facing facts/dimensions).
- Define sources cleanly in `sources.yml` with explicit freshness SLAs rather than hardcoding raw schema/table names inside models.
- Keep `is_incremental()` logic idempotent with explicit lookback windows for late-arriving events and unique keys for merge updates.

## Quality and contracts
- Add `not_null`, `unique`, `accepted_values`, and `relationships` tests on primary keys and critical foreign-key joins in model YAML files.
- Use SQL `contracts` (`contract: { enforced: true }`) on public downstream marts so accidental column renames or type changes fail loudly in CI.

## Verify
Run `dbt compile`, `dbt build --select state:modified+` against a zero-copy clone/dev schema, and confirm zero broken downstream references.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.