What problem does it solve?
Inconsistent application of dbt write patterns across models leads to drift in column naming, data types, join defaults, and materialization decisions. This Skill centralizes enforcement of best practices to produce predictable, auditable dbt artifacts.
Core Features & Use Cases
- Column naming & type preservation: Enforce exact column names from YML contracts, preserve source types when no reference exists, and ensure consistent casting across models.
- Join defaults & materialization: Standardize left/right joins, COALESCE for metrics, and correct materialization strategies per use case.
- Siblings & lookup patterns: Promote pattern reuse across sibling models and correct lookup fan-out handling.
- Grain consistency & ref usage: Validate grain and rely on ref models for shared metrics to avoid recomputing.
Quick Start
Apply the project’s dbt-write conventions when adding or updating a model to ensure consistent naming, typing, and join logic.