Principle migrate callers then delete legacy apis

From sediman-agent/OpenSkynet · View interactive version

Principle migrate callers then delete legacy apis is an AI agent skill from the GitHub repository sediman-agent/OpenSkynet. Apply when introducing a new internal API while old callers still exist. Migrate callers and delete the old API in the same wave instead of preserving compatibility layers.

How to use this skill

Skill file

Migrate Callers Then Delete Legacy APIs

When we decide a new API is the right design, migrate callers and remove the old API in the same refactor wave instead of preserving compatibility layers.

Rule:

When this applies:

Keeping both old and new APIs creates dual-path complexity, slows cleanup, and makes the codebase feel append-only.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.