AGENT SKILL
oasdiff
Use this skill when the user wants to compare OpenAPI specs, detect breaking API changes, or generate API changelogs with oasdiff.
- License 许可
- MIT
- 最近更新
- 2026-11-02
- Stars
- ★ 57
- Forks
- 5
01 前言 Front Matter
- name
- oasdiff
- description
- Use this skill when the user wants to compare OpenAPI specs, detect breaking API changes, or generate API changelogs with oasdiff.
03 SKILL.md 正文
oasdiff Plugin
oasdiff diffs two OpenAPI specifications and classifies every change as breaking or non-breaking — endpoints, schemas, parameters, request/response bodies, security requirements. Used as a CI gate or to generate API changelogs.
Commands
Analysis
oasdiff spec diff <base> <rev>— Full diff between two specsoasdiff spec breaking <base> <rev>— Only breaking changesoasdiff spec changelog <base> <rev>— Changelog of all changesoasdiff spec summary <base> <rev>— Change summaryoasdiff checks list— List available checksoasdiff _ _— Passthrough to oasdiff CLI
Usage Examples
- "Check if the new OpenAPI spec breaks the old one"
- "Diff api-v1.yaml against api-v2.yaml"
- "Generate a changelog between the last released spec and main"
- "Fail CI if the spec has breaking changes"
Installation
go install github.com/oasdiff/oasdiff@latest
# or: brew install oasdiff
Examples
# Gate a PR on breaking changes
oasdiff breaking old.yaml new.yaml --fail-on ERR
# JSON output for agents/tooling
oasdiff changelog old.yaml new.yaml --format json
# Include examples & descriptions in the diff
oasdiff diff old.yaml new.yaml --include-elements examples,description
Key Features
- Classifies changes as breaking vs non-breaking per check
--fail-on ERR|WARNexit codes for CI gating- Output formats: text, JSON, YAML, HTML, Markdown
- ~200 built-in checks covering paths, schemas, params, security
04 同仓库更多 Skills
sc-machin-mcp
暂无简介
★ 57
supercli.quickstart
SuperCLI capability router — discover and execute CLI commands through namespace.resource.action interface
★ 57
zzdoc
Use this skill to compile scdoc manpages with a fast Zig-based compiler.
★ 57
zx
Use this skill when the user wants to a tool for writing better scripts using node.js.
★ 57
zvm
Use this skill when the user wants to manage multiple Zig compiler versions.
★ 57
quickstart
暂无简介
★ 57