freeze-contracts
Installation
SKILL.md
freeze-contracts — Boundary Partitioning & Interface Contract Locking
Domain Rubric
1. Bounded Context Isolation
Isolate domain boundaries so each context exclusively owns its datastore and internal state. Forbid direct cross-database queries or foreign entity mutations; require all cross-boundary interactions to traverse explicit Public Interfaces, Domain Events, or Anti-Corruption Layers (ACL).
2. Contract Specifications & Consumer Fixtures
Define cross-module contracts using strict typed declarations (TypeScript types, Protocol Buffers, JSONSchema, OpenAPI, or Go interfaces). Every contract must declare protocol, direction, typed command/event payloads, error models, and mock provider fixtures so downstream consumers can build independently without upstream readiness.
3. State
STAGED: Bounded contexts mapped, public interfaces frozen, and mock fixtures reviewable.UNRESOLVED: Domain boundary ambiguity or conflicting data ownership prevents clean separation.
Canonical Output Contract
# Contract Freeze: <System / Domain Slug> · <STAGED | UNRESOLVED>