Production Readiness Generator
Goal
Create a comprehensive pre-launch checklist that outlines all user stories, acceptance criteria, and smoke tests that must pass before deploying to production.
Input Sources
- PRD File - Generate from
docs/prds/[n]-prd-*.md
- Feature Description - Generate from verbal description
- Existing User Stories - Extract from project documentation
Output
- Format: Markdown (
.md)
- Location:
docs/testplans/
- Filename:
production-readiness-[feature-name].md
Process
Phase 1: Context Gathering
Identify Input Source
- Check if user provided PRD, feature description, or reference to existing docs
- If PRD: read and analyze user stories and acceptance criteria
- If description: extract key functionality
- If existing: scan docs for user story patterns
GATE: Production Environment Confirmation
Ask the user:
This checklist is for PRODUCTION deployment validation.
Please confirm:
1. What is the current production environment? (URL, platform)
2. When is the planned go-live date?
3. Who is responsible for production deployment?
4. What is the rollback procedure if issues are found?
Do NOT proceed without explicit confirmation.
Gather Production Context
Additional production context needed:
1. What is the user impact of this feature? (all users, subset, opt-in)
2. Are there any compliance requirements? (GDPR, HIPAA, SOC2, etc.)
3. What are the SLAs/performance requirements?
4. What monitoring/alerting is in place?
Phase 2: User Story Extraction
Map All User Stories
Extract or generate complete set of user stories:
From PRD/Documentation:
- Scan for "As a [user], I want [action], so that [benefit]" patterns
- Extract acceptance criteria from requirements sections
- Identify edge cases and error scenarios
Generate if needed:
- Primary user flows (happy path)
- Edge cases and error handling
- Performance and scale scenarios
- Security and compliance scenarios
- Rollback and recovery scenarios
Categorize User Stories
Group by:
- Critical - Must work for launch (blocking)
- Important - Should work for launch (high priority)
- Nice-to-have - Can work after launch (non-blocking)
Phase 3: Generate Acceptance Criteria
Define Acceptance Criteria for Each Story
For each user story, create specific, testable criteria:
### User Story: [Title]
**As a** [user type]
**I want** [action]
**So that** [benefit]
**Priority:** Critical | Important | Nice-to-have
**Acceptance Criteria:**
- [ ] [Specific, measurable criterion 1]
- [ ] [Specific, measurable criterion 2]
- [ ] [Error handling criterion]
- [ ] [Performance criterion]
**Test Steps:**
1. [Step 1]
2. [Step 2]
3. [Expected outcome]
**Dependencies:**
- [Service, API, or feature this depends on]
Add Production-Specific Criteria
For each story, add:
- Performance: Response times, load handling
- Security: Authentication, authorization, data protection
- Monitoring: What metrics/logs to check
- Rollback: How to undo if this fails
Phase 4: Generate Production Smoke Tests
Create Smoke Test Checklist
## Production Smoke Tests
Run these tests IMMEDIATELY after deployment:
### 1. Core Functionality
- [ ] [Critical path 1]: [Expected outcome]
- [ ] [Critical path 2]: [Expected outcome]
### 2. Authentication & Authorization
- [ ] Login works for all user types
- [ ] Permissions are enforced correctly
- [ ] Session management working
### 3. Data Integrity
- [ ] Data reads correctly from production DB
- [ ] Data writes successfully
- [ ] No data corruption or loss
### 4. Integrations
- [ ] External API calls succeed
- [ ] Webhook deliveries working
- [ ] Third-party services responding
### 5. Performance
- [ ] Page load times < [X]ms
- [ ] API response times < [Y]ms
- [ ] No memory leaks or resource exhaustion
### 6. Monitoring & Alerting
- [ ] Metrics being collected
- [ ] Logs flowing correctly
- [ ] Alerts configured and firing appropriately
Phase 5: Generate Rollback Plan
Document Rollback Procedures
## Rollback Plan
If critical issues are found during validation:
### Rollback Decision Criteria
- [ ] Critical user story failed
- [ ] Data integrity compromised
- [ ] Security vulnerability detected
- [ ] Performance degradation > [X]%
- [ ] [Other criterion]
### Rollback Steps
1. [Command or process to rollback deployment]
2. [Verification step to confirm rollback]
3. [Communication plan - who to notify]
4. [Post-rollback validation]
### Post-Rollback Actions
- Document what failed and why
- Create incident report
- Plan fix and re-deployment
Phase 6: Review & Save
Present Draft to User
I've generated a production readiness checklist with:
- [N] user stories categorized by priority
- [N] acceptance criteria across all stories
- Production smoke tests
- Rollback plan
Review for completeness before I save.
Save Production Readiness Checklist
Save to docs/testplans/production-readiness-[feature-name].md
Summarize Next Steps
Production readiness checklist created at:
docs/testplans/production-readiness-[feature-name].md
Next steps:
1. Review with product owner and stakeholders
2. Execute all critical user story tests in staging
3. Run production smoke tests after deployment
4. Have rollback plan ready
5. Monitor production metrics during and after launch
Output Format Template
# Production Readiness: [Feature Name]
**Generated:** YYYY-MM-DD
**Target Launch Date:** YYYY-MM-DD
**Responsible Team:** [Team name]
**Production Environment:** [URL or platform]
---
## Executive Summary
**Feature Overview:** [Brief description]
**User Impact:** [Who is affected and how]
**Go/No-Go Criteria:** [What must pass for launch]
---
## User Stories & Acceptance Criteria
### Critical Stories (Must Pass for Launch)
#### 1. [User Story Title]
**As a** [user type]
**I want** [action]
**So that** [benefit]
**Acceptance Criteria:**
- [ ] [Criterion 1]
- [ ] [Criterion 2]
**Test Steps:**
1. [Step 1]
2. [Expected outcome]
**Dependencies:** [List]
---
### Important Stories (High Priority)
[Repeat format]
---
### Nice-to-Have Stories (Can Launch Without)
[Repeat format]
---
## Production Smoke Tests
Run immediately after deployment:
### Core Functionality
- [ ] [Test 1]
- [ ] [Test 2]
### Authentication & Authorization
- [ ] [Test 1]
### Data Integrity
- [ ] [Test 1]
### Integrations
- [ ] [Test 1]
### Performance
- [ ] [Test 1]
### Monitoring
- [ ] [Test 1]
---
## Rollback Plan
### Rollback Decision Criteria
- [ ] [Criterion 1]
### Rollback Steps
1. [Step 1]
### Post-Rollback Actions
- [Action 1]
---
## Sign-Off
- [ ] All critical user stories tested and passed
- [ ] Production smoke tests executed and passed
- [ ] Monitoring and alerting verified
- [ ] Rollback plan reviewed and ready
- [ ] Stakeholder approval obtained
**Ready for Production:** ☐ Yes ☐ No
**Sign-Off By:**
- Product Owner: _________________ Date: _______
- Engineering Lead: _________________ Date: _______
- QA Lead: _________________ Date: _______
---
*Production readiness checklist generated by agentbootup*
Key Principles
- Production-Focused: Every test must be relevant to production validation
- No Arbitrary Timeframes: Focus on criteria that must pass, not when testing happens
- Actionable Checklist: Every item should be testable and have clear pass/fail
- Risk-Aware: Prioritize by criticality and user impact
- Rollback-Ready: Always have a plan to undo if issues are found
Integration with Other Skills
- After prd-writer: Generate production readiness from PRD
- Before deployment: Use as pre-launch checklist
- With test-plan-generator: test-plan-generator is for feature E2E testing; production-readiness is for launch validation
- With runbook-generator: Reference production smoke tests in operational runbook
Target Audience
- Product owners deciding if feature is ready to launch
- QA teams validating production readiness
- Engineering leads signing off on deployments
- Stakeholders assessing go/no-go decisions
1---2name: production-readiness3description: Generate comprehensive pre-launch checklist of user stories, acceptance criteria, and smoke tests to validate before going live in production.4---56# Production Readiness Generator78## Goal9Create a comprehensive pre-launch checklist that outlines all user stories, acceptance criteria, and smoke tests that must pass before deploying to production.1011## Input Sources12- **PRD File** - Generate from `docs/prds/[n]-prd-*.md`13- **Feature Description** - Generate from verbal description14- **Existing User Stories** - Extract from project documentation1516## Output17- **Format:** Markdown (`.md`)18- **Location:** `docs/testplans/`19- **Filename:** `production-readiness-[feature-name].md`2021---2223## Process2425### Phase 1: Context Gathering26271. **Identify Input Source**28 - Check if user provided PRD, feature description, or reference to existing docs29 - If PRD: read and analyze user stories and acceptance criteria30 - If description: extract key functionality31 - If existing: scan docs for user story patterns32332. **GATE: Production Environment Confirmation**34 Ask the user:35 ```36 This checklist is for PRODUCTION deployment validation.3738 Please confirm:39 1. What is the current production environment? (URL, platform)40 2. When is the planned go-live date?41 3. Who is responsible for production deployment?42 4. What is the rollback procedure if issues are found?4344 Do NOT proceed without explicit confirmation.45 ```46473. **Gather Production Context**48 ```49 Additional production context needed:50 1. What is the user impact of this feature? (all users, subset, opt-in)51 2. Are there any compliance requirements? (GDPR, HIPAA, SOC2, etc.)52 3. What are the SLAs/performance requirements?53 4. What monitoring/alerting is in place?54 ```5556### Phase 2: User Story Extraction57584. **Map All User Stories**5960 Extract or generate complete set of user stories:6162 **From PRD/Documentation:**63 - Scan for "As a [user], I want [action], so that [benefit]" patterns64 - Extract acceptance criteria from requirements sections65 - Identify edge cases and error scenarios6667 **Generate if needed:**68 - Primary user flows (happy path)69 - Edge cases and error handling70 - Performance and scale scenarios71 - Security and compliance scenarios72 - Rollback and recovery scenarios73745. **Categorize User Stories**7576 Group by:77 - **Critical** - Must work for launch (blocking)78 - **Important** - Should work for launch (high priority)79 - **Nice-to-have** - Can work after launch (non-blocking)8081### Phase 3: Generate Acceptance Criteria82836. **Define Acceptance Criteria for Each Story**8485 For each user story, create specific, testable criteria:8687 ```markdown88 ### User Story: [Title]89 **As a** [user type]90 **I want** [action]91 **So that** [benefit]9293 **Priority:** Critical | Important | Nice-to-have9495 **Acceptance Criteria:**96 - [ ] [Specific, measurable criterion 1]97 - [ ] [Specific, measurable criterion 2]98 - [ ] [Error handling criterion]99 - [ ] [Performance criterion]100101 **Test Steps:**102 1. [Step 1]103 2. [Step 2]104 3. [Expected outcome]105106 **Dependencies:**107 - [Service, API, or feature this depends on]108 ```1091107. **Add Production-Specific Criteria**111112 For each story, add:113 - **Performance:** Response times, load handling114 - **Security:** Authentication, authorization, data protection115 - **Monitoring:** What metrics/logs to check116 - **Rollback:** How to undo if this fails117118### Phase 4: Generate Production Smoke Tests1191208. **Create Smoke Test Checklist**121122 ```markdown123 ## Production Smoke Tests124125 Run these tests IMMEDIATELY after deployment:126127 ### 1. Core Functionality128 - [ ] [Critical path 1]: [Expected outcome]129 - [ ] [Critical path 2]: [Expected outcome]130131 ### 2. Authentication & Authorization132 - [ ] Login works for all user types133 - [ ] Permissions are enforced correctly134 - [ ] Session management working135136 ### 3. Data Integrity137 - [ ] Data reads correctly from production DB138 - [ ] Data writes successfully139 - [ ] No data corruption or loss140141 ### 4. Integrations142 - [ ] External API calls succeed143 - [ ] Webhook deliveries working144 - [ ] Third-party services responding145146 ### 5. Performance147 - [ ] Page load times < [X]ms148 - [ ] API response times < [Y]ms149 - [ ] No memory leaks or resource exhaustion150151 ### 6. Monitoring & Alerting152 - [ ] Metrics being collected153 - [ ] Logs flowing correctly154 - [ ] Alerts configured and firing appropriately155 ```156157### Phase 5: Generate Rollback Plan1581599. **Document Rollback Procedures**160161 ```markdown162 ## Rollback Plan163164 If critical issues are found during validation:165166 ### Rollback Decision Criteria167 - [ ] Critical user story failed168 - [ ] Data integrity compromised169 - [ ] Security vulnerability detected170 - [ ] Performance degradation > [X]%171 - [ ] [Other criterion]172173 ### Rollback Steps174 1. [Command or process to rollback deployment]175 2. [Verification step to confirm rollback]176 3. [Communication plan - who to notify]177 4. [Post-rollback validation]178179 ### Post-Rollback Actions180 - Document what failed and why181 - Create incident report182 - Plan fix and re-deployment183 ```184185### Phase 6: Review & Save18618710. **Present Draft to User**188 ```189 I've generated a production readiness checklist with:190 - [N] user stories categorized by priority191 - [N] acceptance criteria across all stories192 - Production smoke tests193 - Rollback plan194195 Review for completeness before I save.196 ```19719811. **Save Production Readiness Checklist**199 Save to `docs/testplans/production-readiness-[feature-name].md`20020112. **Summarize Next Steps**202 ```203 Production readiness checklist created at:204 docs/testplans/production-readiness-[feature-name].md205206 Next steps:207 1. Review with product owner and stakeholders208 2. Execute all critical user story tests in staging209 3. Run production smoke tests after deployment210 4. Have rollback plan ready211 5. Monitor production metrics during and after launch212 ```213214---215216## Output Format Template217218```markdown219# Production Readiness: [Feature Name]220221**Generated:** YYYY-MM-DD222**Target Launch Date:** YYYY-MM-DD223**Responsible Team:** [Team name]224**Production Environment:** [URL or platform]225226---227228## Executive Summary229230**Feature Overview:** [Brief description]231**User Impact:** [Who is affected and how]232**Go/No-Go Criteria:** [What must pass for launch]233234---235236## User Stories & Acceptance Criteria237238### Critical Stories (Must Pass for Launch)239240#### 1. [User Story Title]241**As a** [user type]242**I want** [action]243**So that** [benefit]244245**Acceptance Criteria:**246- [ ] [Criterion 1]247- [ ] [Criterion 2]248249**Test Steps:**2501. [Step 1]2512. [Expected outcome]252253**Dependencies:** [List]254255---256257### Important Stories (High Priority)258259[Repeat format]260261---262263### Nice-to-Have Stories (Can Launch Without)264265[Repeat format]266267---268269## Production Smoke Tests270271Run immediately after deployment:272273### Core Functionality274- [ ] [Test 1]275- [ ] [Test 2]276277### Authentication & Authorization278- [ ] [Test 1]279280### Data Integrity281- [ ] [Test 1]282283### Integrations284- [ ] [Test 1]285286### Performance287- [ ] [Test 1]288289### Monitoring290- [ ] [Test 1]291292---293294## Rollback Plan295296### Rollback Decision Criteria297- [ ] [Criterion 1]298299### Rollback Steps3001. [Step 1]301302### Post-Rollback Actions303- [Action 1]304305---306307## Sign-Off308309- [ ] All critical user stories tested and passed310- [ ] Production smoke tests executed and passed311- [ ] Monitoring and alerting verified312- [ ] Rollback plan reviewed and ready313- [ ] Stakeholder approval obtained314315**Ready for Production:** ☐ Yes ☐ No316317**Sign-Off By:**318- Product Owner: _________________ Date: _______319- Engineering Lead: _________________ Date: _______320- QA Lead: _________________ Date: _______321322---323324*Production readiness checklist generated by agentbootup*325```326327---328329## Key Principles330331- **Production-Focused:** Every test must be relevant to production validation332- **No Arbitrary Timeframes:** Focus on criteria that must pass, not when testing happens333- **Actionable Checklist:** Every item should be testable and have clear pass/fail334- **Risk-Aware:** Prioritize by criticality and user impact335- **Rollback-Ready:** Always have a plan to undo if issues are found336337---338339## Integration with Other Skills340341- **After prd-writer:** Generate production readiness from PRD342- **Before deployment:** Use as pre-launch checklist343- **With test-plan-generator:** test-plan-generator is for feature E2E testing; production-readiness is for launch validation344- **With runbook-generator:** Reference production smoke tests in operational runbook345346---347348## Target Audience349350- Product owners deciding if feature is ready to launch351- QA teams validating production readiness352- Engineering leads signing off on deployments353- Stakeholders assessing go/no-go decisions