用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/godatadriven/dbt-bouncer --skill build-artifacts命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | build-artifacts |
| description | Regenerate dbt test fixtures after dbt_project changes |
Regenerate test fixture files after making changes to the dbt project in dbt_project/.
dbt_project/mise run build-artifacts
This generates fixtures for dbt 1.12 and 2.0 in tests/fixtures/dbt_112/target/ and tests/fixtures/dbt_20/target/ (manifest.json, catalog.json, run_results.json). The dbt 1.7–1.11 fixtures are frozen: they stay committed for backward-compat parsing coverage but are no longer rebuilt.
Note: mise.toml uses specific dbt-duckdb version pins. Do not modify the version pins in mise.toml without understanding the compatibility matrix.
Check that the generated files exist and are non-empty. catalog.json is built by introspecting the DuckDB database, so a fixture built without the preceding dbt build step silently ends up with an empty nodes object and every catalog check then passes vacuously — check the node count, not just the file size:
for v in dbt_112 dbt_20; do
python -c "import json;c=json.load(open('tests/fixtures/$v/target/catalog.json'));print('$v', len(c['nodes']), 'catalog nodes')"
done
mise run test
All tests should pass with the new fixtures. If tests fail, check whether the fixture schema changed in a way that requires test updates.
基于 SOC 职业分类