contract skill
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.
- GitHub stars
- 102
- Files
- 2
- Last commit
- Nov 6, 2026
- License
- MIT
- Allowed tools
- —
What does the contract skill do?
contract uses 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.
How to install the contract skill
Each command copies the skill folder into the client's skills directory. Restart the client or start a new session to load it.Install the contract skill in Plugin
/plugin marketplace add DataWithBaraa/claude-code-data-engineering-skills /plugin install data-engineering@data-with-baraa
Install the contract skill in Claude Code
~/.claude/skills/contract/SKILL.md
$ npx degit DataWithBaraa/claude-code-data-engineering-skills/skills/contract ~/.claude/skills/contractInstall the contract skill in Claude Code (project)
.claude/skills/contract/SKILL.md
$ npx degit DataWithBaraa/claude-code-data-engineering-skills/skills/contract .claude/skills/contractInstall the contract skill in Codex
~/.agents/skills/contract/SKILL.md
$ npx degit DataWithBaraa/claude-code-data-engineering-skills/skills/contract ~/.agents/skills/contractInstall the contract skill in Gemini CLI
~/.gemini/skills/contract/SKILL.md
$ npx degit DataWithBaraa/claude-code-data-engineering-skills/skills/contract ~/.gemini/skills/contractInstall the contract skill in Claude.ai
npx degit DataWithBaraa/claude-code-data-engineering-skills/skills/contract contract && zip -r contract.zip contract # claude.ai → Customize → Skills → + → Create skill → Upload a skill → contract.zip
SKILL.md
View on GitHubContract
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
- Start from the profile of the source: every finding marked for the contract.
- The format the source delivers: one delimiter, one encoding, one date format, one decimal separator, one null token.
- The schema: take the tables, columns, types, keys and descriptions from the metadata file, never retype them. Mark the required columns.
- The quality rules the source agrees to: unique keys, no empty required columns, values in range.
- The delivery: how often, by what time, full or only the changes, and how a deleted row is marked.
- The owner and the support channel on the source side.
- The change process: the version of the contract, and how many days before a change the source announces it.
- Write it in the Open Data Contract Standard, one file per source, and validate it against the schema of the standard.
- List the open points for the meeting with the source owner.
Output
One YAML file per source, like 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.
Files in this skill
2contract skill questions
How do I install the contract skill in Claude Code?
Run npx degit DataWithBaraa/claude-code-data-engineering-skills/skills/contract ~/.claude/skills/contract. Claude Code loads skills from ~/.claude/skills (all projects) or .claude/skills (one project) and uses a skill when its description matches the task.
Which clients can use the contract skill?
Any client that reads the Agent Skills format: Claude Code, Codex, Gemini CLI and claude.ai (upload as a ZIP). Scripts in the skill run only where the client allows code execution.