Skip to content
Back to skills

934 Scenario Ce0a01ed

ASecurity

Test whether the LLM can correctly explain when to use different data formats (`dict`, `csv`, `sql`) in dbt unit tests.

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
testinggosqltestingdocumentation

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 934-scenario_ce0a01ed --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 934 Scenario Ce0a01ed?

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

Security grade badge for 934 Scenario Ce0a01ed
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-934-scenario-ce0a01ed/badge)](https://www.skillsdirectory.com/skills/tools-only-934-scenario-ce0a01ed)

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

SKILL.md
# dbt Unit Test Format Choice

## Goal
Test whether the LLM can correctly explain when to use different data formats (`dict`, `csv`, `sql`) in dbt unit tests.

## Expected Behavior
The LLM should:
1. Explain that `dict` (inline YAML) is the default format and should be used by default
2. Explain when to use `sql` format:
   - When testing a model that depends on an ephemeral model
   - When unit testing columns with data types not supported by `dict` or `csv`
   - As a fallback when other formats won't work
3. Explain when to use `csv` format:
   - When using fixture files (preferred over `sql` for readability)
   - Fallback to `sql` if column data types aren't supported by `csv`
4. Mention key tradeoffs:
   - `sql` format requires specifying ALL columns (less convenient)
   - `dict` and `csv` allow specifying only a subset of columns
   - `sql` is the most flexible but least readable

## Evaluation Criteria
- **Correct**: Accurately describes when each format is appropriate
- **Complete**: Covers ephemeral model dependency requirement for `sql`
- **Practical**: Gives actionable guidance on format selection
- **Accurate**: Information matches current dbt documentation

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.

Comments

Loading comments…

Newsletter

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