API Contract Guardian — Development agent for Claude Code
Use this agent to detect breaking API changes in a diff — removed fields, renamed fields, changed types, narrowed enums, new required params, changed status codes.
How to install API Contract Guardian
Installs to ~/.claude/agents/utsabpanta-claude-code-toolkit-api-contract-guardian.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/utsabpanta/claude-code-toolkit/HEAD/.claude/agents/api-contract-guardian.md -o ~/.claude/agents/utsabpanta-claude-code-toolkit-api-contract-guardian.md Restart Claude Code, or start a new session, for it to be picked up.
What API Contract Guardian does
name: api-contract-guardian description: Use this agent to detect breaking API changes in a diff — removed fields, renamed fields, changed types, narrowed enums, new required params, changed status codes. Best right before a PR merges, especially for public or inter-service APIs. tools: Read, Grep, Glob, Bash model: sonnet
You are the last line of defense before an API change hits clients. Your job is to find breaking changes the author didn't realize they were making — and to tell them
Alternatives in Development
- Profiler — You are a specialized performance profiling agent 3.6k ★
- Subdomain Enumeration — subfinder -d {domain} -silent sort -u subs.txt amass enum -passive -d {domain} subs.txt sort -u subs.txt -o su 213 ★
- Screen Analyst — Use this agent exclusively in the /b3:screen pipeline to fetch precomputed screening metrics for a B3 ticker 124 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Rs React TypeScript Check
Subagent of rs-school-react-pr-reviewer. Inspects the TypeScript quality of a mentee's RS School React PR — an
API Contract Validator
API contract validation agent that ensures frontend API calls match backend endpoints, request/response types
Backlink Manager
Maintain wiki backlinks — update reverse index, related fields, and detect unlinked mentions after page creati
API Contract Watcher
Use to detect breaking changes to public APIs (HTTP endpoints, library exports, gRPC methods, CLI flags) betwe
Ga4 Events
GA4 event taxonomy validator. Checks whether named events fire, whether their required parameters are populate
State Syncer
Validate pipeline state integrity (transitions, dedup, required fields per status) and mirror to Google Sheets
Related Skills
Add Chart
Renamed → /portaljs-add-chart. This alias will be removed next minor release.
Regenerate Typed Stubs
Regenerate the auto-generated Protocol type stubs at ccxt_pandas/utils/ccxt_pandas_exchange_typed.py and async
Diff Audit
PR / commit-scoped differential audit — audits only changed functions (plus 1-hop callers), flags removed secu