Data Warehouse Experimentation
rampstackco/claude-skills
Running experiments out of the data warehouse instead of via dedicated experiment platforms.
Creates unit test YAML definitions that mock upstream model inputs and validate expected outputs.
$ npx skills add Kilo-Org/kilo-marketplace --skill adding-dbt-unit-test -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Kilo-Org/kilo-marketplace adding-dbt-unit-test --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/Kilo-Org/kilo-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/dbt/skills/adding-dbt-unit-test .claude/skills/adding-dbt-unit-test && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "adding-dbt-unit-test" agent skill from https://github.com/Kilo-Org/kilo-marketplace/tree/main/skills/dbt/skills/adding-dbt-unit-test into .claude/skills/adding-dbt-unit-test/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "adding-dbt-unit-test", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/Kilo-Org/kilo-marketplace/tree/main/skills/dbt/skills/adding-dbt-unit-testType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add Kilo-Org/kilo-marketplace --skill adding-dbt-unit-test -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Kilo-Org/kilo-marketplace adding-dbt-unit-test --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Kilo-Org/kilo-marketplace.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/dbt/skills/adding-dbt-unit-test .agents/skills/adding-dbt-unit-test && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "adding-dbt-unit-test" agent skill from https://github.com/Kilo-Org/kilo-marketplace/tree/main/skills/dbt/skills/adding-dbt-unit-test into .agents/skills/adding-dbt-unit-test/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "adding-dbt-unit-test", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Kilo-Org/kilo-marketplace --skill adding-dbt-unit-test -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Kilo-Org/kilo-marketplace adding-dbt-unit-test --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Kilo-Org/kilo-marketplace.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/dbt/skills/adding-dbt-unit-test .cursor/skills/adding-dbt-unit-test && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "adding-dbt-unit-test" agent skill from https://github.com/Kilo-Org/kilo-marketplace/tree/main/skills/dbt/skills/adding-dbt-unit-test into .cursor/skills/adding-dbt-unit-test/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "adding-dbt-unit-test", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/Kilo-Org/kilo-marketplace.git --path skills/dbt/skills/adding-dbt-unit-test--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add Kilo-Org/kilo-marketplace --skill adding-dbt-unit-test -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Kilo-Org/kilo-marketplace adding-dbt-unit-test --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Kilo-Org/kilo-marketplace.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/dbt/skills/adding-dbt-unit-test .gemini/skills/adding-dbt-unit-test && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "adding-dbt-unit-test" agent skill from https://github.com/Kilo-Org/kilo-marketplace/tree/main/skills/dbt/skills/adding-dbt-unit-test into .gemini/skills/adding-dbt-unit-test/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "adding-dbt-unit-test", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Kilo-Org/kilo-marketplace adding-dbt-unit-testInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Kilo-Org/kilo-marketplace --skill adding-dbt-unit-test -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Kilo-Org/kilo-marketplace.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/dbt/skills/adding-dbt-unit-test .github/skills/adding-dbt-unit-test && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "adding-dbt-unit-test" agent skill from https://github.com/Kilo-Org/kilo-marketplace/tree/main/skills/dbt/skills/adding-dbt-unit-test into .github/skills/adding-dbt-unit-test/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "adding-dbt-unit-test", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Kilo-Org/kilo-marketplace --skill adding-dbt-unit-test -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Kilo-Org/kilo-marketplace adding-dbt-unit-test --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Kilo-Org/kilo-marketplace.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/dbt/skills/adding-dbt-unit-test .opencode/skills/adding-dbt-unit-test && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "adding-dbt-unit-test" agent skill from https://github.com/Kilo-Org/kilo-marketplace/tree/main/skills/dbt/skills/adding-dbt-unit-test into .opencode/skills/adding-dbt-unit-test/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "adding-dbt-unit-test", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
adding-dbt-unit-testCreates unit test YAML definitions that mock upstream model inputs and validate expected outputs.
Adding Dbt Unit Test is an agent skill from Kilo-Org/kilo-marketplace. Creates unit test YAML definitions that mock upstream model inputs and validate expected outputs. Use when adding unit tests for a dbt model or practicing test-driven development (TDD) in dbt.
Its SKILL.md is about 4.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 14 other files, including reference files (for example `references/examples.md`, `references/spec.md` and `references/special-cases-ephemeral-dependency.md`).
It sits in Testing & QA, covering Unit testing, Data pipelines and ETL and Test-driven development. It works with dbt, Google BigQuery, SQL and PostgreSQL. The repository describes itself as: Kilo Marketplace - A curated collection of Skills, MCP Servers, and Modes for enhancing AI agent capabilities across the Kilo ecosystem—including Kilo Code (VS Code extension)… The licence is Apache-2.0.
3 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit ff51758. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
dbtFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Adding Dbt Unit Test loads about 4.2k tokens when it runs, and up to ~8.4k if it reads all its reference files. Until then it costs about 53 tokens; SKILL.md has 1,913 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from Kilo-Org/kilo-marketplace at commit ff51758, republished under its Apache-2.0 licence (© Kilo-Org). 1,913 words, ~4,150 tokens.
.claude/skills/adding-dbt-unit-test/SKILL.md (or your agent's skills folder). This skill also uses 13 other files; get the full folder from GitHub.dbt unit tests validate SQL modeling logic on static inputs before materializing in production. If any unit test for a model fails, dbt will not materialize that model.
You should unit test a model:
More examples:
case when statements when there are many whensCases we don't recommend creating unit tests for:
min(), etc.dbt unit test uses a trio of the model, given inputs, and expected outputs (Model-Inputs-Outputs):
model - when building this modelgiven inputs - given a set of source, seeds, and models as preconditionsexpect output - then expect this row content of the model as a postconditionSelf explanatory -- the title says it all!
format if different than the default (YAML dict).formats for unit tests" section below to determine which format to use.Tip: Use dbt show to explore existing data from upstream models or sources. This helps you understand realistic input structures. However, always sanitize the sample data to remove any sensitive or PII information before using it in your unit test fixtures.
# Preview upstream model data
dbt show --select upstream_model --limit 5format if different than the default (YAML dict).formats for unit tests" section below to determine which format to use.Suppose you have this model:
-- models/hello_world.sql
select 'world' as helloMinimal unit test for that model:
# models/_properties.yml
unit_tests:
- name: test_hello_world
# Always only one transformation to test
model: hello_world
# No inputs needed this time!
# Most unit tests will have inputs -- see the "real world example" section below
given: []
# Expected output can have zero to many rows
expect:
rows:
- {hello: world}Run the unit tests, build the model, and run the data tests for the hello_world model:
dbt build --select hello_worldThis saves on warehouse spend as the model will only be materialized and move on to the data tests if the unit tests pass successfully.
Or only run the unit tests without building the model or running the data tests:
dbt test --select "hello_world,test_type:unit"Or choose a specific unit test by name:
dbt test --select test_is_valid_email_addressdbt Labs strongly recommends only running unit tests in development or CI environments. Since the inputs of the unit tests are static, there's no need to use additional compute cycles running them in production. Use them when doing development for a test-driven approach and CI to ensure changes don't break them.
Use the --resource-type flag --exclude-resource-type or the DBT_EXCLUDE_RESOURCE_TYPES environment variable to exclude unit tests from your production builds and save compute.
unit_tests:
- name: test_order_items_count_drink_items_with_zero_drinks
description: >
Scenario: Order without any drinks
When the `order_items_summary` table is built
Given an order with nothing but 1 food item
Then the count of drink items is 0
# Model
model: order_items_summary
# Inputs
given:
- input: ref('order_items')
rows:
- {
order_id: 76,
order_item_id: 3,
is_drink_item: false,
}
- input: ref('stg_orders')
rows:
- { order_id: 76 }
# Output
expect:
rows:
- {
order_id: 76,
count_drink_items: 0,
}For more examples of unit tests, see references/examples.md
materialized view materialization.expect output for final state of the database table after inserting/merging for incremental models.expect output for what will be merged/inserted for incremental models.model-paths directory (models/ by default)test-paths directory (tests/fixtures by default)ref or source model references in the unit test configuration as inputs to avoid "node not found" errors during compilation.format: sql for the ephemeral model input.join logicUse inputs in your unit tests to reference a specific model or source for the test:
input:, use a string that represents a ref or source call:ref('my_model') or ref('my_model', v='2') or ref('dougs_project', 'users')source('source_schema', 'source_name')rows: []ref or source dependency, but its values are irrelevant to this particular unit test. Just beware if the model has a join on that input that would cause rows to drop out!models/schema.yml
unit_tests:
- name: test_is_valid_email_address # this is the unique name of the test
model: dim_customers # name of the model I'm unit testing
given: # the mock data for your inputs
- input: ref('stg_customers')
rows:
- {email: cool@example.com, email_top_level_domain: example.com}
- {email: cool@unknown.com, email_top_level_domain: unknown.com}
- {email: badgmail.com, email_top_level_domain: gmail.com}
- {email: missingdot@gmailcom, email_top_level_domain: gmail.com}
- input: ref('top_level_email_domains')
rows:
- {tld: example.com}
- {tld: gmail.com}
- input: ref('irrelevant_dependency') # dependency that we need to acknowlege, but does not need any data
rows: []
...
formats for unit testsdbt supports three formats for mock data within unit tests:
dict (default): Inline YAML dictionary values.csv: Inline CSV values or a CSV file.sql: Inline SQL query or a SQL file.To see examples of each of the formats, see references/examples.md
formatdict format by default, but fall back to another format as-needed.sql format when testing a model that depends on an ephemeral modelsql format when unit testing a column whose data type is not supported by the dict or csv formats.csv or sql formats when using a fixture file. Default to csv, but fallback to sql if any of the column data types are not supported by the csv format.sql format is the least readable and requires suppling mock data for all columns, so prefer other formats when possible. But it is also the most flexible, and should be used as the fallback in scenarios where dict or csv won't work.Notes:
sql format you must supply mock data for all columns whereas dict and csv may supply only a subset.sql format allows you to unit test a model that depends on an ephemeral model -- dict and csv can't be used in that case.The dict format only supports inline YAML mock data, but you can also use csv or sql either inline or in a separate fixture file. Store your fixture files in a fixtures subdirectory in any of your test-paths. For example, tests/fixtures/my_unit_test_fixture.sql.
When using the dict or csv format, you only have to define the mock data for the columns relevant to you. This enables you to write succinct and specific unit tests. For the sql format all columns need to be defined.
There are platform-specific details required if implementing on (Redshift, BigQuery, etc). Read the caveats file for your database (if it exists):
Unit tests are designed to test for the expected values, not for the data types themselves. dbt takes the value you provide and attempts to cast it to the data type as inferred from the input and output models.
How you specify input and expected values in your unit test YAML definitions are largely consistent across data warehouses, with some variation for more complex data types.
Read the data types file for your database:
By default, all specified unit tests are enabled and will be included according to the --select flag.
To disable a unit test from being executed, set:
config:
enabled: falseThis is helpful if a unit test is incorrectly failing and it needs to be disabled until it is fixed.
When a unit test fails, there will be a log message of "actual differs from expected", and it will show a "data diff" between the two:
actual differs from expected:
@@ ,email ,is_valid_email_address
→ ,cool@example.com,True→False
,cool@unknown.com,FalseThere are two main possibilities when a unit test fails:
It takes expert judgement to determine one from the other.
--empty flagThe direct parents of the model that you’re unit testing need to exist in the warehouse before you can execute the unit test. The run and build commands supports the --empty flag for building schema-only dry runs. The --empty flag limits the refs and sources to zero rows. dbt will still execute the model SQL against the target data warehouse but will avoid expensive reads of input data. This validates dependencies and ensures your models will build properly.
Use the --empty flag to build an empty version of the models to save warehouse spend.
dbt run --select "stg_customers top_level_email_domains" --empty
| Mistake | Fix |
|---|---|
| Testing simple SQL using built-in functions | Only unit test complex logic: regex, date math, window functions, multi-condition case statements |
| Mocking all columns in input data | Only include columns relevant to the test case |
Using sql format when dict works | Prefer dict (most readable), fall back to csv or sql only when needed |
Missing input for a ref or source | Include all model dependencies to avoid "node not found" errors |
| Testing Python models or snapshots | Unit tests only support SQL models |
© Kilo-Org, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 13 other files (references) in skills/dbt/skills/adding-dbt-unit-test of Kilo-Org/kilo-marketplace.
Open the folder on GitHubat commit ff51758
Adding Dbt Unit Test next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Adding Dbt Unit Test this skillKilo-Org/kilo-marketplace | 190 | — | ~4.2k | Automated safety check: Pass | Apache-2.0 | |
| Data Warehouse Experimentationrampstackco/claude-skills | 940 | — | ~7.3k | Automated safety check: Pass | MIT | |
| SQL Queriesw95/awesome-claude-corporate-skills | 237 | 3 repos | ~2.8k | Automated safety check: Pass | MIT | |
| Snowflake Developmentsickn33/agentic-awesome-skills | 47k | 2 repos | ~2.1k | Automated safety check: Pass | MIT | |
| Snowflake Developmentalirezarezvani/claude-skills | 28k | — | ~3.2k | Automated safety check: Pass | MIT | |
| SQL Sentinelsickn33/agentic-awesome-skills | 47k | 1 repos | ~1.5k | Automated safety check: Pass | MIT |
rampstackco/claude-skills
Running experiments out of the data warehouse instead of via dedicated experiment platforms.
w95/awesome-claude-corporate-skills
Write correct, performant SQL across all major data warehouse dialects (Snowflake, BigQuery, Databricks, PostgreSQL, etc.).
sickn33/agentic-awesome-skills
Comprehensive Snowflake development assistant covering SQL best practices, data pipeline design (Dynamic Tables, Streams, Tasks, Snowpipe), Cortex AI functions, Cortex Agents, Snowpark Python, dbt…
alirezarezvani/claude-skills
A skill your agent uses when writing Snowflake SQL, building data pipelines with Dynamic Tables or Streams/Tasks, using Cortex AI functions, creating Cortex Agents, writing Snowpark Python…
sickn33/agentic-awesome-skills
Audit SQL for the cost & performance anti-patterns that burn warehouse credits.
UiPath/skills
UiPath Process Mining via uip pm — build and operate a process app end-to-end from a CSV / event log: templates, data mapping, upload, ingest, the dbt (Snowflake) transformation layer, publish, and…
Kilo-Org/kilo-marketplace
Sets up and maintains AzureML-ready Python projects as uv workspaces with devcontainers, a Makefile and job YAML, so local runs match cloud jobs and experiments stay reproducible.
Kilo-Org/kilo-marketplace
Creates, inspects, edits and runs Jupyter notebooks, scaffolding experiment or tutorial notebooks from templates and preferring a Jupyter MCP server over raw JSON edits.
Kilo-Org/kilo-marketplace
Takes a plain-language dashboard request through brand setup, data exploration, planning, an interactive HTML mock and a Tableau implementation spec.
Kilo-Org/kilo-marketplace
Ingest and transform data files (CSV/JSON/Parquet/Arrow IPC) into Elasticsearch with stream processing and custom transforms.
Kilo-Org/kilo-marketplace
A skill your agent uses when arranging Apache NiFi processors, process groups, ports, comments, numbering, crossing connections, dense fan-in/fan-out, or reusable readable canvas layouts.
Kilo-Org/kilo-marketplace
Render Cisco Data Fabric ingest-time routing workflows and Splunk Cloud Platform Ingest Processor setup plans with SPL2 pipelines, source types, destinations, lifecycle handoffs, queue and…
Works with
Categories
Creates unit test YAML definitions that mock upstream model inputs and validate expected outputs. Adding Dbt Unit Test is an agent skill from Kilo-Org/kilo-marketplace. Creates unit test YAML definitions that mock upstream model inputs and validate expected outputs.
Adding Dbt Unit Test fits situations like: adding unit tests for a dbt model; practicing test-driven development (TDD) in dbt.
Run `npx skills add Kilo-Org/kilo-marketplace --skill adding-dbt-unit-test -a claude-code`. Or copy the skill folder (skills/dbt/skills/adding-dbt-unit-test in Kilo-Org/kilo-marketplace) into .claude/skills/adding-dbt-unit-test in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Kilo-Org/kilo-marketplace --skill adding-dbt-unit-test -a codex`. Or copy the skill folder (skills/dbt/skills/adding-dbt-unit-test in Kilo-Org/kilo-marketplace) into .agents/skills/adding-dbt-unit-test in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Kilo-Org/kilo-marketplace --skill adding-dbt-unit-test -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/adding-dbt-unit-test, .gemini/skills/adding-dbt-unit-test, .github/skills/adding-dbt-unit-test and .opencode/skills/adding-dbt-unit-test in your project.
Going by SKILL.md and its folder, Adding Dbt Unit Test needs the command-line tools its instructions call (dbt). Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Adding Dbt Unit Test is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 4.2k tokens (SKILL.md is roughly 17k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 4.3k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Adding Dbt Unit Test: Data Warehouse Experimentation (rampstackco/claude-skills, 940 stars), SQL Queries (w95/awesome-claude-corporate-skills, 237 stars), Snowflake Development (sickn33/agentic-awesome-skills, 47k stars) and Snowflake Development (alirezarezvani/claude-skills, 28k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Kilo-Org (a GitHub organization) maintains it in Kilo-Org/kilo-marketplace, which has 190 GitHub stars. The repository holds 85 skills in this directory. The repository was last updated on September 28, 2026.
Source: Kilo-Org/kilo-marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.