Skip to content

a5c-ai/babysitter / library/specializations/code-migration-modernization/skills/strangler-fig-orchestrator

strangler-fig-orchestrator

Verified

Orchestrate strangler fig pattern implementation for gradual migration with traffic routing and cutover management

FileKindSize
README.mdmarkdown1.7 KB
SKILL.mdskill md2.8 KB
# Strangler Fig Orchestrator Skill

## Overview

The Strangler Fig Orchestrator skill manages incremental migration using the strangler fig pattern. It handles traffic routing, feature flags, and gradual cutover from legacy to modern systems.

## Quick Start

### Prerequisites

- API gateway or routing layer
- Feature flag system
- Monitoring in place

### Basic Usage

1. **Setup routing**
   - Configure gateway rules
   - Define routing strategy
   - Set initial weights

2. **Migrate incrementally**
   - Start with low-risk endpoints
   - Shift traffic gradually
   - Monitor metrics

3. **Complete cutover**
   - Verify full migration
   - Sunset legacy
   - Clean up

## Features

### Routing Strategies

| Strategy | Description | Use Case |
|----------|-------------|----------|
| Percentage | Split by weight | General |
| Header-based | Route by header | Testing |
| User-based | Route by user | Canary |
| Path-based | Route by path | Gradual |

### Cutover Phases

1. Shadow (0% new)
2. Canary (5-10% new)
3. Partial (25-50% new)
4. Majority (75-90% new)
5. Complete (100% new)

## Configuration

```json
{
  "legacy": {
    "baseUrl": "http://legacy.internal",
    "endpoints": ["/api/users", "/api/orders"]
  },
  "modern": {
    "baseUrl": "http://new.internal",
    "endpoints": ["/api/users", "/api/orders"]
  },
  "routing": {
    "type": "weighted",
    "initialWeight": 10,
    "incrementStep": 10,
    "healthCheckInterval": "1m"
  },
  "rollback": {
    "errorThreshold": 5,
    "latencyThreshold": 2000
  }
}
```

## Related Documentation

- [SKILL.md](./SKILL.md) - Full skill specification
- [Strangler Fig Pattern](https://martinfowler.com/bliki/StranglerFigApplication.html)
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall