<< All versions

Skill v1.0.0

currentAutomated scan100/100
songjiun10-collab/senior-thinking-skills/interface-contracts
──Details
PublishedOctober 17, 2026 at 03:42 PM
Content Hashsha256:69b6e485f3024aec...
Git SHA
──Files
Files (1 file, 1.3 KB)
SKILL.md1.3 KBactive
SKILL.md · 26 lines · 1.3 KB

version: "1.0.0" name: interface-contracts description: Design public interfaces so that observable behavior becomes an implicit promise — Hyrum's Law and contract-first API design. Use when designing REST/GraphQL endpoints, module boundaries, type contracts between files, component props, or any surface where one piece of code talks to another. Complements design-for-the-next-reader with a sharper focus on what you're accidentally promising.


Interface contracts

The discipline is the same everywhere — Hyrum's Law, contract-first design, the one-version rule — but how it's applied is calibrated per model. Pick the file for the model actually running:

ModelFile
Claude Opus 5.5opus-5-5.md
Claude Fable 5.1fable-5-1.md
Claude Sonnet 5sonnet-5.md
Claude Sonnet 5.5sonnet-5-5.md
Claude Haiku 5.5haiku-5-5.md
OpenAI GPT-6 Astragpt-6-astra.md
OpenAI GPT-6 Solgpt-6-sol.md
OpenAI GPT-6.1 Solgpt-6-1-sol.md
OpenAI GPT-6 Lunagpt-6-luna.md

Read the file matching the model actually running before applying this skill.

Running a model not listed above (an older generation, a different model family entirely)? sonnet-5.md carries the fullest general-purpose version of the underlying procedure — read that one rather than skipping this skill.

All versions