des-data-contracts

Designs and validates data-contract specifications for producer-consumer ecosystems.

2|Updated May 20, 2026
One-click install
npx skills add https://github.com/DKSang/DES-SKILL --skill des-data-contracts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: des-data-contracts
Source: https://github.com/DKSang/DES-SKILL/tree/main/skills/des-data-contracts
Command: npx skills add https://github.com/DKSang/DES-SKILL --skill des-data-contracts

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It prevents downstream failures by turning “just a schema” into an explicit, testable Data Contract that covers meaning, grain, freshness, quality, access, lineage, and change/deprecation behavior.

Core Features & Use Cases

  • Data Contract Specification: Define producer/consumer/owner expectations and a contract scope for sources, Silver, Gold, serving outputs, and downstream systems.
  • Consumer-risk-based contract levels: Use contract levels (None/Minimal/Standard/Full/External-Regulated) to match governance strictness to dependency risk.
  • Validation-ready obligations: Produce contract content that Phase 13+ can later transform into checks, gates, and operational controls (without implementing code here).

Quick Start

Use des-data-contracts to create _des-output/planning-artifacts/12-data-contract-specification.md for Gold and serving outputs that consumers will rely on.

Frequently Asked Questions about des-data-contracts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is a data contract and how does it prevent downstream pipeline failures?

A data contract is an explicit, testable specification covering meaning, grain, freshness, quality, access, and lineage. It prevents downstream pipeline failures by turning a basic schema into stable producer-consumer promises with enforced change and deprecation policies.

How do I specify data quality expectations and freshness SLAs for a Gold dataset?

You specify data quality expectations and freshness SLAs by defining a contract scope for Gold datasets. This includes setting explicit producer and consumer ownership, enforcing KPI alignment, and documenting freshness guarantees to ensure predictable downstream behavior.

How do you manage versioning and schema changes in data contracts?

You manage versioning and schema changes by applying explicit versioning and deprecation policies within the data contract. This process uses HALT guardrails and evidence mapping to enforce contract boundaries, preventing breaking changes from reaching dependent operational systems.

Can I apply different governance strictness levels to data contracts based on consumer risk?

You can apply governance strictness levels by assigning consumer-risk-based contract tiers. Use levels ranging from None to External-Regulated, ensuring that Minimal, Standard, or Full contract obligations match the dependency risk of downstream dashboards, APIs, or ML datasets.

Does this data contract specification write validation tests or enforce operational gates?

The data contract specification does not write validation tests or code. It produces validation-ready obligations for contract content that later phases can transform into automated checks, operational controls, and gates for producer-consumer ecosystems.

When do I need to define a data contract for my serving outputs and semantic models?

You need to define a data contract for serving outputs and semantic models when downstream systems depend on predictable structure and behavior. It is required during planning phases where Gold or Silver context exists and consumers rely on stable dataset promises.