breaking-change-detection

Diff OpenAPI specs, SQL schemas, and contracts to classify breaking changes by severity.

3|1|Updated Oct 23, 2025
One-click install
npx skills add https://github.com/vanman2024/dev-lifecycle-marketplace --skill breaking-change-detection
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: breaking-change-detection
Source: https://github.com/vanman2024/dev-lifecycle-marketplace/tree/main/plugins/versioning/skills/breaking-change-detection
Command: npx skills add https://github.com/vanman2024/dev-lifecycle-marketplace --skill breaking-change-detection

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jq, yq, and includes scripts (resource) components.

What problem does it solve?

This Skill provides automated detection and reporting of breaking changes across APIs, databases, and contracts during version bumps. It consolidates OpenAPI diff, schema comparison, and migration guide templates into a unified process to protect backward compatibility and enable smooth migrations.

Core Features & Use Cases

  • OpenAPI/REST API diffing: Detects removed endpoints, modified schemas, and changed authentication requirements between two API specs.
  • Database schema comparison: Finds broken changes like dropped tables, removed columns, or changed data types.
  • Migration guides & CI/CD integration: Generates migration templates and integrates into CI pipelines to prevent breaking changes from slipping into releases.
  • Use Case: When upgrading from API v1 to v2 and DB schema v1 to v2, run the detection to produce a migration plan.

Quick Start

Run the orchestrator to analyze old vs new API specs and old vs new database schemas, producing breaking-changes-report.md.

Frequently Asked Questions about breaking-change-detection

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect breaking changes in API specifications between versions?

Breaking change detection automatically compares old and new OpenAPI/REST API specs to identify removed endpoints, modified schemas, and changed authentication requirements. It classifies changes by severity and outputs a structured report with migration templates for safe upgrades.

Can I detect breaking changes in database schema migrations?

Yes. The Skill analyzes database schemas to find breaking changes like dropped tables, removed columns, or altered data types between versions, enabling you to plan migrations and prevent data loss during schema updates.

How do I integrate breaking change detection into my CI/CD pipeline?

Run the orchestrator to compare old vs new API specs and database schemas, producing a breaking-changes-report.md. Integrate this into your CI pipeline to automatically catch breaking changes before release and block deployments when critical issues are detected.

What formats does breaking change detection support?

The Skill processes OpenAPI specifications in YAML and JSON formats, SQL database schemas, and API contracts. It uses jq and yq for parsing and diffing, enabling analysis across multiple artifact types in a unified workflow.

What's the difference between critical, high, medium, and low severity changes?

The Skill classifies detected changes by impact severity—critical changes block backward compatibility entirely, high changes cause significant disruption, medium changes require adaptation, and low changes are minor. This classification helps prioritize migration efforts and risk assessment.

Do I need to manually write migration guides when breaking changes are detected?

No. The Skill generates migration guide templates alongside breaking-change reports, reducing manual documentation work and ensuring teams have structured guidance for handling each detected change during version upgrades.