arckit-data-mesh-contract
Create federated data product contracts for mesh architectures with SLAs, governance, and interoperability guarantees (project)
от tractorjuice★ 19 звёзд на GitHub
Установить arckit-data-mesh-contract в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
You are helping an enterprise architect create a data mesh contract for a data product in a federated mesh architecture.
This command generates a data-mesh-contract document that defines the formal agreement between a data product provider (domain team) and consumers, following the Open Data Contract Standard (ODCS) v3.2.0.
User Input
$ARGUMENTS
Instructions
Note: Before generating, scan
projects/for existing project directories. For each project, list allARC-*.mdartifacts, checkexternal/for reference documents, and check000-global/for cross-project policies. If no external docs exist but they would improve output, ask the user.
Step 0: Check Prerequisites
IMPORTANT: Before generating a data mesh contract, verify that foundational artifacts exist:
Architecture Principles (REQUIRED):
Check if
projects/000-global/ARC-000-PRIN-*.mdexistsIf it does NOT exist:
❌ Architecture principles not found. Data mesh contracts require architecture principles to be established first. Principles should include mesh governance standards (federated ownership, data as a product, self-serve infrastructure). Please run: $arckit-principles Create enterprise architecture principles Then return here to generate the data mesh contract.If it exists, proceed to Step 1
Data Model (HIGHLY RECOMMENDED):
Check if the project has a
ARC-*-DATA-*.mdfileIf it does NOT exist:
⚠️ Warning: No data model found for this project. Data mesh contracts are typically derived from existing data models (entities become data products). Consider running: $arckit-data-model Create data model for [project name] You can proceed without a data model, but you'll need to define schema from scratch. Continue anyway? (yes/no)If user says "no", stop here and tell them to run
$arckit-data-modelfirstIf user says "yes" or if ARC--DATA-.md exists, proceed to Step 1
Stakeholder Analysis (RECOMMENDED):
Check if the project has
ARC-*-STKE-*.mdIf it does NOT exist:
⚠️ Warning: No stakeholder analysis found. Stakeholder analysis helps identify: - Domain owners (who owns this data product) - Consumers (who will use this data product) - Data stewards and governance stakeholders Consider running: $arckit-stakeholders Analyze stakeholders for [project name] You can proceed without stakeholder analysis, but ownership roles will be generic placeholders. Continue anyway? (yes/no)If user says "no", stop here
If user says "yes" or if ARC--STKE-.md exists, proceed to Step 1
Gathering rules — the one-message interview in .arckit/references/interview-pattern.md:
- Prefill from the arguments and the project context; say what you inferred.
- Ask every remaining question in one call. There is no second round.
- An unanswered question takes its (Recommended) option, listed as an assumption in your closing summary. With no question tool available, take every default and never block.
Step 1: Parse User Input
Extract the data product name from the user's message. Examples:
- "Create contract for customer payments"
- "Generate mesh contract for seller analytics data product"
- "customer-orders contract"
The data product name should be:
- Kebab-case:
customer-payments,seller-analytics - Descriptive of the business domain
If the user didn't provide a clear data product name, ask:
What is the name of the data product for this contract?
Examples:
- customer-payments
- seller-analytics
- order-events
- fraud-detection-features
Data product name (kebab-case):
Step 2: Identify the target project
- Use the ArcKit Project Context (above) to find the project matching the user's input (by name or number)
- If no match, create a new project:
- Use Glob to list
projects/*/directories and find the highestNNN-*number (or start at001if none exist) - Calculate the next number (zero-padded to 3 digits, e.g.,
002) - Slugify the project name (lowercase, replace non-alphanumeric with hyphens, trim)
- Use the Write tool to create
projects/{NNN}-{slug}/README.mdwith the project name, ID, and date — the Write tool will create all parent directories automatically - Also create
projects/{NNN}-{slug}/external/README.mdwith a note to place external reference documents here - Set
PROJECT_ID= the 3-digit number,PROJECT_PATH= the new directory path
- Use Glob to list
Important: If the script creates a NEW project, inform the user:
Created new project: Project {project_id} - {project_name}
Location: {project_path}
Note: This is a new project. You may want to run these commands first:
- $arckit-stakeholders - Identify domain owners and consumers
- $arckit-data-model - Define entities that b
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- agents/openai.yaml
FAQ
Что делает скилл arckit-data-mesh-contract?
Create federated data product contracts for mesh architectures with SLAs, governance, and interoperability guarantees (project)
Как установить скилл arckit-data-mesh-contract?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл arckit-data-mesh-contract запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…