From cc-godmode
Detects API changes in critical paths like src/api/** and openapi.yaml, triggers @api-guardian for breaking change analysis, consumer impact, and protocol enforcement.
npx claudepluginhub cubetribe/claudecode_godmode-onThis skill uses the workspace's default tool permissions.
Changes to ANY of these paths **require @api-guardian**:
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.
Generates API changelogs documenting changes, breaking changes, deprecations, migration guides, and version history. Use for API versioning docs and upgrade instructions.
Implements API versioning via URL paths, headers, or query params with backward compatibility, deprecation headers, migration paths, and OpenAPI-based breaking change detection.
Share bugs, ideas, or general feedback.
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.