Deploying Airflow
astronomer/agents
Deploys Airflow DAGs and projects. An agent skill from astronomer/agents.
Safely refactors dbt models with downstream impact analysis.
$ npx skills add AltimateAI/data-engineering-skills --skill refactoring-dbt-models -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install AltimateAI/data-engineering-skills refactoring-dbt-models --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/AltimateAI/data-engineering-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/dbt/refactoring-dbt-models .claude/skills/refactoring-dbt-models && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "refactoring-dbt-models" agent skill from https://github.com/AltimateAI/data-engineering-skills/tree/main/skills/dbt/refactoring-dbt-models into .claude/skills/refactoring-dbt-models/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "refactoring-dbt-models", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/AltimateAI/data-engineering-skills/tree/main/skills/dbt/refactoring-dbt-modelsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add AltimateAI/data-engineering-skills --skill refactoring-dbt-models -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install AltimateAI/data-engineering-skills refactoring-dbt-models --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/AltimateAI/data-engineering-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/dbt/refactoring-dbt-models .agents/skills/refactoring-dbt-models && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "refactoring-dbt-models" agent skill from https://github.com/AltimateAI/data-engineering-skills/tree/main/skills/dbt/refactoring-dbt-models into .agents/skills/refactoring-dbt-models/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "refactoring-dbt-models", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add AltimateAI/data-engineering-skills --skill refactoring-dbt-models -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install AltimateAI/data-engineering-skills refactoring-dbt-models --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/AltimateAI/data-engineering-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/dbt/refactoring-dbt-models .cursor/skills/refactoring-dbt-models && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "refactoring-dbt-models" agent skill from https://github.com/AltimateAI/data-engineering-skills/tree/main/skills/dbt/refactoring-dbt-models into .cursor/skills/refactoring-dbt-models/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "refactoring-dbt-models", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/AltimateAI/data-engineering-skills.git --path skills/dbt/refactoring-dbt-models--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add AltimateAI/data-engineering-skills --skill refactoring-dbt-models -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install AltimateAI/data-engineering-skills refactoring-dbt-models --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/AltimateAI/data-engineering-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/dbt/refactoring-dbt-models .gemini/skills/refactoring-dbt-models && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "refactoring-dbt-models" agent skill from https://github.com/AltimateAI/data-engineering-skills/tree/main/skills/dbt/refactoring-dbt-models into .gemini/skills/refactoring-dbt-models/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "refactoring-dbt-models", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install AltimateAI/data-engineering-skills refactoring-dbt-modelsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add AltimateAI/data-engineering-skills --skill refactoring-dbt-models -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/AltimateAI/data-engineering-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/dbt/refactoring-dbt-models .github/skills/refactoring-dbt-models && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "refactoring-dbt-models" agent skill from https://github.com/AltimateAI/data-engineering-skills/tree/main/skills/dbt/refactoring-dbt-models into .github/skills/refactoring-dbt-models/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "refactoring-dbt-models", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add AltimateAI/data-engineering-skills --skill refactoring-dbt-models -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install AltimateAI/data-engineering-skills refactoring-dbt-models --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/AltimateAI/data-engineering-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/dbt/refactoring-dbt-models .opencode/skills/refactoring-dbt-models && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "refactoring-dbt-models" agent skill from https://github.com/AltimateAI/data-engineering-skills/tree/main/skills/dbt/refactoring-dbt-models into .opencode/skills/refactoring-dbt-models/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "refactoring-dbt-models", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
refactoring-dbt-modelsSafely refactors dbt models with downstream impact analysis.
Refactoring Dbt Models is an agent skill from AltimateAI/data-engineering-skills. Safely refactors dbt models with downstream impact analysis. Use when restructuring dbt models for: (1) Task mentions "refactor", "restructure", "extract", "split", "break into", or "reorganize" (2) Extracting CTEs to intermediate models or creating macros (3) Modifying model logic that has downstream consumers (4) Renaming columns, changing types, or reorganizing model dependencies Analyzes all downstream dependencies BEFORE making changes.
Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Data & Analytics, covering Data pipelines and ETL and Refactoring. It works with dbt. The repository describes itself as: Skills related to Data Engineering Work for Claude Code. The licence is MIT.
8 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 705c68b. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
dbtFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Refactoring Dbt Models loads about 1.2k tokens when it runs. Until then it costs about 117 tokens; SKILL.md has 303 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from AltimateAI/data-engineering-skills at commit 705c68b, republished under its MIT licence (© AltimateAI). 303 words, ~1,177 tokens.
.claude/skills/refactoring-dbt-models/SKILL.md (or your agent's skills folder).Find ALL downstream dependencies before changing. Refactor in small steps. Verify output after each change.
cat models/<path>/<model_name>.sqlIdentify refactoring opportunities:
CRITICAL: Never refactor without knowing impact.
# Get full dependency tree (model and all its children)
dbt ls --select model_name+ --output list
# Find all models referencing this one
grep -r "ref('model_name')" models/ --include="*.sql"Report to user: "Found X downstream models: [list]. These will be affected by changes."
BEFORE changing any columns, check what downstream models reference:
# For each downstream model, check what columns it uses
cat models/<path>/<downstream_model>.sql | grep -E "model_name\.\w+|alias\.\w+"If downstream models reference specific columns, you MUST ensure those columns remain available after refactoring.
| Opportunity | Strategy |
|---|---|
| Long CTE | Extract to intermediate model |
| Repeated logic | Create macro in macros/ |
| Complex join | Split into intermediate models |
| Multiple concerns | Separate into focused models |
Before:
-- orders.sql (200 lines)
with customer_metrics as (
-- 50 lines of complex logic
),
order_enriched as (
select ...
from orders
join customer_metrics on ...
)
select * from order_enrichedAfter:
-- customer_metrics.sql (new file)
select
customer_id,
-- complex logic here
from {{ ref('customers') }}
-- orders.sql (simplified)
with order_enriched as (
select ...
from {{ ref('raw_orders') }} orders
join {{ ref('customer_metrics') }} cm on ...
)
select * from order_enrichedBefore (repeated in multiple models):
case
when amount < 0 then 'refund'
when amount = 0 then 'zero'
else 'positive'
end as amount_categoryAfter:
-- macros/categorize_amount.sql
{% macro categorize_amount(column_name) %}
case
when {{ column_name }} < 0 then 'refund'
when {{ column_name }} = 0 then 'zero'
else 'positive'
end
{% endmacro %}
-- In models:
{{ categorize_amount('amount') }} as amount_category# Compile to check syntax
dbt compile --select +model_name+
# Build entire lineage
dbt build --select +model_name+
# Check row counts (manual)
# Before: Record expected counts
# After: Verify counts matchCRITICAL: Refactoring should not change output.
# Compare row counts before and after
dbt show --inline "select count(*) from {{ ref('model_name') }}"
# Spot check key values
dbt show --select <model_name> --limit 10If changing output columns:
| Symptom | Refactoring |
|---|---|
| Model > 200 lines | Extract CTEs to models |
| Same logic in 3+ models | Extract to macro |
| 5+ joins in one model | Create intermediate models |
| Hard to understand | Add CTEs with clear names |
| Slow performance | Split to allow parallelization |
© AltimateAI, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/dbt/refactoring-dbt-models of AltimateAI/data-engineering-skills.
Open the folder on GitHubat commit 705c68b
Refactoring Dbt Models next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Refactoring Dbt Models this skillAltimateAI/data-engineering-skills | 128 | — | ~1.2k | Automated safety check: Pass | MIT | |
| Deploying Airflowastronomer/agents | 451 | 1 repos | ~2.8k | Automated safety check: Pass | Apache-2.0 | |
| R Empirical Financeaspi6246/Claude-Code-Skills-for-Academics | 159 | — | ~1.3k | Automated safety check: Pass | None | |
| Configuring Dbt MCP ServerKilo-Org/kilo-marketplace | 190 | — | ~2.5k | Automated safety check: Notes | Apache-2.0 | |
| Dbt Databricks PR Readydatabricks/dbt-databricks | 380 | — | ~2.8k | Automated safety check: Pass | Apache-2.0 | |
| Mz Dbt ReleaseMaterializeInc/materialize | 6.4k | — | ~1.2k | Automated safety check: Pass | Custom licence |
astronomer/agents
Deploys Airflow DAGs and projects. An agent skill from astronomer/agents.
aspi6246/Claude-Code-Skills-for-Academics
Conventions for writing empirical finance R code with data.table, fixest, arrow, and ggplot2.
Kilo-Org/kilo-marketplace
Generates MCP server configuration JSON, resolves authentication setup, and validates server connectivity for dbt.
databricks/dbt-databricks
A skill your agent uses for an open dbt-databricks pull request, including your own PR or a fork PR, to assess merge readiness and optionally repair selected gaps on the PR head branch.
MaterializeInc/materialize
Cut a dbt-materialize PyPI release: bump the version in version.py and setup.py, date the Unreleased CHANGELOG entry, and open the release PR with a Ship: <url body.
liam-machine/erd-studio
Friendly, step-by-step setup for ERD Studio in an existing dbt project, for people who may be new to dbt or data modelling.
AltimateAI/data-engineering-skills
Delegates dbt and warehouse tasks such as lineage, migrations and cost attribution to the altimate-code CLI agent and relays its answer back.
AltimateAI/data-engineering-skills
Creates or modifies dbt models in line with a project's own conventions, then runs dbt build and dbt show to check the output instead of stopping at compile.
AltimateAI/data-engineering-skills
Walks through fixing dbt compilation, database and test errors: read the full error, check upstream models, apply a fix, then verify with dbt build and a data preview.
AltimateAI/data-engineering-skills
Helps choose an incremental strategy, design a reliable unique_key and debug failing dbt incremental models, and says when a plain table is the better choice.
AltimateAI/data-engineering-skills
Writes model and column descriptions in dbt schema.yml files, matching the project's existing documentation style and recording grain, business rules and caveats.
AltimateAI/data-engineering-skills
Ranks the costliest, slowest or heaviest-scanning Snowflake queries from query history and suggests how to optimize them.
Works with
Categories
Safely refactors dbt models with downstream impact analysis. Refactoring Dbt Models is an agent skill from AltimateAI/data-engineering-skills. Safely refactors dbt models with downstream impact analysis.
Refactoring Dbt Models fits situations like: restructuring dbt models for:; task mentions refactor; extracting CTEs to intermediate models; creating macros.
Run `npx skills add AltimateAI/data-engineering-skills --skill refactoring-dbt-models -a claude-code`. Or copy the skill folder (skills/dbt/refactoring-dbt-models in AltimateAI/data-engineering-skills) into .claude/skills/refactoring-dbt-models in your project. Claude Code loads it when a task matches its description.
Run `npx skills add AltimateAI/data-engineering-skills --skill refactoring-dbt-models -a codex`. Or copy the skill folder (skills/dbt/refactoring-dbt-models in AltimateAI/data-engineering-skills) into .agents/skills/refactoring-dbt-models in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add AltimateAI/data-engineering-skills --skill refactoring-dbt-models -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/refactoring-dbt-models, .gemini/skills/refactoring-dbt-models, .github/skills/refactoring-dbt-models and .opencode/skills/refactoring-dbt-models in your project.
Going by SKILL.md and its folder, Refactoring Dbt Models needs the command-line tools its instructions call (dbt).
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Refactoring Dbt Models is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.2k tokens (SKILL.md is roughly 4.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Refactoring Dbt Models: Deploying Airflow (astronomer/agents, 451 stars), R Empirical Finance (aspi6246/Claude-Code-Skills-for-Academics, 159 stars), Configuring Dbt MCP Server (Kilo-Org/kilo-marketplace, 190 stars) and Dbt Databricks PR Ready (databricks/dbt-databricks, 380 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
AltimateAI (a GitHub organization) maintains it in AltimateAI/data-engineering-skills, which has 128 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 8, 2026.
Source: AltimateAI/data-engineering-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.