contract — скилл для Claude Code: что делает и как установить
Скилл contract для Claude Code оформляет контракт между платформой данных и источником. Запускается, когда подключают новый источник или меняется способ его поставки.
MIT ★ 106 обновлён 2026-11-06
/plugin marketplace add DataWithBaraa/claude-code-data-engineering-skills
/plugin install data-engineering@data-with-baraaЧто делает contract
Скилл создаёт контракт данных для одного источника: фиксирует формат поставки, схему, правила качества, график доставки, владельца и процесс изменений. Для этого он использует профиль и метаданные источника, а также его документы и существующие контракты.
Результат — отдельный YAML-файл на каждый источник в формате Open Data Contract Standard, проверенный по схеме стандарта, и список открытых вопросов для встречи с владельцем. Контракт описывает данные, а не шаги обработки или SQL. Скилл не отправляет его источнику: согласование проводит инженер данных вместе с владельцем.
Какие задачи решает
- оформить контракт при подключении источника данных
- зафиксировать схему и обязательные колонки по метаданным
- описать правила качества и график поставки
- собрать открытые вопросы для встречи с владельцем источника
Примеры запросов агенту
- Создай контракт данных для источника
ordersпо его профилю и метаданным. - Обнови контракт, потому что источник меняет формат поставки.
- Подготовь вопросы для встречи с владельцем источника и сохрани контракт в YAML.
Как установить contract
1Через маркетплейс плагинов
/plugin marketplace add DataWithBaraa/claude-code-data-engineering-skills/plugin install data-engineering@data-with-baraaКоманда ставит плагин data-engineering целиком, со всеми его скиллами
2Через Skills CLI (Vercel)
npx skills add DataWithBaraa/claude-code-data-engineering-skills --skill contract -a claude-code3Вручную: положить файлы
~/.claude/skills/contract/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/contract/
1Через Skills CLI (Vercel)
npx skills add DataWithBaraa/claude-code-data-engineering-skills --skill contract -a codex2Вручную: положить файлы
.agents/skills/contract/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add DataWithBaraa/claude-code-data-engineering-skills --skill contract -a cursor2Вручную: положить файлы
.cursor/skills/contract/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install DataWithBaraa/claude-code-data-engineering-skills skills/contract2Вручную: положить файлы
.github/skills/contract/SKILL.md1Через Skills CLI (Vercel)
npx skills add DataWithBaraa/claude-code-data-engineering-skills --skill contract -a gemini-cli2Командой платформы
gemini skills install https://github.com/DataWithBaraa/claude-code-data-engineering-skills --path skills/contractВручную: положить файлы
.devin/skills/contract/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Claude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о contract
Как установить contract в Claude Code?
Добавь маркетплейс командой /plugin marketplace add DataWithBaraa/claude-code-data-engineering-skills, затем установи плагин командой /plugin install data-engineering@data-with-baraa.
Что делает contract?
Скилл создаёт YAML-контракт данных для одного источника и список открытых вопросов для обсуждения с его владельцем. Контракт описывает данные, но не преобразования и не SQL.
Что попадает в контракт contract?
Формат и схема источника, правила качества, условия поставки, владелец, канал поддержки и порядок изменений.
Исходный текст
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