coalesce-create-job
Create a Coalesce job that selects nodes to create/run, using the correct coa job schema (includeSelector/excludeSelector strings, integer-string id — not a steps array).
- License 许可
- MIT
- 最近更新
- 2026-11-11
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- coalesce-create-job
- description
- Create a Coalesce job that selects nodes to create/run, using the correct coa job schema (includeSelector/excludeSelector strings, integer-string id — not a steps array).
03 SKILL.md 正文
<!-- coalesce-node-managed: true -->
Prerequisite: load
coalesce-pipelinesfirst if it is not already loaded in this session. This skill assumes its rules and core loop.
Create a job
A job is a named selection of nodes, expressed as selector strings. It is not a list of steps. coa describe schema job and coa describe selectors are the source of truth; read both before writing. If the request describes a different shape (a steps array, a UUID id), write the schema's shape and tell the user why.
Jobs are shared config under jobs/. A user asking for the job is the approval to create it; otherwise ask first.
The shape
id: "1" # integer string, unique among jobs; not a UUID
type: Job
fileVersion: 1
name: BUILD_TARGET
includeSelector: '{ location: "TARGET" }+'
excludeSelector: '{ name: "TEST_*" }'
Procedure
- Write the selectors and check what they match:
The matched set should be exactly the nodes the user described. The run dry-run matters: a selected node with empty run SQL would load no data.coa create -d <dir> --list-nodes coa create -d <dir> --include "<include>" --exclude "<exclude>" --dry-run coa run -d <dir> --include "<include>" --exclude "<exclude>" --dry-run --verbose - Pick the next free integer
idby reading the existingjobs/*.yml. - Write
jobs/<JOB_NAME>.yml. coa validate -d <dir>until it is clean.
A job only selects nodes. Running it locally is coa create / coa run with its selectors, which is local development, not a deploy.
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-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.
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.