API Change Detection & Guardian Rules
SkillFiles & storageAPI change detection rules, critical file paths that trigger @api-guardian, consumer impact analysis requirements, and breaking change protocols
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the API Change Detection & Guardian Rules skill
What this skill tells your AI
The instructions your AI receives, as published by cubetribe/claudecode_godmode-on in skills/api-change/SKILL.md and read by ahel’s review.
Critical API Paths
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/**
Automatic Detection
The check-api-impact.js hook runs on every Write|Edit operation and:
- Checks if the modified file matches critical paths
- Analyzes the diff for breaking changes
- Finds downstream consumers
- Warns if @api-guardian has not been called
@api-guardian Responsibilities
When called, @api-guardian MUST:
-
Analyze the change type:
- Additive (new fields, new endpoints) — safe
- Modification (type changes, renames) — potentially breaking
- Removal (deleted fields, removed endpoints) — BREAKING
-
Identify all consumers:
- Search for imports/usage of modified types
- Check API endpoint consumers
- Verify downstream dependencies
-
Assess impact:
- How many consumers affected?
- Is there a migration path?
- Can it be done non-breaking?
-
Produce report:
- Change classification (additive/modification/removal)
- Consumer impact list
- Migration strategy
- Recommendation (proceed/modify/abort)
Breaking Change Protocol
If a change is classified as BREAKING:
- @api-guardian marks it as BREAKING in report
- @architect must review and approve the break
- @builder must update ALL affected consumers
- @scribe must document the breaking change in CHANGELOG
- Version bump MUST be MAJOR (X.0.0)
Consumer Impact Matrix
| 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 |
Workflow Position
@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.
Signals
- GitHub stars
- 51
- Forks
- 8
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
api-change- Source
- github.com/cubetribe/claudecode_godmode-on