Skip to content
Data
Skill

/contract

Use when a new source is connected or a source changes how it delivers, to write the data contract with the source system, the format, the schema, the quality rules, the delivery, the owner and the change process.

From plugin
data-engineering
10216 skills

Claude Code

$ npx -y skills add DataWithBaraa/claude-code-data-engineering-skills --skill contract --agent claude-code

SKILL.md

contract.SKILL.md
name: contract
description: Use when a new source is connected or a source changes how it delivers, to write the data contract with the source system, the format, the schema, the quality rules, the delivery, the owner and the change process.
argument-hint: "[source]"

Contract

The job: the data contract between the data platform and one source system, written from the profile and the metadata, and agreed with the source owner. It holds facts and agreements, never steps and never SQL. The contract with the consumers of a table is part of the data-product skill.

Input: the name of the source, with its profile and its metadata.

Steps

1. Start from the profile of the source: every finding marked for the contract. 2. The format the source delivers: one delimiter, one encoding, one date format, one decimal separator, one null token. 3. The schema: take the tables, columns, types, keys and descriptions from the metadata file, never retype them. Mark the required columns. 4. The quality rules the source agrees to: unique keys, no empty required columns, values in range. 5. The delivery: how often, by what time, full or only the changes, and how a deleted row is marked. 6. The owner and the support channel on the source side. 7. The change process: the version of the contract, and how many days before a change the source announces it. 8. Write it in the Open Data Contract Standard, one file per source, and validate it against the schema of the standard. 9. List the open points for the meeting with the source owner.

Output

One YAML file per source, like [references/purchasing.odcs.yaml](references/purchasing.odcs.yaml): the format, the schema with the keys and the required columns, the quality rules, the delivery, the owner, the support channel and the change process.

Reads

  • the profile, the metadata, the documents of the source, the existing contracts

Writes

  • the data contract of the source, and the list of open points

Never

  • Never sends the contract: the data engineer agrees it with the source owner.
  • Never writes a transformation into the contract: it describes the data, and the pipeline is a separate change.
Read more
@datawithbaraa
Ships withdata-engineering

16 Claude Code skills for the work of a data engineer beyond writing code: profiling a new source, investigating a failed pipeline, building the metadata, reviewing changes, documenting, and keeping the platform clean.

Stars on GitHub

Momentum

stars in total
102
Star history of DataWithBaraa/claude-code-data-engineering-skills on GitHub, a chart by star-history.com

Other skills on data-engineering.

docs

docs

Use after a change or a release, to write and refresh the runbook and the how-to guides of the project, so the runbook and the…

impact

impact

Use before you change a table, a column or a function, to see what it is built from, what depends on it, who reads it, which…

More skills from other plugins.

paddleocr-doc-parsing

paddleocr-doc-parsing

Use this skill to extract structured Markdown/JSON from PDFs and document images—tables with cell-level precision, formulas as…

paddleocr2mo93k
@paddlepaddle@paddlepaddleInstall Skill
context-loader
Auto-invoked

context-loader

Search memories from earlier Pi sessions in this repository. Use it when earlier work may already explain the code, error,…

mem012d69k
@mem0ai@mem0aiInstall Skill
analyzing-ai-citations

analyzing-ai-citations

Answer AI citation and answer engine optimization (AEO) questions in PostHog: whether AI answer engines (ChatGPT, Claude, and an…

posthog2w41k
@posthog@posthogInstall Skill

Questions about contract.

Which coding agents can use contract?
contract installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.