From coalmine
Compatibility and schema drift canary — checks for database schema migration safety, breaking API contract changes, serializable payload mismatches, and backward compatibility drift. Triggers on keywords: "/drift-canary", "drift-canary", "contract drift", "breaking changes". Use when changing DB schemas, API contracts, serialized payloads, or required config keys.
How this skill is triggered — by the user, by Claude, or both
Slash command
/coalmine:drift-canaryThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
<!-- SHARED:LANGUAGE_HEADER -->
Audit code to ensure changes do not break backward compatibility or cause database/API mismatches.
.env / OS vars) without defaults or fallback.Expand/contract migration rules, per-format serialization fallbacks, and the breaking-vs-additive API checklist: read references/checks.md before scanning.
Scope: honor .coalmine.json schemaPaths / migrationDirs if set — scan those globs/dirs; else infer by inspecting the repo.
In Agent Context, after the report, present via ask_question:
| file:line | contract interface | severity | finding | migration path |
Severity: CRITICAL (breaking DB schema mutation / breaking API change) · HIGH (serialization type change) · MEDIUM (unmapped new required env key) · LOW (missing deprecation doc)
npx claudepluginhub hetcreep/coalmineCompatibility and schema drift canary — checks for database schema migration safety, breaking API contract changes, serializable payload mismatches, and backward compatibility drift. Triggers on keywords: "/drift-canary", "drift-canary", "contract drift", "breaking changes". Use when changing DB schemas, API contracts, serialized payloads, or required config keys.
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.
Reviews PRs for API contract compliance, breaking changes, security vulnerabilities, input validation, and schema alignment. Use for safety and compatibility checks.