Cursor Skill

principle-migrate-callers-then-delete-legacy-apis

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.

LLM Mart · 0 points · 2 views 0 listing impressions 0 install-command copies
Download backnotprop-pstack-skills_principle-migrate-callers-then-delete-legacy-apis-d164eec.zip · 0 KB

Install

skills CLI npx skills add https://github.com/backnotprop/pstack/tree/main/skills/principle-migrate-callers-then-delete-legacy-apis
Claude Code claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install backnotprop-pstack@llmmart
Git git clone https://github.com/backnotprop/pstack.git

The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole backnotprop/pstack collection as a plugin from our marketplace. Git is the plain clone.

Skill manifest

Migrate Callers Then Delete Legacy APIs

  • 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
Files (pstack)
  • agents
    • openai.yaml 142 B
      Loading…
  • SKILL.md 637 B
    ---
    name: principle-migrate-callers-then-delete-legacy-apis
    description: "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."
    disable-model-invocation: true
    ---
    
    # Migrate Callers Then Delete Legacy APIs
    
    - 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
    

Comments (0)

Sign in to join the conversation.

No comments yet.

Reviews (0)

No reviews yet.