Agent Skills
› wibus-wee/see
› principle-migrate-callers-then-delete-legacy-apis
principle-migrate-callers-then-delete-legacy-apis
GitHub指导在替换内部 API 时,将调用者迁移至新接口并同步删除旧路径,避免保留兼容性层。适用于重构或优化内部服务接口的场景。
Trigger Scenarios
替换内部 API
清理废弃接口
Install
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.
Version History
- b47adae Current 2026-11-26 00:11


