openapi-hub
OpenAPI spec versioning, breaking change detection, and SDK publishing. Tracks spec versions, blocks PRs that introduce breaking API changes without a major…
от Andersonlimahw★ 19 звёзд на GitHub
Установить openapi-hub в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
OpenAPI Hub Plugin
Spec versioning + breaking change gates + SDK publishing.
Commands
/openapi-hub validate — validate openapi.yaml against OpenAPI 3.1
/openapi-hub diff v1 v2 — detect breaking changes between versions
/openapi-hub publish — publish docs to Redoc / GitHub Pages
/openapi-hub sdk ts — regenerate TypeScript SDK from current spec
/openapi-hub changelog — auto-generate API changelog from spec diff
/openapi-hub mock-server — start Prism mock server from spec
Breaking Change Detection
BREAKING CHANGES — v3.3.0 → v3.4.0
=====================================
❌ 2 breaking changes detected (requires major version bump)
[BREAK] GET /products/{id} — removed field 'legacyId' from response
→ Clients depending on legacyId will break silently
→ Add to deprecated fields list and keep for v4.0.0
[BREAK] POST /orders — 'couponCode' now required (was optional)
→ Clients not sending couponCode will get 422
→ Make it optional again OR bump to v4.0.0
⚠️ 3 non-breaking changes (safe to ship in v3.4.0)
[ADD] GET /products — new optional query param 'featured'
[ADD] User schema — new optional field 'avatarUrl'
[DEP] POST /v1/auth/login — deprecated, use POST /v2/auth/login
Spec Versioning
specs/
openapi.yaml ← current (auto-symlink to latest)
openapi-v3.4.0.yaml
openapi-v3.3.0.yaml
openapi-v3.2.0.yaml
CI Gate
- name: Detect breaking API changes
run: npx @redocly/cli lint openapi.yaml && npx oasdiff openapi-v3.3.0.yaml openapi.yaml --fail-on-breaking
Pairs with /openapi-generate skill for spec generation.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- plugin.json
- skills/openapi-hub/SKILL.md
FAQ
Что делает скилл openapi-hub?
OpenAPI spec versioning, breaking change detection, and SDK publishing. Tracks spec versions, blocks PRs that introduce breaking API changes without a major version bump, and auto-publishes updated docs. Use when managing a public API, releasing a new API version, or detecting breaking changes in a PR.
Как установить скилл openapi-hub?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл openapi-hub запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…