/godmode:deployfrom godmode
Guides blue-green, canary, and progressive deployments with automated rollback, feature flag coordination, and zero-downtime migrations.
Ships in godmode. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
/godmode:deploy/godmode:shipCharacterize the change and determine the correct deployment strategy:
DEPLOYMENT ASSESSMENT:
Change type: <application code | database migration | infrastructure | config | all>
Risk level: <LOW | MEDIUM | HIGH | CRITICAL>
Rollback complexity: <INSTANT | MINUTES | HOURS | DIFFICULT>
Change characteristics:
- [ ] Backward compatible (old code works with new data)
- [ ] Forward compatible (new code works with old data)
- [ ] Database schema changes involved
- [ ] API contract changes (breaking/non-breaking)
- [ ] Infrastructure changes (new services, topology)
- [ ] Feature flags available
- [ ] Stateful components affected (sessions, caches)
Current environment:
Two identical environments, instant switchover:
BLUE-GREEN DEPLOYMENT PLAN:
LOAD BALANCER → routes 100% to active environment
[BLUE env: v1.0 (live)] ←── current traffic
[GREEN env: v1.1 (idle)] ←── deploy here, then switch
Route a small percentage of traffic to the new version:
CANARY RELEASE PLAN:
LOAD BALANCER (traffic splitting)
95% → [STABLE: v1.0, N instances]
5% → [CANARY: v1.1, 1 instance]
Gradually shift: 5% → 25% → 50% → 100% based on metrics
Percentage-based traffic shifting with automated gates:
PROGRESSIVE ROLLOUT PLAN:
| Stage | Traffic | Duration | Gate | Rollback |
|--|--|--|--|--|
| 1. Smoke | 0% (int) | 5 min | Auto | Auto |
| 2. Seed | 1% | 10 min | Auto | Auto |
| 3. Low | 5% | 15 min | Auto | Auto |
| 4. Med | 25% | 30 min | Manual | Auto |
| 5. High | 50% | 30 min | Manual | Auto |
| 6. Full | 100% | Monitor | Manual | Manual |
Gate criteria:
Auto gate: pass if all success metrics within threshold for full duration
Manual gate: auto gate + human approval required to proceed
IF health check fails post-deploy: auto-rollback. IF canary error rate >1%: abort promotion.
Define rollback criteria and execution plan:
ROLLBACK PLAN:
AUTOMATIC ROLLBACK TRIGGERS
| Trigger | Threshold | Window |
|--|--|--|
| HTTP 5xx rate | > 1% | 2 min |
| P99 latency | > 2x baseline | 5 min |
| Error log rate | > 3x baseline | 5 min |
| Health check failures | > 2 consec. | immediate |
| Business metric drop | > 10% | 15 min |
| Memory usage | > 90% | 5 min |
| CPU usage | > 95% | 5 min |
Coordinate feature flags with deployment stages:
FEATURE FLAG ROLLOUT PLAN:
| Flag | Stage 1 | Stage 2 | Stage 3 | Full |
|--|--|--|--|--|
| new-checkout-ui | internal | 5% users | 50% | 100% |
| payment-v2-api | internal | internal | 5% | 100% |
| new-recommendation | OFF | OFF | 25% | 100% |
Flag dependencies:
payment-v2-api REQUIRES new-checkout-ui (cannot enable v2 without new UI)
new-recommendation INDEPENDENT (toggle separately)
Kill switches:
Each flag has a kill switch that disables it within 30 seconds
For database and infrastructure changes that cannot tolerate downtime:
ZERO-DOWNTIME SCHEMA MIGRATION:
Phase 1: EXPAND (deploy with old + new schema)
Migration: Add new column/table (nullable, with defaults)
Code: Write to BOTH old and new locations
Duration: Deploy and verify writes are dual-writing
Phase 2: MIGRATE (backfill existing data)
Script: Batch-copy data from old to new location
Verification: Row counts match, data integrity checks pass
Duration: Depends on data volume (estimate: <time>)
Phase 3: CONTRACT (switch reads to new, stop writing old)
Code: Read from new location, write only to new location
Verification: Old location receives no new writes
ZERO-DOWNTIME SERVICE MIGRATION:
Phase 1: STRANGLER FIG
1. Deploy new service alongside old service
2. Route specific endpoints to new service (start with low-traffic)
3. Monitor error rates and latency for new service
4. Gradually migrate more endpoints
Phase 2: DATA SYNC
1. Set up bidirectional sync between old and new data stores
2. Verify data consistency with checksums
3. Run shadow traffic (duplicate requests to new service, compare responses)
Phase 3: CUTOVER
1. Route 100% traffic to new service
2. Keep old service running (read-only) for rollback
3. Monitor for 24-48 hours
4. Decommission old service
DEPLOYMENT PLAN
Strategy: <Blue-Green | Canary | Progressive | Rolling>
Risk level: <LOW | MEDIUM | HIGH | CRITICAL>
Estimated duration: <time>
Rollback time: <time>
Pre-deployment checklist:
[x] All tests passing
[x] Security audit passed
[x] Database migration tested in staging
[x] Rollback procedure tested
[x] Monitoring dashboards ready
[x] On-call engineer confirmed
docs/deploy/<date>-<feature>-deployment.md"deploy: <feature> — <strategy> with <N> stages"Never ask to continue. Loop autonomously until done.
| Flag | Description |
|---|---|
| (none) | Full deployment planning and strategy recommendation |
--strategy <type> | Use specific strategy: blue-green, canary, progressive, rolling |
--canary | Canary release with automated gates |
timestamp feature strategy stages duration rollback_triggered status
KEEP (promote) if: ALL metrics within threshold for full observation
DISCARD (rollback) if: ANY trigger fires OR approval denied
ROLLBACK when: error rate > baseline+1% for 2+min OR P99 > 2x baseline
OR health check fails OR business metric drops > 10%
COMPLETE when: 100% traffic, metrics stable 15+ min
# Deploy and monitor
kubectl rollout status deployment/app --timeout=300s
kubectl get pods -l app=myapp --field-selector=status.phase!=Running
curl -s http://localhost/healthz | jq .status
kubectl cluster-info 2>/dev/null && echo "kubernetes"
aws ecs list-clusters 2>/dev/null && echo "ecs"
grep -ri "canary\|blue.green\|rolling" k8s/ helm/ 2>/dev/null
Log to .godmode/deploy-results.tsv:
step\tenvironment\tstrategy\tcanary_pct\terror_rate\tlatency_p99\tstatus
| Failure | Action |
|---|---|
| Canary health fails | Rollback to 0%. Check config drift. |
| Migration fails | Don't retry blindly. Check partial changes. Restore backup. |
| Rollback fails | Manually set previous image. Verify registry + DB compat. |
| Traffic spike | Pause canary. Resume when baseline restored. |
What SKILL.md sets; muted values are Claude Code's defaults
Claude Code installs this plugin but refuses to load it
hooks/hooks.json: hooks.json declares PreToolUse/PermissionRequest at its top level, outside the "hooks" object — a PreToolUse/PermissionRequest hook that cannot be loaded may be what guards the permissions declared beside it, so nothing it sits in is applied until the entry is fixed or removed
hooks/hooks.json: hooks.json declares PreToolUse/PermissionRequest at its top level, outside the "hooks" object — a PreToolUse/PermissionRequest hook that cannot be loaded may be what guards the permissions declared beside it, so nothing it sits in is applied until the entry is fixed or removed
Checked against Claude Code 2.1.332. The listing below is what the repository ships; Claude Code doesn't load it as published.
135 skills in this plugin
/a11yAccessibility. WCAG 2.1 AA/AAA, a11y audit, color contrast, keyboard navigation, screen reader, Axe, Pa11y, Lighthouse./agentAI agent development. ReAct/plan-and-execute/multi-agent architectures, tool design, memory systems, guardrails, orchestration (LangChain, LlamaIndex, CrewAI, AutoGen)./analyticsProduct analytics implementation — event tracking, funnel analysis, A/B testing, Segment/Amplitude/Mixpanel/PostHog, privacy-compliant instrumentation./angularAngular architecture. NgRx, Signals, RxJS, standalone components, lazy loading, dependency injection, Jasmine, Jest.Other plugins' skills for the same job