Agent Skills
› wibus-wee/see
› principle-migrate-callers-then-delete-legacy-apis
principle-migrate-callers-then-delete-legacy-apis
GitHub指导在替换内部API时,将调用者迁移至新接口并与旧路径删除同步进行,避免保留兼容层。提供具体应用步骤及冲突处理原则。
触发场景
替换内部API
安装
npx skills add wibus-wee/see --skill principle-migrate-callers-then-delete-legacy-apis -g -y
SKILL.md
Frontmatter
{
"name": "principle-migrate-callers-then-delete-legacy-apis",
"description": "Move callers to the new shape and delete the old path in the same migration wave instead of carrying a compatibility layer. Use when when replacing an internal api."
}
Migrate Callers Then Delete Legacy APIs
Trigger
When replacing an internal API.
Rule
Move callers to the new shape and delete the old path in the same migration wave instead of carrying a compatibility layer.
Application
- Name the concrete decision this principle changes.
- Apply the rule to that decision, not as a decorative citation.
- Prefer evidence from the current repository/runtime over generic preference.
- If the principle conflicts with an explicit user constraint, keep the constraint and state the tradeoff.
版本历史
- b47adae 当前 2026-11-26 00:11


