Regen API — Testing skill for Claude Code
Regenerate the OpenAPI spec and web API client after server API changes.
How to install Regen API
Installs to ~/.claude/commands/chrisbenincasa-tunarr-regen-api.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/chrisbenincasa/tunarr/HEAD/.claude/commands/regen-api.md -o ~/.claude/commands/chrisbenincasa-tunarr-regen-api.md Restart Claude Code, or start a new session, for it to be picked up.
What Regen API does
allowed-tools: Bash(cd server && pnpm generate-openapi:*), Bash(cd web && pnpm generate-client:*), Bash(cd web && pnpm regen-routes:*), Bash(git diff:*) description: Regenerate the OpenAPI spec and web API client after server API changes
Context
- Changed API/types files: !
git diff --name-only HEAD | grep -E "^(server/src/api/|types/src/)"
Your task
Regenerate the full API contract chain after server-side changes:
- Generate OpenAPI spec — run `cd server && pnpm generat
Alternatives in Testing
- Web Design — A Claude Code SKILL for designing beautiful, consistent web pages — spec first, code second 686 ★
- Mda — MDA Open Spec — a Markdown superset for agent-facing documents 615 ★
- Test After Change Diagnostics.V1 — If any program code changes, run unit-tests and follow up on the test-result (fix code if there is an error) 272 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
API Generate
Generate OpenAPI spec and type-safe API client
API Reverse Engineering Toolkit
Claude Skill + TypeScript CLI for reverse-engineering undocumented HTTP APIs into a verified OpenAPI/Smithy sp
Openapi MCP Gateway
Turn any OpenAPI/Swagger API into an MCP server with per-user OAuth2. Multi-spec gateway for Claude Code, Code
Forge From Openapi
Auto-generate a Claude Code skill (commands + types + client) from any OpenAPI 3.x spec URL or file path
Brilliant Directories MCP
Official MCP server for Brilliant Directories — manage members, posts, leads, reviews, pages, and more from an
API Spec
Generate Zalando-compliant OpenAPI 3.1 specs (one per bounded context) and publish to SmartBear SwaggerHub
Related Agents
Web UI Route Reviewer
Use this agent for any change that adds, edits, or removes an Express route in server/index.mjs or server/lib/
API Validator
Checks API code against its OpenAPI or GraphQL spec. Use when validating contract coverage, error consistency,
ChatGPT Spec Review
Coordinates ChatGPT spec review in a dedicated session (manual ChatGPT-web, automated OpenAI API, or parallel