api-consumer-notice

API consumer notice draft: compiles destructive API changes into a notification draft for callers, including impact scope, compatibility period, and migration steps. Used when consumers must be notified and automatic sending is not performed.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "api-consumer-notice" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-2ea7e7cbf7fdb94289c88366781e2696a8e9bd2f3fa5e8d3e93d5d5803fb6d26. Verify the upstream source and version against https://skillhub.cn/skills/user_bd3231bd/api-consumer-notice before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

API consumer notice draft: compiles destructive API changes into a notification draft for callers, including impact scope, compatibility period, and migration steps. Used when consumers must be notified and automatic sending is not performed.

0 Downloads

Introduction source: third_party · user_bd3231bd · 0.1.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Translation pending; see source documentation.
Limits and differences
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "api-consumer-notice"
description: 把破坏性 API 变更整理成给调用方的通知草稿(影响面、兼容期、迁移步骤);当需要通知消费方且不自动发信时使用。

API 调用方变更通知

用途

把破坏性 API/契约变更整理成可发给调用方/集成方的通知草稿,固定包含:

  1. 摘要 — 一句:什么变了、为何、要求对方做什么
  2. 破坏点清单 — 接口/字段/行为变化(新旧对照)
  3. 影响面 — 谁可能受影响(按调用场景,非点名公司机密)
  4. 兼容与时间线 — 兼容期、废弃日、强制切换日(缺则待确认)
  5. 迁移步骤 — 调用方可执行的最少步骤
  6. 联系与回滚 — 问询渠道;若有临时回退策略则写明

本技能做调用方通知草稿,不做 C 端产品更新说明、不代发邮件/Webhook、不生成完整 SDK/文档站。

模板见 references/notice-template.md。

适用场景

  • 适合: 字段废弃、错误码变更、鉴权方式变更、分页语义变更等 breaking change 需预告。
  • 不适合:
    • 面向终端用户的版本更新文案(请用用户向 changelog 类技能)
    • 自动推送到调用方系统或改网关配置
    • 从零撰写完整 OpenAPI 站点

边界与差异(防误触发)

易混需求 本技能 不做什么
C 端更新说明 受众=集成/调用方 不用营销口吻讲卖点
API 文档生成 通知+迁移窗口 不产出完整 reference
自动告警系统 可粘贴文本 不代发、不配 Webhook

怎么使用(普通用户)

在 AI 助手里直接说,例如:

  • 「用 API 调用方变更通知,说明 /v1/orders 的 status 枚举变更」
  • 「破坏性变更预告:旧字段废弃时间、兼容策略、迁移步骤」
  • 「给集成方写变更通知,不是给 C 端用户的更新日志」

使用步骤

缺关键日期时先追问,禁止编造废弃日、强制切换日或虚构兼容承诺。

1. 澄清最少必要项

字段 说明
变更点 哪个 API/字段/行为
旧→新行为 对照说明
时间线 预告日/兼容截止/强制日(可缺,缺则待确认)
兼容策略 双写、头版本、并行路径等(可缺)
联系渠道 邮件组/值班群/工单(可缺)

缺变更点或旧→新时: 先追问,不写空通知。

2. 判定是否破坏性

若仅新增可选字段且旧客户端无感: 说明「非破坏性,可改为常规 changelog」,仍可输出简化通知。
若删除/改语义/改必填: 按完整模板输出。

3. 填写通知

严格按 references/notice-template.md。
未知时间线写入「待确认」,并在文首提示「请补齐日期后再群发」。

4. 自检

  • 调用方能否在不读内部设计文档的情况下完成迁移?
  • 是否误写成 C 端产品文案?
  • 是否出现未提供的截止日期?

示例

输入:
变更: GET /v1/orders 响应中 status 从字符串改为枚举码(PAID/SHIPPED…);旧字符串仍双写 30 天
计划: 2026-08-01 起双写,2026-09-01 停止字符串
联系: api-support@example.com

输出:
【摘要】
`GET /v1/orders` 的 `status` 将从自由字符串改为稳定枚举码;请在 2026-09-01 前完成客户端适配。

【破坏点】
| 项 | 旧行为 | 新行为 |
| --- | --- | --- |
| status | 任意字符串(如「已支付」) | 枚举码(如 PAID);语义见附录表 |
| 兼容 | — | 2026-08-01 起响应同时包含 status 与 status_code(双写) |

【影响面】
- 解析 status 文案做分支的客户端/脚本
- 将 status 原文入库展示的报表任务

【兼容与时间线】
- 2026-08-01: 开始双写(status 保留旧字符串,新增 status_code)
- 2026-09-01: 停止返回旧字符串 status(仅 status_code)
- 请最晚在强制日之前完成切换

【迁移步骤】
1. 改读 `status_code`(或并行校验双字段)
2. 更新本地枚举映射表
3. 在预发环境用样例订单回归
4. 监控解析失败率后再切生产

【联系与回滚】
- 问询: api-support@example.com
- 回滚: 兼容期内可继续读旧 status;强制日后无自动回滚,需提工单评估

待确认: (无)

常见问题(FAQ)

  • 这是给 App 用户看的更新说明吗? 不是;请用用户向 changelog 技能。
  • 能不能直接发邮件? 不能代发;只产出草稿。
  • 还没定废弃日? 时间线标待确认,并提醒勿群发。
  • 只有内部服务调用? 仍可用本模板,影响面写「内部消费者」即可。

已知限制

  • 不访问网关、代码仓库或邮件系统。
  • 不自动扫描调用方列表。
  • 中文交互;不依赖海外 API。

变更说明

  • 0.1.0: 首发。调用方破坏性变更通知流程与模板。

Current listing version

0.1.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 解决 API 破坏性变更通知这一明确刚需场景
  • 受众精准(API 调用方/集成方),非 C 端用户
Trigger Precision90/100

Highlights

  • 触发词清晰,明确区分适用与不适用场景
  • 防误触发说明详尽,边界定义清楚
Structure and Standards95/100

Highlights

  • 结构完整,涵盖用途、步骤、示例、FAQ、限制
  • frontmatter 完整,文档长度适中
Execution Reliability90/100

Areas to improve

  • 引用文件缺失 Reported severity: Minor

    SKILL.md 引用了 references/notice-template.md 但未传入该文件

    Recommendation: 请补充 references/notice-template.md 文件以确保模板完整性

Evidence Verifiability (mean of the first four)90/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.