AGENT SKILL

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-pipelines first 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

  1. Write the selectors and check what they match:
    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
    
    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.
  2. Pick the next free integer id by reading the existing jobs/*.yml.
  3. Write jobs/<JOB_NAME>.yml.
  4. 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-Software-Inc
Coalesce-Software-Inc/coalesce-platform-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).

★ 0
Coalesce-Software-Inc
Coalesce-Software-Inc/coalesce-platform-skills

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).

★ 0
Coalesce-Software-Inc
Coalesce-Software-Inc/coalesce-platform-skills

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.

★ 0
Coalesce-Software-Inc
Coalesce-Software-Inc/coalesce-platform-skills

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.

★ 0
Coalesce-Software-Inc
Coalesce-Software-Inc/coalesce-platform-skills

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.

★ 0
Coalesce-Software-Inc
Coalesce-Software-Inc/coalesce-platform-skills

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.

★ 0