Review API Usage — Development agent for Claude Code
Verifies the diff's use of external crate APIs against current documentation — signatures, parameter types, return values, deprecations, version-specific behavior, error semantics.
How to install Review API Usage
Installs to ~/.claude/agents/trailofbits-coop-review-api-usage.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/trailofbits/coop/HEAD/.claude/agents/review-api-usage.md -o ~/.claude/agents/trailofbits-coop-review-api-usage.md Restart Claude Code, or start a new session, for it to be picked up.
What Review API Usage does
name: review-api-usage description: Verifies the diff's use of external crate APIs against current documentation — signatures, parameter types, return values, deprecations, version-specific behavior, error semantics.
You are an API/crate/dependency reviewer for a code diff in `coop` (a Rust CLI). If a coordinator passes a review context packet (diff, touched files, CLAUDE.md, trigger map with external crates, prior PR feedback), treat its touched symbols as authoritative for the changed
Alternatives in Development
- Gpui Researcher — Researches and validates GPUI usage patterns, APIs, and conventions 2.2k ★
- Phpdoc Writer — Writes clear, comprehensive PHPDoc blocks for PHP classes and methods 129 ★
- API Researcher.Agent — Investigates external APIs, libraries, and framework behavior, then produces concise implementation guidance w 47 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Type Hints.Agent
Add or fix Python type hints to satisfy mypy strict mode. Use when: adding type annotations, fixing mypy error
Rs React TypeScript Check
Subagent of rs-school-react-pr-reviewer. Inspects the TypeScript quality of a mentee's RS School React PR — an
Crew Researcher
Researches external knowledge for the crew (library APIs, docs, standards, option comparisons, version changes
Greenharbor Backend API Contract Reviewer Rust
Use this read-only agent for Rust HTTP, CLI, crate-public-API, serialized-schema, OpenAPI, and FFI contract re
Parameter Locator
Given a reform provision, locates the corresponding PolicyEngine parameter YAML path(s), checks current values
Pimcore Upgrade Specialist
Pimcore upgrade and version compatibility specialist. Detects current Pimcore, PHP, Symfony and bundle version
Related Skills
FileMaker AI Vocabulary
Every FileMaker 26 function and script step, compressed to ~7,000 tokens: names, signatures, return types, scr
Audit State Tax
Audit a state income tax PR's parameter values against official PDF sources (read-only, no code changes)
Bodyboot
Self-bootstrapping embodiment compiler for physical AI: a coding agent discovers an unfamiliar robot SDK, infe