返回顶部
a

api-compat

Change public APIs without breaking clients—versioning schemes, additive vs breaking changes, deprecation windows, and comms. Use when shipping breaking changes, sunsetting fields, or coordinating mobile/web SDK consumers.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
167
下载量
0
收藏
概述
安装方式
版本历史

api-compat

# API Compatibility Own the **lifecycle** of a public API: who breaks when you ship, how long old behavior lives, and how clients discover what’s next. Pair with **http-api** for how requests look **today**; this skill is about **time and promises**. ## When to use - Adding/removing fields, routes, or semantics that **existing** clients rely on. - Choosing **URL vs header vs package** versioning—or when **no** formal version and only additive JSON. - **Deprecation**: timelines, metrics (who still calls old paths?), and removal gates. ## Core ideas - **Additive first** — nullable new fields beat silent behavior changes. - **Explicit contracts** — integration tests or consumer-driven checks for critical partners. - **Communicate** — changelog, developer email, in-response **Sunset** / warnings where standards allow. ## Avoid - “We’ll just bump the version” without a **migration** story for slow-moving apps. - Breaking auth or pagination with no **coordination** window. - Deprecating without **usage data**—you’ll cut traffic you didn’t know existed. ## Checklist before breaking - [ ] Who is affected (internal only vs third parties)? - [ ] Minimum notice period and **rollback** if telemetry spikes errors? - [ ] Docs + examples updated **before** the flag day? ## Done when - Old and new behaviors are **measurable**; removal is gated on **evidence**, not hope.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 api-compat-1775975883 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 api-compat-1775975883 技能

通过命令行安装

skillhub install api-compat-1775975883

下载 Zip 包

⬇ 下载 api-compat v1.0.0

文件大小: 1.51 KB | 发布时间: 2026-4-13 09:21

v1.0.0 最新 2026-4-13 09:21
- Initial release of the api-compat skill.
- Guides teams on managing public API changes, versioning, deprecations, and communication.
- Provides checklists and best practices to prevent breaking existing clients.
- Highlights strategies for versioning schemes and safe evolution of APIs.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部