What problem does it solve?
Public and cross-team interfaces often accumulate accidental promises and undocumented behaviors that break downstream consumers; this skill helps teams define and lock the contract before implementation so compatibility, validation, and versioning remain intentional and reviewable.
Core Features & Use Cases
- Contract-first design: Draft explicit interface contracts listing consumers, inputs, outputs, invariants, and non-goals before writing code.
- Hyrum's Law reviews: Systematically surface accidental observable behaviors and decide whether to document, hide, or remove them.
- Boundary validation & compatibility: Define validation at the trust boundary, error envelopes, exit codes, and a migration/versioning strategy for breaking changes.
- Use Case: Designing a public REST API or CLI command where external tools or third-party developers depend on stable field names, response shapes, and error semantics.
Quick Start
Draft a concrete interface contract that names the consumers, enumerates inputs and outputs, specifies validation and error semantics, and describes the migration strategy before implementation.