基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tools-only/X-Skills --skill migrating-dbt-core-to-fusion命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
Index of Build Systems Skills
Coordination patterns for distributed dataflow systems including barriers, epochs, and distributed snapshots
Windowing, sessionization, time-series aggregation, and late data handling for streaming systems
| name | migrating-dbt-core-to-fusion |
| description | Use when migrating a dbt project from dbt Core to run on the Fusion engine. |
| compatibility | Designed for dbt Core v1.10+ |
| metadata | {"author":"dbt-labs"} |
if a user says "migrate my dbt project to the new authoring layer" or "make my dbt project compatible with the Fusion engine" do the following steps and the migration is only successfully completed once dbtf compile finishes with 0 errors. Create a changes_made.md file documenting and summarizing all of the code changes made in the user's dbt project, including what the error was, the fix applied, and a summary of why the fix was chosen.
Before you begin, please read and understand the resources section below. You should strictly use the resources below to update the project.
Run dbtf debug in the terminal to check their data platform connections. Proceed to step 2 if there are no errors. If there are errors, please summarize the error succinctly so the user knows how to debug on their own.
Run dbtf parse --show-all-deprecations in the terminal to check for compatibility errors in their current project. Summarize the log output by specifying how many errors were found and group the errors in a way that's easily understandable.
Install dbt-autofix and run autofix to try to fix errors. Prefer uv/uvx to install (uv tool install dbt-autofix) and run the package (uvx dbt-autofix deprecations), but fall back to pip and other methods if needed. Summarize the results of the autofix run and include how many errors were resolved. Run dbtf parse again to check for remaining errors and summarize with how many errors were found and a brief summary of the types of errors.
For remaining errors, please ONLY use the resources below to attempt to resolve them. If you can't figure out a fix from the resources below, notify the user and break out of the flow. Attempt the fixes error by error, grouping similar errors based on the error code and message. You should also summarize which error you're working on in the chat to give users context.
Special handling for common unsupported features:
{{ config(enabled=false) }} at the top of the file.Run dbtf parse throughout this step to check for progress towards completing the migration. Once dbtf parse finishes successfully with 0 errors, proceed to step 5.
Run dbtf compile in the terminal and check if it finishes with 0 errors. If it finishes with 0 errors, you have successfully completed the migration. If there are unresolved errors, try step 4 again. Except this time, use dbtf compile to check for progress towards completing the migration.
When you encounter unsupported features in Fusion, follow this decision tree:
{{ config(enabled=false) }} at the top of the file{{ config(enabled=false) }} at the top of the filemeta block in model files (see /manual_fixes/custom_configuration.md)Use the files in the /manual_fixes/ directory as the context for resolving these common problems:
Unsupported features and blockers to Fusion compatibility. These pages outline the supported and unsupported features of the Fusion engine:
{{ config(enabled=false) }} at the top of the file to disable the model.Config keys that Fusion should recognize:
You can find the latest schema file using this template: https://public.cdn.getdbt.com/fs/schemas/fs-schema-{RESOURCE}-{VERSION}.json
RESOURCE is either dbt-yaml-files or dbt-projectVERSION is the fusion version (e.g. v2.0.0-beta.34, but https://public.cdn.getdbt.com/fs/latest.json gives you the latest version)https://docs.getdbt.com/reference/deprecations#list-of-deprecation-warnings https://github.com/dbt-labs/dbt-fusion/discussions/401 https://docs.getdbt.com/docs/fusion/supported-features https://docs.getdbt.com/docs/fusion/new-concepts