Connect dbt
Connect a dbt project to Swantje — project dir, profiles, and target so the engineer and analyst agents understand your transformation layerFrom its SKILL.md
npx -y skills add datumlabsio/swantje --skill connect-dbtAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.8 KB, as published. Nobody here has run it
dbt Connector
Guide the user through connecting their dbt project.
What to collect
Non-secret (write to .swantje/config.json):
project_dir(required) — path to the dbt project (wheredbt_project.ymllives), e.g../transformor/home/user/analytics/transformprofiles_dir(optional) — path toprofiles.yml. Defaults to~/.dbt/target(default:dev) — dbt target to use
No secrets at the connector level — dbt credentials live in profiles.yml which the user already manages.
Step 1 — Find the dbt project
Ask for project_dir. Verify dbt_project.yml exists there:
ls <project_dir>/dbt_project.yml
If not found, help them locate it or confirm it's a valid dbt project.
Step 2 — Confirm profiles
Ask if their profiles.yml is in the default location (~/.dbt/profiles.yml) or elsewhere. If elsewhere, collect the path.
Step 3 — Confirm target
Ask which target to use. Common values: dev, prod, staging. Default to dev.
Write the config
Read .swantje/config.json and update connectors.dbt:
"dbt": {
"enabled": true,
"project_dir": "<value>",
"profiles_dir": "<value or null>",
"target": "<value>"
}
Verify
[STUB — v0.0.1] Verification not yet implemented. Manual test:
cd <project_dir> && dbt debug --target <target>
Confirm
Tell the user dbt is connected. Agents now understand the transformation layer:
/swantje:analyst— can reference dbt models when answering questions about data/swantje:engineer— can generate, refactor, and test dbt models in the project