migrating-sql-to-dbt — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited migrating-sql-to-dbt (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Don't convert everything at once. Build and validate layer by layer.
cat <legacy_sql_file>Identify all tables referenced in the query.
# Search for existing models/sources that reference the table
grep -r "<table_name>" models/ --include="*.sql" --include="*.yml"
find models/ -name "*.sql" | xargs grep -l "<table_name>"For each table referenced in the legacy SQL:
Only proceed to intermediate/mart layers after all dependencies exist.
# models/staging/sources.yml
version: 2
sources:
- name: raw_database
schema: raw_schema
tables:
- name: orders
description: Raw orders from source system
- name: customers
description: Raw customer recordsOne staging model per source table. Follow existing project naming conventions.
Build before proceeding:
dbt build --select <staging_model>Extract complex joins/logic into intermediate models.
Build incrementally:
dbt build --select <intermediate_model>Final business-facing model with aggregations.
# Build entire lineage
dbt build --select +<final_model>
dbt show --select <final_model>{{ config(materialized='ephemeral') }}{{ var("name") }}~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.