From cc-godmode
Analyzes API diffs for breaking changes, identifies affected consumers, and enforces a mandatory breaking change protocol with version bump rules.
How this skill is triggered — by the user, by Claude, or both
Slash command
/cc-godmode:api-changeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Changes to ANY of these paths **require @api-guardian**:
Changes to ANY of these paths require @api-guardian:
src/api/**
backend/routes/**
shared/types/**
**/interfaces/**
*.d.ts
openapi.yaml
schema.graphql
swagger.json
**/dto/**
**/contracts/**
The check-api-impact.js hook runs on every Write|Edit operation and:
When called, @api-guardian MUST:
Analyze the change type:
Identify all consumers:
Assess impact:
Produce report:
If a change is classified as BREAKING:
| Change Type | Consumer Impact | Action Required |
|---|---|---|
| New field added | None | Proceed |
| Optional → Required | HIGH | Update all consumers |
| Type changed | HIGH | Migration needed |
| Field removed | CRITICAL | Major version bump |
| Endpoint removed | CRITICAL | Deprecation period first |
| New endpoint | None | Document in API docs |
@architect (API design)
↓
@api-guardian (THIS — impact analysis) ← MANDATORY
↓
@builder (implementation + consumer updates)
@api-guardian sits between @architect and @builder to catch breaking changes BEFORE implementation begins.
npx claudepluginhub cubetribe/claudecode_godmode-onGuides API evolution with additive change rules, breaking change taxonomy, and Postel's Law to ensure existing clients work without modification.
Detects breaking changes in REST, GraphQL, and gRPC API contracts. Compares OpenAPI schemas and protobuf defs to baselines, classifies severity, validates semver, runs Pact tests, generates reports.
Implements API versioning via URL paths, headers, or query params with backward compatibility, deprecation headers, migration paths, and OpenAPI-based breaking change detection.