staged-deploy
Autonomous staged deployment pipeline with smoke tests and auto-rollback
- License 许可
- MIT
- 最近更新
- 2026-10-02
- Stars
- ★ 9
- Forks
- 1
01 前言 Front Matter
- name
- staged-deploy
- description
- Autonomous staged deployment pipeline with smoke tests and auto-rollback
02 资源文件 5
- 参考文档agent-prompt.md—
- 参考文档anti-patterns.md—
- 参考文档checklist.md—
- 参考文档implementation-patterns.md—
- 参考文档validation.md—
03 SKILL.md 正文
Staged Deployment Pipeline
Phase 1: Pre-Deploy
- Run verification checklist against current production as baseline
- Check Docker volume permissions (nodeuser ownership, not root)
- Validate all environment variables and API keys
- Verify SendGrid sender identity matches config
Phase 2: Deploy to Staging
Run deploy script, then spawn parallel smoke-test agents:
- Agent A: Auth flows (login, OTP, magic links, SSO)
- Agent B: Storefront (checkout, cart, course pages)
- Agent C: API endpoints (CORS headers, X-Frame-Options, route health)
- Agent D: Embed widgets and WhatsApp bot responses
Phase 3: Decision
- If any agent reports failures: diagnose root cause, attempt fix, re-test
- After 3 failed fix attempts on any issue: halt and produce incident report
- Never deploy to production with known failures
Phase 4: Production
- Deploy to production
- Re-run all smoke tests
- Generate complete handoff document with changelog, test results, rollback instructions
- Save to persistent memory files
- Do not override existing docs — only improve and update
04 同仓库更多 Skills
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment
writing-plans
Use when you have a spec or requirements for a multi-step task, before touching code
docs:write-concisely
Apply writing rules to any documentation that humans will read. Makes your writing clearer, stronger, and more professional.
kaizen:why
Iterative Five Whys root cause analysis drilling from symptoms to fundamentals
verification-loop
A comprehensive verification system for Claude Code sessions.
verification-before-completion
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always