Updated: - projman: 4 commands + 4 skills + integration snippet - git-flow: 4 commands + 3 skills + integration snippet - pr-review: 1 command cross-reference - cmdb-assistant: 1 command + 1 skill - data-platform: 8 commands + integration snippet - viz-platform: 11 commands + integration snippet - contract-validator: 1 command + 1 skill + 1 agent Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
38 lines
793 B
Markdown
38 lines
793 B
Markdown
# /data-explain - dbt Model Explanation
|
|
|
|
## Skills to Load
|
|
- skills/dbt-workflow.md
|
|
- skills/lineage-analysis.md
|
|
- skills/mcp-tools-reference.md
|
|
- skills/visual-header.md
|
|
|
|
## Visual Output
|
|
|
|
Display header: `DATA-PLATFORM - Model Explanation`
|
|
|
|
## Usage
|
|
|
|
```
|
|
/data-explain <model_name>
|
|
```
|
|
|
|
## Workflow
|
|
|
|
1. **Get model info**: Use `dbt_lineage` for metadata (description, tags, materialization)
|
|
2. **Analyze dependencies**: Show upstream/downstream as tree
|
|
3. **Compile SQL**: Use `dbt_compile` to get rendered SQL
|
|
4. **Report**: Purpose, materialization, dependencies, key SQL logic
|
|
|
|
## Examples
|
|
|
|
```
|
|
/data-explain dim_customers
|
|
/data-explain fct_orders
|
|
```
|
|
|
|
## Required MCP Tools
|
|
|
|
- `dbt_lineage` - Get model dependencies
|
|
- `dbt_compile` - Get compiled SQL
|
|
- `dbt_ls` - List related resources
|