a5c-ai/babysitter / library/specializations/code-migration-modernization/skills/strangler-fig-orchestrator
strangler-fig-orchestrator
VerifiedOrchestrate strangler fig pattern implementation for gradual migration with traffic routing and cutover management
README.md
View on GitHub# 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)
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| 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: 198k | Updated | Claude CodeCodex | Verified | Install |
| 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: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| 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: 194k | Updated | Claude CodeCodex | Verified | Install |