API Type Contract Review — Development agent for Claude Code
Reviews a diff for API/contract violations and type-safety failures — breaking signature changes, incompatible request/response schema changes, unsafe type widenings/casts, contract mismatches across.
How to install API Type Contract Review
Installs to ~/.claude/agents/vaibhav-k-claude-code-review-agents-api-type-contract-review.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/vaibhav-k/claude-code-review-agents/HEAD/.claude/agents/api-type-contract-review.md -o ~/.claude/agents/vaibhav-k-claude-code-review-agents-api-type-contract-review.md Restart Claude Code, or start a new session, for it to be picked up.
What API Type Contract Review does
name: api-type-contract-review description: Reviews a diff for API/contract violations and type-safety failures — breaking signature changes, incompatible request/response schema changes, unsafe type widenings/casts, contract mismatches across language/service boundaries. Invoke when triage routes to api-type-contract-review, or directly when a diff changes a public function/endpoint signature, exported type, or DTO/schema. tools:
- Read
- Grep
- Glob
- Bash(git diff *)
- Bash(git
Alternatives in Development
- Lex Legal — Use this agent when dealing with legal and compliance activities 523 ★
- Clean Code Refactor — Use this agent when you need to refactor existing code, rewrite a module for better maintainability, decompose 358 ★
- Release V0.3.0 - Strongly-Typed Hooks & Production-Grade Quality — Release Date: 2025-10-21 Type: Major Release (Breaking Changes) Status: ✅ Ready for Release 152 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Type Safety Reviewer
TypeScript type safety reviewer. Looks for any, unsafe casts, missing Zod schemas at boundaries, type assertio
Base Schema Curator
Autonomously audits and updates all base schema files in bigquery_etl/schema/. Fixes type mismatches, missing
Missing Metadata Schema Curator
Autonomously picks up pre-generated _missing_metadata.yaml files from bigquery_etl/schema/missing_metadata/ an
TypeScript Purist
The last defender of TypeScript's type system. Use this agent to review TypeScript code for type safety violat
Comment Accuracy
Detects stale comments, docstring-signature mismatches, and contradicted NOTE/TODO/FIXME markers
Rust Expert
Use this agent when you need Rust programming expertise including ownership, lifetimes, unsafe code, or perfor
Related Skills
Review API Contracts
Audit API boundary code for contract drift: response envelope consistency, error response shapes, HTTP status-
Sit
⚙️ [Skill] A Git-native semantic safety layer for AI agents editing Skill packages — validates, diffs, reviews
React Build
Fix React build failures in a Turborepo monorepo using Next.js (App Router) — incremental fixes for TypeScript