Command Palette

Search for a command to run...

Назад к скиллам
скилл № 92635

arckit-data-mesh-contract

Create federated data product contracts for mesh architectures with SLAs, governance, and interoperability guarantees (project)

БесплатноБез исполняемых скриптов
tractorjuiceот 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 all ARC-*.md artifacts, check external/ for reference documents, and check 000-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:

  1. Architecture Principles (REQUIRED):

    • Check if projects/000-global/ARC-000-PRIN-*.md exists

    • If 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

  2. Data Model (HIGHLY RECOMMENDED):

    • Check if the project has a ARC-*-DATA-*.md file

    • If 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-model first

    • If user says "yes" or if ARC--DATA-.md exists, proceed to Step 1

  3. Stakeholder Analysis (RECOMMENDED):

    • Check if the project has ARC-*-STKE-*.md

    • If 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:
    1. Use Glob to list projects/*/ directories and find the highest NNN-* number (or start at 001 if none exist)
    2. Calculate the next number (zero-padded to 3 digits, e.g., 002)
    3. Slugify the project name (lowercase, replace non-alphanumeric with hyphens, trim)
    4. Use the Write tool to create projects/{NNN}-{slug}/README.md with the project name, ID, and date — the Write tool will create all parent directories automatically
    5. Also create projects/{NNN}-{slug}/external/README.md with a note to place external reference documents here
    6. Set PROJECT_ID = the 3-digit number, PROJECT_PATH = the new directory path

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
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • 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), без исполняемых скриптов.

Похожие скиллы

Сравнить arckit-data-mesh-contract с