You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+33-72Lines changed: 33 additions & 72 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
-
# Contributing to dbt CLI Skills
1
+
# Contributing to dbt Agent Skills
2
2
3
-
Thank you for your interest in contributing dbt CLI skills! This guide will help you create, improve, and submit skills that help AI agents work effectively with dbt.
3
+
Thank you for your interest in contributing to dbt Agent Skills! This guide will help you create, improve, and submit skills that help AI agents work effectively with dbt.
4
4
5
5
## Table of Contents
6
6
@@ -17,7 +17,7 @@ Thank you for your interest in contributing dbt CLI skills! This guide will help
17
17
18
18
## About this Repository
19
19
20
-
This repository contains Agent Skills specifically for dbt CLI operations. Skills follow the [Agent Skills specification](https://agentskills.io/specification) and help AI agents execute dbt commands, understand workflows, and troubleshoot issues.
20
+
This repository contains Agent Skills for working with dbt. Skills follow the [Agent Skills specification](https://agentskills.io/specification) and help AI agents build models, create semantic layers, troubleshoot platform issues, and more.
21
21
22
22
## How to Contribute
23
23
@@ -105,10 +105,10 @@ deactivate
105
105
106
106
### 1. Create the Skill Folder
107
107
108
-
Create a new folder with a descriptive name using kebab-case:
108
+
Create a new folder with a descriptive name using **gerund form** (verb + -ing):
109
109
110
110
```bash
111
-
mkdir -p skills/run-incremental-models
111
+
mkdir -p skills/running-incremental-models
112
112
```
113
113
114
114
### 2. Create SKILL.md
@@ -117,29 +117,24 @@ Every skill must have a `SKILL.md` file following the Agent Skills specification
117
117
118
118
```markdown
119
119
---
120
-
name: run-incremental-models
121
-
description: Execute dbt incremental models with proper refresh strategies
120
+
name: running-incremental-models
121
+
description: Use when running incremental dbt models or deciding between incremental and full refresh strategies
122
+
user-invocable: false
123
+
metadata:
124
+
author: dbt-labs
122
125
---
123
126
124
-
# Run Incremental Models
127
+
# Running Incremental Models
125
128
126
129
This skill helps agents execute incremental dbt models effectively, understanding when to use full refresh and how to handle incremental logic.
127
130
128
131
## When to Use
129
132
130
-
Use this skill when:
131
133
- Running specific incremental models
132
134
- Forcing a full refresh of incremental models
133
135
- Testing incremental logic after changes
134
136
- Rebuilding corrupted incremental tables
135
137
136
-
## Prerequisites
137
-
138
-
- dbt Core or dbt Cloud CLI installed
139
-
- Active dbt project with `dbt_project.yml`
140
-
- Configured database connection in `profiles.yml`
141
-
- At least one incremental model in the project
142
-
143
138
## Commands
144
139
145
140
### Run All Incremental Models
@@ -152,56 +147,20 @@ dbt run --select config.materialized:incremental
152
147
dbt run --select config.materialized:incremental --full-refresh
153
148
\`\`\`
154
149
155
-
### Run Specific Incremental Model
156
-
\`\`\`bash
157
-
dbt run --select model_name --full-refresh
158
-
\`\`\`
159
-
160
-
## Examples
161
-
162
-
### Scenario 1: Daily Incremental Run
163
-
\`\`\`bash
164
-
# Run only incremental models for daily refresh
165
-
dbt run --select config.materialized:incremental
166
-
\`\`\`
167
-
168
-
### Scenario 2: Fix Corrupted Incremental Table
169
-
\`\`\`bash
170
-
# Full refresh a specific model to rebuild from scratch
171
-
dbt run --select my_incremental_model --full-refresh
172
-
\`\`\`
173
-
174
-
### Scenario 3: Test Incremental Logic
175
-
\`\`\`bash
176
-
# Run with full refresh on a subset
177
-
dbt run --select my_incremental_model+ --full-refresh
178
-
\`\`\`
179
-
180
-
## Common Issues
181
-
182
-
-**Incremental logic not working**: Use `--full-refresh` to rebuild
183
-
-**Performance issues**: Check incremental predicates and unique keys
184
-
-**Missing records**: Verify the incremental strategy matches your use case
185
-
186
-
## Related Commands
187
-
188
-
-`dbt build --select config.materialized:incremental` - Build with tests
189
-
-`dbt run --select state:modified+ --state ./target` - Run changed incrementals
0 commit comments