[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CWJAQZ3D04JEJ354H0MNWG":3,"skill-same:01M6CWJAQZ3D04JEJ354H0MNWG":56},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":29,"linkOnly":30,"markdownContent":31,"markdownBody":32,"frontMatter":33,"refName":36,"commitSha":37,"skillDirectory":5,"forksCount":38,"repositoryHtmlUrl":39,"repositoryHomepageUrl":6,"ownerHtmlUrl":40,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":41,"install":42,"resources":55},"01M6CWJAQZ3D04JEJ354H0MNWG","blue-green-deployments",null,"Zero-downtime deployment strategy","ffsshhttiikk\u002Fopencode-agents-skills","ffsshhttiikk","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F226346827?v=4","01M6CWD9RR3Y7VRQX3MXYC8FYH","01M6CWD9WVPYAZW0J82G1VKGHY",3,"MIT","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fblue-green-deployments\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28],"deployments","green","blue green deployments","deployment","ZeRO","strategy","devops","opencode","engineer","zero-downtime","deployment strategy","2026-11-10 10:12:30",false,"---\nname: blue-green-deployments\ndescription: Zero-downtime deployment strategy\nlicense: MIT\ncompatibility: opencode\nmetadata:\n  audience: devops-engineer, platform-engineer\n  category: devops\n---\n\n## What I do\n\n- Implement blue-green deployment strategies for zero-downtime releases\n- Manage parallel production environments (blue = active, green = standby)\n- Coordinate traffic switching between environments\n- Design rollback mechanisms for rapid recovery\n- Automate the entire blue-green deployment workflow\n- Monitor both environments during and after deployment\n\n## When to use me\n\n- When you need zero-downtime deployments for critical applications\n- When you want to validate new releases in production-like environments\n- When rapid rollback capability is a requirement\n- When deploying applications that can't tolerate rolling updates\n- When you need to test infrastructure changes alongside application changes\n- When compliance requires production-like testing before full rollout\n\n## Key Concepts\n\n### Architecture Overview\n\n```\n┌─────────────────┐     ┌─────────────────┐\n│   Load Balancer │     │   Load Balancer │\n│   (Active Blue) │     │   (Standby Green)│\n└────────┬────────┘     └────────┬────────┘\n         │                       │\n    ┌────▼────┐             ┌────▼────┐\n    │ Blue    │             │ Green   │\n    │ v1.0    │             │ v1.1    │\n    │ (Live)  │◄──Switch───►│ (Test)  │\n    └─────────┘             └─────────┘\n```\n\n### Implementation with Docker Compose\n\n```yaml\n# docker-compose.blue.yml\nservices:\n  app:\n    image: myapp:blue\n    ports:\n      - \"8080:8080\"\n\n# docker-compose.green.yml\nservices:\n  app:\n    image: myapp:green\n    ports:\n      - \"8081:8080\"\n```\n\n### Traffic Switching Script\n\n```bash\n#!\u002Fbin\u002Fbash\n# Switch traffic from blue to green\n\n# Health check green environment\nif curl -sf http:\u002F\u002Fgreen.example.com\u002Fhealth > \u002Fdev\u002Fnull; then\n    # Update load balancer to point to green\n    aws elbv2 modify-listener \\\n        --listener-arn $LISTENER_ARN \\\n        --default-actions Type=forward,TargetGroupArn=$GREEN_TARGET_GROUP\n    \n    echo \"Traffic switched to green environment\"\n    \n    # Keep blue running for rollback\n    echo \"Blue environment preserved for rollback\"\nelse\n    echo \"Green environment health check failed\"\n    exit 1\nfi\n```\n\n### Key Benefits\n\n- **Instant Rollback**: Switch back to previous version in seconds\n- **Zero Downtime**: Users experience no interruption during deployment\n- **Full Testing**: Validate new version in production before full rollout\n- **Environment Parity**: Both environments use identical infrastructure\n- **Risk Mitigation**: Isolate deployment risks from users\n\n### Important Considerations\n\n- Both environments must be fully provisioned and ready\n- Database schema changes require careful backward compatibility planning\n- Session state management must work across both environments\n- Consider cost implications of running two complete environments\n- Implement proper health checks before and after switching traffic\n","## What I do\n\n- Implement blue-green deployment strategies for zero-downtime releases\n- Manage parallel production environments (blue = active, green = standby)\n- Coordinate traffic switching between environments\n- Design rollback mechanisms for rapid recovery\n- Automate the entire blue-green deployment workflow\n- Monitor both environments during and after deployment\n\n## When to use me\n\n- When you need zero-downtime deployments for critical applications\n- When you want to validate new releases in production-like environments\n- When rapid rollback capability is a requirement\n- When deploying applications that can't tolerate rolling updates\n- When you need to test infrastructure changes alongside application changes\n- When compliance requires production-like testing before full rollout\n\n## Key Concepts\n\n### Architecture Overview\n\n```\n┌─────────────────┐     ┌─────────────────┐\n│   Load Balancer │     │   Load Balancer │\n│   (Active Blue) │     │   (Standby Green)│\n└────────┬────────┘     └────────┬────────┘\n         │                       │\n    ┌────▼────┐             ┌────▼────┐\n    │ Blue    │             │ Green   │\n    │ v1.0    │             │ v1.1    │\n    │ (Live)  │◄──Switch───►│ (Test)  │\n    └─────────┘             └─────────┘\n```\n\n### Implementation with Docker Compose\n\n```yaml\n# docker-compose.blue.yml\nservices:\n  app:\n    image: myapp:blue\n    ports:\n      - \"8080:8080\"\n\n# docker-compose.green.yml\nservices:\n  app:\n    image: myapp:green\n    ports:\n      - \"8081:8080\"\n```\n\n### Traffic Switching Script\n\n```bash\n#!\u002Fbin\u002Fbash\n# Switch traffic from blue to green\n\n# Health check green environment\nif curl -sf http:\u002F\u002Fgreen.example.com\u002Fhealth > \u002Fdev\u002Fnull; then\n    # Update load balancer to point to green\n    aws elbv2 modify-listener \\\n        --listener-arn $LISTENER_ARN \\\n        --default-actions Type=forward,TargetGroupArn=$GREEN_TARGET_GROUP\n    \n    echo \"Traffic switched to green environment\"\n    \n    # Keep blue running for rollback\n    echo \"Blue environment preserved for rollback\"\nelse\n    echo \"Green environment health check failed\"\n    exit 1\nfi\n```\n\n### Key Benefits\n\n- **Instant Rollback**: Switch back to previous version in seconds\n- **Zero Downtime**: Users experience no interruption during deployment\n- **Full Testing**: Validate new version in production before full rollout\n- **Environment Parity**: Both environments use identical infrastructure\n- **Risk Mitigation**: Isolate deployment risks from users\n\n### Important Considerations\n\n- Both environments must be fully provisioned and ready\n- Database schema changes require careful backward compatibility planning\n- Session state management must work across both environments\n- Consider cost implications of running two complete environments\n- Implement proper health checks before and after switching traffic\n",{"name":5,"license":14,"metadata":34,"description":7,"compatibility":25},{"audience":35,"category":24},"devops-engineer, platform-engineer","main","5f7a3e453c98261f93d19a6a7de44ad8f7b72d41",2,"https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk","2026-03-01 06:55:40",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add ffsshhttiikk\u002Fopencode-agents-skills --skill blue-green-deployments",{"tool":48,"command":49},"bunx","bunx skills add ffsshhttiikk\u002Fopencode-agents-skills --skill blue-green-deployments",{"tool":51,"command":52},"pnpm","pnpm dlx skills add ffsshhttiikk\u002Fopencode-agents-skills --skill blue-green-deployments","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fblue-green-deployments\u002FSKILL.md",true,[],[57,68,78,87,97,106],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":29},"01M6CXT9TXDF79BWJTMQAPB49G","xamarin","Xamarin cross-platform development","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fxamarin\u002FSKILL.md",[],[59,64,65,66,25,67],"platform","cross-platform","mobile","development",{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":29},"01M6CXT8AD04MFYDA32VW3FKAG","wrangling","Data wrangling fundamentals","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwrangling\u002FSKILL.md",[],[70,75,25,76,77],"data wrangling","science","data",{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":29},"01M6CXT717GCN7SRRNPBDP4508","windows","Windows operating system administration and scripting","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwindows\u002FSKILL.md",[],[80,85,25,86],"system","scripting",{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":29},"01M6CXT54K794NMEM3XAPZZDKT","wide-column","Wide-column data model","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwide-column\u002FSKILL.md",[],[94,95,25,96,77],"wide column","databases","model",{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":29},"01M6CXT28FMT2P4V9GZE67WA8E","wide-column-stores","Wide-column database stores","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwide-column-stores\u002FSKILL.md",[],[104,95,25,105],"wide column stores","database",{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":29},"01M6CXT0D0M0Q4T2N7C2RX7DSN","websockets","WebSocket implementation and best practices","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwebsockets\u002FSKILL.md",[],[108,113,114,115,25,116,117],"websocket","real-time","time","best practices","implementation"]