Skip to content
youdede

Build OpenAPI Contract

DevelopmentSkillv1.4.0

Build or repair an OpenAPI document by reconciling implementation, tests, product requirements, authentication, schemas, examples, and error behavior. Use when an HTTP API needs an accurate machine-readable contract or drift review.

Runs on

Scope
$npx @youdede/toolkit add build-openapi-contract --target claude-code

What it does

Build an OpenAPI contract from verified behavior, reusable schemas, failures, and executable checks.

When it fires

  • design
  • implementation
  • review

How it behaves

It does not invent endpoints, fields, examples, status codes, or security scopes.

It does not expose internal or sensitive schemas merely because implementation fields exist.

It does not publish, deploy, or guarantee backward compatibility without evidence.

Version
1.4.0
Licence
RiskThis skill builds an OpenAPI contract from verified behavior, reusable schemas, failures, and executable checks; it does not invent endpoints, fields, examples, status codes, or security scopes.
Medium
ModeHow it works: fixed rules, model instructions, or both.
Prompt only
Behaviour
Advises, never blocks
On failure
Stops and reports
LatencyThe skill builds an OpenAPI contract from verified behavior, reusable schemas, failures, and executable checks, using sequential evidence and verification steps.
Bounded
Data retentionWhether data remains after use and who manages its storage.
Managed by the runtime

Often used with

All in Development