coalesce-review-risk
Use when reviewing Coalesce pipeline changes for correctness, impact, and risk before approval — READ-ONLY analysis of diffs, coa validate/dry-run evidence, and downstream blast radius. Never edits files or runs warehouse-mutating commands.
- License 许可
- MIT
- 最近更新
- 2026-11-11
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- coalesce-review-risk
- description
- Use when reviewing Coalesce pipeline changes for correctness, impact, and risk before approval — READ-ONLY analysis of diffs, coa validate/dry-run evidence, and downstream blast radius. Never edits files or runs warehouse-mutating commands.
03 SKILL.md 正文
<!-- coalesce-node-managed: true -->
Review & Risk
Analyze a change so the user can decide whether to approve it. This is read-only: never edit, stage, commit, or run coa create / coa run without --dry-run. Use coa output as evidence and do not minimize risk.
References: coa-cli for selectors, sql-format for the rules being checked.
Checklist
- Read the diff (
git diff,git diff --staged). List the nodes added, modified, deleted, and renamed. - For each modified node, read the changed SQL against the upstream nodes it reads from. Check that join keys pair the columns that actually relate the two tables, and that filters, aggregations, and column mappings still mean what the node's name and neighbors say they should. A change can be valid SQL and still wrong.
- Run
coa validate -d <dir> --jsonand report every error and warning. The JSON is nested:data.validation.results[]({ file, status, errors: [{ path, message }] }) anddata.validation.summary. Quote the failing file, path, and message. - Run
coa create -d <dir> --dry-run --jsonandcoa run -d <dir> --dry-run --json. Report template failures: empty SQL, comment-only output, missing DDL. - Blast radius: enumerate
{ NODE }+for each touched node (+{ NODE }is upstream; do not reverse them). - Check which jobs (
includeSelector/excludeSelector) and subgraphs (steps) pick up the change.
Risks to flag
- A
.sqlnode whose@nodeTypeis not afileVersion: 2type: columns are silently empty. - A hand-authored
.ymlnode with empty or partialoperation.config: it passes validate and the create dry-run but renders zero run SQL. - Deleted or renamed nodes that still have dependents or stale
ref()s. - One-argument
ref(), hardcodeddb.schema.table, or column annotations that are neither native (@isBusinessKey,@isChangeTracking,@id,@description) nor declared by the node type. - Edits to shared config:
nodeTypes/, locations, workspace, environments, jobs, macros,data.yml,fileVersionbumps, template swaps. A newnodeTypes/folder counts; ask whether the user requested a custom type. - Any change under
apps/: this is code, not config. A workspace app runs with the user's permissions as soon as anyone opens it in Coalesce. Read the changed files and flag network calls to outside hosts, writes outside the app's data folder,execorshell: true,innerHTMLwith workspace values, reads of~/.coa/configor other credentials, committed secrets, CORS headers, and a removedHostor write check. Rules: coalesce-create-app.
Report
State a verdict, then the findings with the specific file, column, and coa output behind each. Say plainly when the analysis is incomplete (validate could not run, selectors unscoped).
04 同仓库更多 Skills
coalesce-transform-mcp-install
Use when installing, connecting, or troubleshooting the hosted Coalesce Transform MCP server in an MCP client (Claude Code, Claude Desktop, Cursor, VS Code, Cortex Code) — endpoint URL, access token handling, registration, and verification. Not for coa CLI auth (use coalesce-cloud-api).
coalesce-sql-transformation
Use when editing the SQL inside existing Coalesce V2 node files (.sql) — changing column expressions, joins, filters, CTEs, inline column annotations, or ref() macros. Not for creating/deleting node files (use coalesce-pipeline-structure).
coalesce-rename-node-cascade
Rename a Coalesce node and cascade the new name through every downstream ref(), job selector, and subgraph selector, with quote-agnostic matching and validation.
coalesce-quality-test-authoring
Decide which data quality tests a table, view or model needs, and write them in whatever test format the project already uses (dbt, SYNQ YAML, SQLMesh audits, Soda, Great Expectations, custom SQL, and so on). Use it when asked to add, suggest, review or extend data tests for a warehouse asset, or when a change to a model should come with tests.
coalesce-pipelines
Use when working in a Coalesce Transform repository (data.yml + nodes/ with <LOCATION>-<NAME>.sql/.yml files) — building, editing, validating, or running data transformation pipelines with the coa CLI, including editing V1 .yml nodes and shared config (data.yml, locations, environments, jobs, node types). Start here; it routes to the more specific coalesce-* skills.
coalesce-pipeline-structure
Use when creating, deleting, renaming, or rewiring Coalesce nodes, subgraphs, or jobs — changing the structural topology of the transformation DAG. Not for editing SQL inside an existing node (use coalesce-sql-transformation).