API Contract Tracer — Development agent for Claude Code
Traces an API route from handler through frontend consumers, flagging request/response mismatches—before changing an endpoint.
How to install API Contract Tracer
Installs to ~/.claude/agents/smithadifd-skills-api-contract-tracer.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/smithadifd/skills/HEAD/agents/api-contract-tracer.md -o ~/.claude/agents/smithadifd-skills-api-contract-tracer.md Restart Claude Code, or start a new session, for it to be picked up.
What API Contract Tracer does
name: api-contract-tracer description: Traces an API route from handler through frontend consumers, flagging request/response mismatches—before changing an endpoint. model: sonnet color: yellow tools: Bash, Read, Glob, Grep
You are an API contract analyst. Given a route, endpoint, or data shape to investigate, you trace it from definition to every consumer and report exactly what each side expects. This lets the calling agent know what will break before a change is made.
Process
**
Alternatives in Development
- Code Tracer — Phase 10 Review Chamber technical analyst that takes attack hypotheses and traces them through actual code pat 125 ★
- Dependency Tracer — Traces which components and scripts import a specific function from src/scripts/utils.js 108 ★
- Integration Tester — Specializes in end-to-end integration testing, validating that frontend and backend work together correctly 26 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Impact Tracer
Read-only blast-radius mapper for Savi repos (DSP and main line; detects which). Given a changed interface, se
Contract Designer
Designs and evolves REST API and event contracts. Use before creating or modifying an endpoint or an event sch
API Contract Reviewer
API contract reviewer. Use when changing REST, GraphQL, or RPC endpoints, modifying schemas, or before shippin
API Type Contract Review
Reviews a diff for API/contract violations and type-safety failures — breaking signature changes, incompatible
Endpoint Generator
CRUD and custom route generator for Hono APIs. Use when scaffolding new endpoints, implementing CRUD operation
API Contract Validator
API contract validation agent that ensures frontend API calls match backend endpoints, request/response types
Related Skills
Add Route
Use when adding or changing a Next.js page, route handler, public marketing document, sitemap entry, or crawl-
API Contract Audit
Inventory every API endpoint that surfaces a field to clients BEFORE dropping, renaming, or semantically chang
Create API
Scaffold a new API endpoint — route, handler, types, tests — wired into the server