/fluid:composing-fluid-data-productsfrom fluid
Wires FLUID data products together through consumes[] so downstream ADP/CDP products read upstream SDP/ADP/CDP outputs, bind reads in the build, and validate the composition chain.
Ships in fluid. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A downstream product does two things for each upstream output it reads: it declares the
output in consumes[], and its build reads that output's data.
fluid validate enforces this table on consumes[]:
| productType | layer | may consume |
|---|---|---|
SDP | Bronze | nothing (no consumes[]) |
ADP | Silver | ADP, SDP |
CDP | Gold | ADP, CDP, SDP |
id, the exposeId you need,
that expose's columns, and its binding.location.fluid.workspace.yaml at the repository root:
products/orders_raw/contract.fluid.yaml, products/orders_clean/....
fluid validate finds upstream contracts by scanning that tree.productType and layer from the table above.consumes[] entry per upstream output.# consumes[]
- productId: sales.orders_raw
exposeId: orders_raw
purpose: Orders to clean and convert to cents.
productId is the upstream contract's id, character for character. exposeId must
be one of that contract's exposes[].exposeId. fluid validate checks the product
types but not the exposeId, so open the upstream contract and check it yourself.
How a local SQL build reads an upstream output depends on the apply mode:
--mode amend, the mode the deploying-fluid-contracts-safely skill runs, never binds
consumes[]. The build reads the upstream file through
builds[].properties.parameters.inputs, which registers it as a table for the SQL. In
this mode an input without a format is read as CSV.--mode amend-and-build registers each consumes[] entry that the SQL reads by its
exposeId as a view, finding the upstream contract through fluid.workspace.yaml. An
explicit input still wins.An input with a format works in both modes, so always write one:
# builds[]
- id: clean_orders
pattern: embedded-logic
engine: sql
properties:
sql: SELECT order_id, customer_id, CAST(amount * 100 AS BIGINT) AS amount_cents FROM orders_raw
parameters:
inputs:
- name: orders_raw
path: ../orders_raw/runtime/out/orders_raw.parquet
format: parquet
execution:
trigger:
type: schedule
cron: 0 3 * * *
runtime:
platform: local
The path is relative to the downstream contract's directory and points at the upstream
binding's location.path. Apply each product from its own directory, upstream first.
On Snowflake or BigQuery, the build reads the upstream table by the name its binding gives (database.schema.table, or project.dataset.table).
fluid validate says | Fix |
|---|---|
SDP (...) does not accept upstream products | An SDP reads a raw source only: remove consumes[], or make the product an ADP |
ADP accepts upstreams of type ['ADP', 'SDP'] but 'x' is CDP | Consume the ADP that feeds that CDP, or make this product a CDP |
metadata.layer='Gold' and metadata.productType='SDP' are inconsistent | Set the pair from the table above |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub agenticstiger/forge-cli --plugin fluid7 skills in this plugin
/adopting-existing-pipelinesProposes contracts from running PySpark jobs and Airflow DAGs with fluid import, and takes existing Glue tables over with --adopt-tables. Use when asked to adopt, migrate, onboard or import an existing Spark job, Airflow DAG or data platform, to write a conventions file or an importer plugin, or when a plan or apply fails with table_adoption_requires_flag, table_adoption_mismatch, table_adoption_unavailable or plan_adopt_tables_needs_tofu./authoring-fluid-contractsCreates or changes a FLUID data product contract (contract.fluid.yaml) with the fluid CLI, then runs fluid validate until it is clean. Use when asked to build, scaffold, define, edit, refine or fix a data product, its exposes, column schema, bindings (local files, DuckDB, Snowflake, BigQuery or GCP, AWS), schedule, data quality rules or owner, or its SDP, ADP or CDP (Bronze, Silver or Gold) classification./deploying-fluid-contracts-safelyRuns the fluid delivery pipeline (validate, bundle, generate artifacts, plan, apply, verify) in the safe order, stops for a human to review the plan, and refuses the flags that skip its safety gates. Use when asked to plan, deploy, apply, ship, release, roll out or publish a FLUID contract, or when apply asks for --allow-data-loss or fails a plan-binding, plan-mode or digest check./publishing-to-data-mesh-managerPublishes FLUID products to Data Mesh Manager (Entropy Data) as draft batches, promotes verified drafts and reports a migration's status. Use when asked to publish, register or catalogue data products in Data Mesh Manager or Entropy Data, to move drafts to active, to check how far a migration has got, or when fluid datamesh-manager fails with a dmm_batch_ or dmm_promote_ error./releasing-streaming-productsReleases a change to a running Spark stream so it stops between batches, and traces each Iceberg commit to the release that wrote it. Use when asked to deploy, release or roll out a change to a streaming product or a kept-alive stream, to read a commit's stamps, to seal releases with fluid ship --release-dir, to find which release or run wrote a table's snapshot or was in force on a day (fluid runs status --release-dir), or when apply fails with apply_spark_artifact_mismatch./troubleshooting-fluid-errorsDiagnoses and fixes a failing fluid command from its output, its stable ERR_ error code and the path-level messages of fluid validate. Use when a fluid command exits non-zero or prints an ERR_ code, when validation reports an error such as is not one of, is a required property, Additional properties are not allowed or does not match, or for composition, layer and productType, or plan-binding failures.Other plugins' skills for the same job