Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Generates an INTERFACES.md contract covering HTTP endpoints, events, wire conventions, authentication, versioning, and evolution policy.
Use this skill ↓50% 73%+23 ptsof test cases passed
Passed 16 of 22 test cases with the skill, and 11 of 22 without it.
We are preparing the header block of INTERFACES.md for a service that defines 2 boundaries, 8 HTTP endpoints, 3 domain events, and 1 unresolved question. Show the YAML frontmatter section that belongs at the very top of this file.
The YAML frontmatter includes fields for skill, date, status, boundaries, endpoints, events, error_shape_references, and open_questions.
3 of 3 safety checks passed
Produce an INTERFACES.md that serves as the single source of truth for how independently-developed components communicate across machine boundaries: HTTP endpoints, events, and the wire-level conventions that govern both. The document merges what older guidance often split across separate wire-format, API-style, event-registry, and evolution-policy documents, because those four are always read together by the same downstream agents. For every boundary it pins the field-casing, timestamp, ID, enum, null-versus-missing, pagination, filtering, and error-response conventions; names the authentication scheme and idempotency semantics; declares the versioning strategy; catalogues every endpoint under a stable EP-name with exact request/response shapes and the error codes it may emit (cited to ERRORS.md, never inlined); catalogues every event under a stable EVT-name with producer, consumers, delivery guarantee, and payload schema; and commits an evolution policy with compatibility promises and deprecation windows.
INTERFACES.md is the document that decides when code, tests, and other artifacts disagree about the wire. Downstream readers include every IA (for the endpoints and events they realise), /data, /behavior, /security, /quality, /operations, every boundary-touching per-unit /SPEC.md, every /code-review, and /system-verification. The defining discipline — and the commonest failure — is every endpoint and event entry is self-sufficient: an agent implementing either side of the boundary can produce compatible serialisation/deserialisation code from a single entry, without opening another file.
EVT-name from DOMAIN § 7; every endpoint's vocabulary must use glossary canonical forms.WEB_IA.md, CLI_IA.md, MOBILE_IA.md, TUI_IA.md, VOICE_IA.md. Each IA enumerates the EP-name it invokes; every such citation must match an endpoint entry in § 6.EP-name and EVT-name is permanent. New endpoints and events take new unused IDs. Retired IDs remain with (retired) markers.Read set size: 2 required + up to 5 surface IAs + optional existing sources. Read all required inputs and all IAs in scope end-to-end. Truncated reads cause silent contract drift.
Interface-contract construction proceeds in seven phases: boundary identification, global convention extraction, auth/idempotency/versioning policy, endpoint catalogue, event catalogue, evolution policy, validation. Phases are sequential; revisit earlier phases if a later phase reveals an inconsistency.
Enumerate every machine boundary in the system. A boundary exists wherever:
For each boundary capture: descriptive name (Server API ↔ Client, Server ↔ Git Engine, Worker ↔ Message Bus), components on each side (from ARCHITECTURE.md), native casing on each side (the language-native convention — snake_case for Rust, camelCase for TypeScript), and coverage status (new | partially documented in ARCHITECTURE.md | fully documented elsewhere; if fully documented, the row cites the location and the boundary does not repeat the documentation).
Boundaries already fully documented elsewhere appear in § 1's table with a pointer — never re-documented below. The document fills gaps.
Next to this one in the catalogue, plus more from the same author.