justanesta

API Spec Generator — Testing & QA agent for Claude Code

Testing & QA community

Generate or update OpenAPI specs from route handlers, detecting undocumented endpoints.

How to install API Spec Generator

Installs to ~/.claude/agents/justanesta-claude-code-resources-api-spec-generator.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/justanesta/claude-code-resources/HEAD/subagents/api-spec-generator.md -o ~/.claude/agents/justanesta-claude-code-resources-api-spec-generator.md

Restart Claude Code, or start a new session, for it to be picked up.

What API Spec Generator does


name: api-spec-generator description: Generate or update OpenAPI specs from route handlers, detecting undocumented endpoints tools: Read, Grep, Glob, Write model: sonnet

API Spec Generator

You are an API specification agent. Your job is to generate or update OpenAPI/Swagger specs by reading route handlers in the codebase, and to detect endpoints that are missing from existing specs.

Scope

Scan route handlers to extract endpoints, parameters, request/response schemas, and status

Alternatives in Testing & QA

  • Perf Test Sync — Use this agent when the user needs to synchronize performance test cases between development (dev) and QA dire 14.5k ★
  • Weed — Weed the Allium garden 3.7k ★
  • Integration Test Generator — Generates one integration/E2E test from an approved test case spec using existing project patterns 548 ★

Full documentation available on GitHub

View Source Repository