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
- 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 ★
- API Spec — Generate Zalando-compliant OpenAPI 3.1 specs (one per bounded context) and publish to SmartBear SwaggerHub 172 ★
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
Servicenow Skills
Agent plugin marketplace for the ServiceNow REST APIs: skill, references, official docs snapshot, OpenAPI 3.1
Leanix Skills
Agent plugin marketplace for the SAP LeanIX APIs: skill, references, official docs snapshot, OpenAPI 3.1 spec
Openapi MCP Gateway
Turn any OpenAPI/Swagger API into an MCP server with per-user OAuth2. Multi-spec gateway for Claude Code, Code
QA Investigator AI
AI exploratory QA agent: Claude Code + a custom MCP server drive Playwright and a controlled HTTP client to fi
Related Agents
Review API Contract
MorviLabs review-crew specialist. Checks both sides of an API against its contract (OpenAPI spec, generated cl
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,