跳到技能内容
词映 AI导航
发现工具选型指南Skills 技能AI 快讯AI图片AI视频AI文档AI办公AI助手AI搜索AI编程AI音频AI设计AI智能体模型与开发AI学习模型评测AI提示词内容检测AI金融AI 3D扫描与识别其他工具跨境电商 AI
词映 AI导航
工具库Skills 技能
我的收藏
词映 AI导航
发现工具选型指南Skills 技能AI 快讯AI图片AI视频AI文档AI办公AI助手AI搜索AI编程AI音频AI设计AI智能体模型与开发AI学习模型评测AI提示词内容检测AI金融AI 3D扫描与识别其他工具跨境电商 AI
Skills directory/jeremylongshore/claude-code-plugins-plus-skills/versioning-apis

API Versioning Skill for OpenAPI Compatibility in Claude Code

Maintain two API versions with explicit contracts, shared business logic, and response adapters for existing clients.

中文

Install in Claude Code

Use a local API, an older response fixture, two OpenAPI documents, and the project's test runner. The example uses path-based versions.

  1. Get the complete `plugins/api-development/api-versioning-manager/skills/versioning-apis` directory from the pinned GitHub commit.
  2. Copy it into the target project's `.claude/skills/`. Check `.claude/skills/versioning-apis/SKILL.md`, start Claude Code at the project root, and call `/versioning-apis`.

Example task

For item 7, make /v1/items/7 return amount: 1000 and /v2/items/7 return price: {amount: 1000, currency: 'CNY'}. Validate both shapes with their own contract tests.

What to check

The v1 client still reads numeric amount. The v2 contract documents the currency. Removing amount from v1 fails its regression test.

Original SKILL.md on GitHub · Updated 2026-11-13

Frequently asked question

Will an OpenAPI diff find a semantic change when the field type stays the same?

Add a behavior assertion for business meaning, such as the amount's units and rounding on representative inputs.

Browse Claude Code skills in the Chinese directory
词映 AI 导航Skills 技能
工具分类全部工具已本地化技能选型指南AI 快讯