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
- Screen Analyst — Use this agent exclusively in the /b3:screen pipeline to fetch precomputed screening metrics for a B3 ticker 124 ★
- Metadata Extractor — Extracts paper metadata (authors, date, venue, fields, DOI/arxiv ID) and a paper-quality assessment (credibili 95 ★
- Crispener — Refactoring operator that absorbs invariants from business logic into existing schemas — decode/guard-wall del 73 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Stackwise Contract
Contract lens for stackwise reviews. Checks a diff for drift between C# DTOs and endpoints and the TypeScript
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
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