Breaking changes

From berkcangumusisik/claude-code-practices · View interactive version

Breaking changes is an AI agent skill from the GitHub repository berkcangumusisik/claude-code-practices. Detects breaking changes between two git refs and generates a migration guide

How to use this skill

Skill file

Breaking Change Detection

Base: $1 (e.g., v1.2.0, main)

Head: $2 (default: current HEAD)

  1. Get the diff:
git diff $1 ${2:-HEAD} -- src/ --name-only
git diff $1 ${2:-HEAD} -- src/
  1. Analyze changes for breakage:

Public API changes (exports):

Database changes:

Config/env changes:

Behavior changes:

  1. For each breaking change, write a migration step:
## Breaking Changes in v2.0.0

### `createUser()` now requires `role` parameter
**Before:** `createUser({ name, email })`
**After:** `createUser({ name, email, role: 'user' })`
**Migration:** Add `role: 'user'` as default to all call sites.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.