Skip to content
Agentmart
Submit a tool

api-contract-diff

Vendor-neutral skill to compare two OpenAPI 3 specifications and produce a structured contract change report with breaking-change detection.

Skill by sisodiabhumca

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/sisodiabhumca-api-contract-diff

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Vendor-neutral skill to compare two OpenAPI 3 specifications and produce a structured contract change report with breaking-change detection.

Use cases: documents, backend

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/api-contract-diff

What's inside

Skill name
api-contract-diff
Description
Vendor-neutral skill to compare two OpenAPI 3 specifications and produce a structured contract change report with breaking-change detection.
License
MIT
Instructions
35 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (3)

  • README.md
  • SKILL.md
  • api_contract_diff.py

SKILL.md (first lines)

## When to invoke
- When you need to assess API changes between two versions of an OpenAPI 3.x spec.
- When you need to flag likely breaking changes (removed paths, removed operations, removed/changed required request fields, response schema removals).

## Inputs needed
- `--old`: Path to the older OpenAPI 3 JSON file.
- `--new`: Path to the newer OpenAPI 3 JSON file.
- Optional `--out`: Path to write a JSON report.

## Workflow
1. Load both OpenAPI documents (JSON).
2. Extract operations indexed by `(path, method)`.
3. Compare:
   - Added/removed paths and operations.
   - Parameter additions/removals (path/query/header).
   - Request body requiredness and JSON schema required properties.
   - Response status codes present/removed.
4. Label changes as `breaking`, `non_breaking`, or `unknown_risk`.

## Output format
JSON with:
- `summary`: counts of breaking/non-breaking/unknown.
- `breaking_changes`: list of items with `kind`, `location`, and `details`.
- `non_breaking_changes`: list of items.
- `unknown_risk_changes`: list of items.

## Guardrails
- Do not assume semantic meaning beyond what is expressed in OpenAPI.
- Mark schema-type changes as `unknown_risk` unless clearly breaking (e.g., removed required property).
- Prefer false positives over false negatives for breaking changes.

## Reference code
- `api_contract_diff.py`

From sisodiabhumca/agent-skills, MIT.

More from sisodiabhumca/agent-skills

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
May 10, 2026 (5 months ago)
Last release
Oct 24, 2026 (4 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from sisodiabhumca

Cite this page

api-contract-diff skill. Agent Mart. https://agentmart.dev/skills/sisodiabhumca-api-contract-diff (last updated 2026-10-24)