api-and-interface-design
Design API or module contracts before implementation; not diff review or system-wide architecture review.
Target: Design & content creation. Automatically collected · unverified.
Excerpt from the author’s documentation
Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.
Read the original English text
Topics in the source
- API and Interface Design
- Route precisely
- Fix the consumer contract
- Compare alternative interfaces when the decision warrants it
- Go contracts, when applicable
- Make it testable
Design an interface consumers can use, validate, and evolve. Adapted from Addy Osmani's api-and-interface-design workflow; see the bundled license and repository third-party notice. Use for a new or changing public API, protocol, event, module interface, or cross-component contract before implementation. Use write-spec for full feature requirements, review-spec to evaluate an existing design document, review-arch for the whole system's boundaries, vet-dependency for library adoption, and code-review for a changed implementation. Do not impose REST or TypeScript conventions on a different transport or language. 1. Read repository instructions, existing versioned contracts, callers, serializers, tests, and deployment constraints. Name the consumers and what they need to accomplish. 2. Define inputs, outputs, types or schema, errors, side effects, ordering, defaults, and lifecycle. Separate transport validation from trusted internal invariants. Treat external responses as untrusted data. 3. For a changed interface, inventory observable old behavior and compatibility obligations. Prefer additive evolution when consumers may be deployed independently; document intentional breaks and mig
This is an excerpt. Refer to the complete source and its current requirements.
- Source repository
- ValentinNikolaev/agent-skills
- Source file
- agent-plugins/skills/api-and-interface-design/SKILL.md
- Fixed revision
- 766307289c8c3474a368eb96f192c35bdf7e5fe1
Sources and evidence
This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.
Author: ValentinNikolaev/agent-skills · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-11T21:01:15.222Z.
Categories are inferred from names, descriptions and paths. They do not establish compatibility.
License and attribution
MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.
Original license ↗Synchronization, copying and user-reported success do not mark a resource as runtime-tested.
Limitations and notes
- Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.