一键导入
reviewing-diagnostics
Use when the user asks to review, clear, suppress, or investigate /status catalog diagnostics for a single table or migration object.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when the user asks to review, clear, suppress, or investigate /status catalog diagnostics for a single table or migration object.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Use automatically before any completion, successful, passing, PR-ready, merged, or stage-complete statement to verify fresh evidence and choose accurate claim wording.
Use internally when /refactor-mart dispatches one approved Type: int or Type: mart candidate
Use when a monolith warehouse or lakehouse has a whole-warehouse `warehouse-ddl/` snapshot and needs tables or views grouped into business data domains with data owners for data mesh decentralization, setup-source selection, migration planning, or scope and migrate-mart inputs.
Use when generating or revising one dbt model for a single profiled table or view after refactor and approved test-spec work are complete.
Use when the generate-model workflow needs a read-only review of generated dbt model artifacts before accepting the result or sending it back for fixes.
Use internally when /refactor-mart dispatches one approved Type: stg candidate
基于 SOC 职业分类
| name | reviewing-diagnostics |
| description | Use when the user asks to review, clear, suppress, or investigate /status catalog diagnostics for a single table or migration object. |
| user-invocable | true |
| argument-hint | <schema.table> |
Review all active catalog diagnostics for one table and either fix catalog state, ask for human input, write a reviewed-warning artifact, or leave the warning active.
$ARGUMENTS is one table FQN such as gold.rpt_sales_by_category.
Ask for a table FQN if it is missing. Do not run this skill for all tables at once.
Run:
uv run --project "${CLAUDE_PLUGIN_ROOT}/packages/ad-migration-internal" migrate-util batch-plan --project-root <project-root>
Find diagnostics where fqn matches the requested table.
Then load context:
uv run --project "${CLAUDE_PLUGIN_ROOT}/packages/ad-migration-internal" discover show --name <fqn> --project-root <project-root>
uv run --project "${CLAUDE_PLUGIN_ROOT}/packages/ad-migration-internal" discover refs --name <fqn> --project-root <project-root>
Also inspect the relevant catalog JSON files directly when needed:
catalog/tables/<fqn>.jsoncatalog/procedures/catalog/diagnostic-reviews.jsonPrefer fixes over suppression.
Fix catalog state when diagnostics show wrong or stale catalog facts, for example:
Ask the user when multiple plausible catalog fixes exist and the catalog does not identify one clear correction.
When one clear catalog correction exists, apply it. Do not ask permission to edit catalog files that the workflow owns. This workflow is non-interactive for clear catalog fixes: proceed, then report the catalog paths changed.
Write a reviewed-warning artifact only when:
Leave the warning active when the skill cannot prove either a fix or an acceptable suppression.
Never suppress errors by default.
Use catalog/diagnostic-reviews.json.
Each review must match the active warning by:
The support module shared.diagnostic_reviews defines the exact identity and artifact shape.
Report: