principle-migrate-callers-then-delete-legacy-apis
Skill991 starsChanged 58 days agoMITView on GitHub
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.
22 other projects use a version of this, 17 of them edited.
Adopted by
Most recently taken up by
- PickleBoxer/pstackword for word, first seen Oct 6, 2026
- uzairansaruzi/p3-stackword for word, first seen Oct 5, 2026
- creedants/pstack-t3edited, first seen Oct 3, 2026
- adjohn/pstackword for word, first seen Oct 2, 2026
- dhanji4U/skillsedited, first seen Oct 2, 2026
- lucasvidela94/opencode-pstackedited, first seen Sep 30, 2026
Other versions22 projects use a version of this.
Word for word · 4
- uzairansaruzi/p3-stack★ 129100% same
- adjohn/pstack★ 4100% same
- JoshueOsuna/pstack★ 2100% same
- PickleBoxer/pstack★ 1100% same
Edited · 17
- jtaroreh/agystack★ 5897% same
- shrimpwtf/oh-my-pstack★ 3197% same
- painhardcore/pstack★ 694% same
- 0xrsydn/pstack-pi★ 397% same
- creedants/pstack-t3★ 397% same
- shiwenbin1617/pstack★ 397% same
- dhanji4U/skills★ 283% same
- shishiv/pi-pstack★ 197% same
- ahmedbenaw/pstack★ 097% same
- ahmedgcompany-cyber/pstack-claude★ 097% same
7 more not listed
Wrote their own version · 1
- TheOnlyFusionCube/potetos-for-everyone★ 6same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository49 other files it gives its agents.
- architectSkill
- arenaSkill
- automate-meSkill
- benchmark-checklistSkill
- blast-radiusSkill
- broSkill
- correctSkill
- create-verification-skillSkill
- figure-it-outSkill
- howSkill
- interrogateSkill
- maintain-verification-skillSkill
- Make Bot UISkill
- no-commentsSkill
- Poteto ModeSkill
- principle-attack-the-premiseSkill
- principle-boundary-disciplineSkill
- principle-build-the-leverSkill
- principle-encode-lessons-in-structureSkill
- principle-exhaust-the-design-spaceSkill
- principle-experience-firstSkill
- principle-explain-the-numberSkill
- principle-fix-root-causesSkill
- principle-foundational-thinkingSkill
- principle-guard-the-context-windowSkill
- principle-laziness-protocolSkill
- principle-make-operations-idempotentSkill
- principle-minimize-reader-loadSkill
- principle-model-the-domainSkill
- principle-never-block-on-the-humanSkill
- principle-outcome-oriented-executionSkill
- principle-prove-it-worksSkill
- principle-redesign-from-first-principlesSkill
- principle-separate-before-serializing-shared-stateSkill
- principle-sequence-verifiable-unitsSkill
- principle-subtract-before-you-addSkill
- principle-test-behavior-not-implementationSkill
- principle-type-system-disciplineSkill
- recallSkill
- reflectSkill
- setup-pstackSkill
- show-me-your-workSkill
- swarmSkill
- tddSkill
- teachSkill
- technical-writingSkill
- typescript-best-practicesSkill
- unslopSkill
- whySkill
The file
We split this skill into the rules it gives an agent
5 rules. 5 are common, 0 are distinctive, and 0 are very specific to this project.
5
Common
Most of the 18 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Common: line 9
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 …
- Common: line 12
Do not keep legacy API paths only because internal callers still exist
- Common: line 14
Treat temporary adapters as exceptional and time-boxed, not default architecture
- Common: line 15
Update tests to assert the new contract, and delete tests that only protect pre-refactor implementation details
- Common: line 18
No external users depend on backward compatibility
“Common” is measured: kept by at least 6 in 10 of the 18 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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:
- Do not keep legacy API paths only because internal callers still exist
- Inventory callers, migrate them, and delete the old API immediately
- Treat temporary adapters as exceptional and time-boxed, not default architecture
- Update tests to assert the new contract, and delete tests that only protect pre-refactor implementation details
When this applies:
- No external users depend on backward compatibility
- The project can absorb coordinated breaking changes
- The new API is part of a simplification or refactor initiative
Keeping both old and new APIs creates dual-path complexity, slows cleanup, and makes the codebase feel append-only.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

