From Swantje
Connect a dbt project to Swantje — project dir, profiles, and target so the engineer and analyst agents understand your transformation layer
How this skill is triggered — by the user, by Claude, or both
Slash command
/swantje:connect-dbtThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Guide the user through connecting their dbt project.
Guide the user through connecting their dbt project.
Non-secret (write to .swantje/config.json):
project_dir (required) — path to the dbt project (where dbt_project.yml lives), e.g. ./transform or /home/user/analytics/transformprofiles_dir (optional) — path to profiles.yml. Defaults to ~/.dbt/target (default: dev) — dbt target to useNo secrets at the connector level — dbt credentials live in profiles.yml which the user already manages.
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.
Ask if their profiles.yml is in the default location (~/.dbt/profiles.yml) or elsewhere. If elsewhere, collect the path.
Ask which target to use. Common values: dev, prod, staging. Default to dev.
Read .swantje/config.json and update connectors.dbt:
"dbt": {
"enabled": true,
"project_dir": "<value>",
"profiles_dir": "<value or null>",
"target": "<value>"
}
[STUB — v0.0.1] Verification not yet implemented. Manual test:
cd <project_dir> && dbt debug --target <target>
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 projectnpx claudepluginhub datumlabsio/swantje --plugin swantjeProvides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.