Skip to main content
skill CX Codex

contract — Claude Code skill: what it does, how to install

This Claude Code skill writes a data contract between a data platform and a source system. It runs when a source is added or changes how it delivers data.

MIT ★ 106 updated 2026-11-06

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add DataWithBaraa/claude-code-data-engineering-skills
/plugin install data-engineering@data-with-baraa
Open on GitHub

What contract does

The skill creates a contract for one data source, recording its delivery format, schema, quality rules, schedule, owner, and change process. It works from the source profile and metadata, along with source documents and existing contracts.

The output is one YAML file per source in the Open Data Contract Standard, validated against the standard’s schema, plus a list of open questions for a meeting with the source owner. The contract describes data, not processing steps or SQL. The skill does not send it; the data engineer agrees on the contract with the source owner.

What it helps with

  • write a contract when connecting a new data source
  • record a source schema and required columns from metadata
  • set out quality rules and delivery terms
  • prepare open questions for a meeting with a source owner

Example prompts for the agent

  • Create a data contract for the orders source using its profile and metadata.
  • Update the contract because the source is changing its delivery format.
  • Prepare questions for the source owner meeting and save the contract as YAML.

How to install contract

1Plugin marketplace

/plugin marketplace add DataWithBaraa/claude-code-data-engineering-skills
/plugin install data-engineering@data-with-baraa

This installs the whole data-engineering plugin with all its skills

2Skills CLI (Vercel)

npx skills add DataWithBaraa/claude-code-data-engineering-skills --skill contract -a claude-code

3Manually: put the files in place

~/.claude/skills/contract/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/contract/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about contract

How do I install contract in Claude Code?

Add the marketplace with /plugin marketplace add DataWithBaraa/claude-code-data-engineering-skills, then install the plugin with /plugin install data-engineering@data-with-baraa.

What does contract do?

It creates a YAML data contract for one source and a list of questions to discuss with the source owner. The contract describes the data, not transformations or SQL.

What goes into a contract created by contract?

It records the source format and schema, quality rules, delivery terms, owner, support channel, and change process.

Source text

SKILL.md · MIT
---
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.

© Data With Baraa · MIT · DataWithBaraa/claude-code-data-engineering-skills

Similar skills

All skills for Finance and business →

From the same set15

The whole set →
knowledge-refresh knowledge-refresh — a Claude Code skill that checks project knowledge against code and data after a release. It proposes fixes for stale or inaccurate files. CX Codex +1 ★ 106repo stars data-product Builds a data product page for people using a table. It runs when a table is released, changed, or served to consumers. CX Codex +1 ★ 106repo stars toolkit The toolkit Claude Code skill builds a project documentation site from the repository. It covers architecture, data lineage, code calls, quality checks, and runs. CX Codex +1 ★ 106repo stars migration Plans the move from legacy jobs and tables to a new platform. It lays out migration scenarios, acceptance criteria, a parallel run, and rollback. CX Codex +1 ★ 106repo stars metadata This Claude Code skill builds or extends metadata for a data source. It runs when table and column details need to be gathered from source files and documentation. CX Codex +1 ★ 106repo stars pr-review The pr-review Claude Code skill reviews a file, diff, or branch before a change is merged. It checks the work against project standards and produces an HTML report. CX Codex +1 ★ 106repo stars profile This Claude Code skill inspects incoming files or tables and produces a data profile. It runs before work begins on a data contract or pipeline. CX Codex +1 ★ 106repo stars data-engineering The data-engineering Claude Code plugin gives data engineers skills for investigating pipeline failures, reviewing changes, and documenting data. The set covers 16 tasks across a data platform’s lifecycle. ★ 106repo stars

Project sponsors

Companies that keep this analytics open