Agent Skills: Strangler Pattern

Use when implementing strangler pattern for legacy migrations. Safely migrates controllers with feature flag control.

UncategorizedID: resolve-io/.prism/strangler-pattern

Install this agent skill to your local

pnpm dlx add-skill https://github.com/resolve-io/.prism/tree/HEAD/plugins/prism-devtools/skills/strangler-pattern

Skill Files

Browse the full folder contents for strangler-pattern.

Download Skill

Loading file tree…

plugins/prism-devtools/skills/strangler-pattern/SKILL.md

Skill Metadata

Name
strangler-pattern
Description
Safely migrate legacy controllers using strangler pattern with feature flags

Strangler Pattern

Safely migrate legacy controllers to actions.api with feature flag routing and zero downtime.

Steps

  1. Verify suitability: active endpoints with complex logic or rollback requirements only
  2. Capture real behavior: test live endpoint, record responses and auth details
  3. Create integration tests in actions.api suite (must fail first — TDD RED)
  4. Implement Request/Handler/Service pattern until tests pass (TDD GREEN)
  5. Add 4-line feature flag routing to express-web-api controller
  6. Validate with migration checklist — see also full guide and migration YAML