Files
leo-claude-mktplace/plugins/data-platform/commands/data-dbt-test.md
lmiranda 2d51df7a42 feat(marketplace): command consolidation + 8 new plugins (v8.1.0 → v9.0.0) [BREAKING]
Phase 1b: Rename all ~94 commands across 12 plugins to /<noun> <action>
sub-command pattern. Git-flow consolidated from 8→5 commands (commit
variants absorbed into --push/--merge/--sync flags). Dispatch files,
name: frontmatter, and cross-reference updates for all plugins.

Phase 2: Design documents for 8 new plugins in docs/designs/.

Phase 3: Scaffold 8 new plugins — saas-api-platform, saas-db-migrate,
saas-react-platform, saas-test-pilot, data-seed, ops-release-manager,
ops-deploy-pipeline, debug-mcp. Each with plugin.json, commands, agents,
skills, README, and claude-md-integration. Marketplace grows from 12→20.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 14:52:11 -05:00

48 lines
960 B
Markdown

---
name: data dbt-test
---
# /data dbt-test - Run dbt Tests
## Skills to Load
- skills/dbt-workflow.md
- skills/mcp-tools-reference.md
- skills/visual-header.md
## Visual Output
Display header: `DATA-PLATFORM - dbt Tests`
## Usage
```
/data dbt-test [selection] [--warn-only]
```
## Workflow
Execute `skills/dbt-workflow.md` test workflow:
1. **Pre-validation** (MANDATORY): Run `dbt_parse` first
2. **Execute tests**: Use `dbt_test` with selection
3. **Format results**: Group by test type, show pass/fail/warn counts
## Options
| Flag | Description |
|------|-------------|
| `--warn-only` | Treat failures as warnings |
## Examples
```
/data dbt-test # Run all tests
/data dbt-test dim_customers # Tests for specific model
/data dbt-test tag:critical # Run critical tests only
```
## Required MCP Tools
- `dbt_parse` - Pre-validation (ALWAYS RUN FIRST)
- `dbt_test` - Execute tests (REQUIRED)