Files
gh-jamesrochabrun-skills-al…/skills/technical-launch-planner/scripts/generate_launch_plan.sh
2025-11-29 18:48:58 +08:00

466 lines
8.3 KiB
Bash
Executable File

#!/bin/bash
# Technical Launch Plan Generator
# Creates comprehensive launch plan document
set -e
# Colors
GREEN='\033[0;32m'
BLUE='\033[0;34m'
YELLOW='\033[1;33m'
CYAN='\033[0;36m'
NC='\033[0m'
echo -e "${BLUE}╔═══════════════════════════════════════════════╗${NC}"
echo -e "${BLUE}║ Technical Launch Plan Generator ║${NC}"
echo -e "${BLUE}╚═══════════════════════════════════════════════╝${NC}"
echo ""
# Gather information
echo -e "${YELLOW}Product/Feature Information${NC}"
echo ""
read -p "Product/Feature Name: " PRODUCT_NAME
read -p "Launch Date (YYYY-MM-DD): " LAUNCH_DATE
read -p "Launch Tier (1/2/3): " TIER
read -p "One-line Description: " DESCRIPTION
read -p "Target Audience (e.g., Backend developers, DevOps): " AUDIENCE
echo ""
OUTPUT_FILE="${PRODUCT_NAME// /_}_launch_plan.md"
# Generate plan
cat > "$OUTPUT_FILE" << EOF
# Technical Launch Plan: $PRODUCT_NAME
**Launch Date:** $LAUNCH_DATE
**Launch Tier:** Tier $TIER
**Owner:** $(whoami)
**Last Updated:** $(date +%Y-%m-%d)
---
## Executive Summary
### What We're Launching
$DESCRIPTION
### Target Audience
$AUDIENCE
### Launch Tier: Tier $TIER
EOF
# Add tier-specific details
if [ "$TIER" = "1" ]; then
cat >> "$OUTPUT_FILE" << 'EOF'
**Major Launch** - Full GTM treatment, 12-16 week timeline
### Success Criteria
- [ ] [Define target adoption metric]
- [ ] [Define engagement metric]
- [ ] [Define business/revenue metric]
---
## Timeline
### T-12 weeks: Planning Phase
**Week of [Date]**
- [ ] Launch tier confirmed
- [ ] Stakeholder kickoff meeting
- [ ] Success metrics defined
- [ ] Budget approved
- [ ] Project plan created
### T-8 weeks: Build Phase Starts
**Week of [Date]**
- [ ] Documentation outline complete
- [ ] SDK development started
- [ ] Marketing brief created
- [ ] Demo environment setup
- [ ] Beta customers identified
### T-6 weeks: Content Creation
**Week of [Date]**
- [ ] Getting started guide (first draft)
- [ ] API reference complete
- [ ] Sample apps in development
- [ ] Blog post (first draft)
- [ ] Demo video script
### T-4 weeks: Review & Refinement
**Week of [Date]**
- [ ] All docs reviewed by engineering
- [ ] SDKs in beta testing
- [ ] Demo video recorded
- [ ] Sales enablement created
- [ ] Press release draft
### T-2 weeks: Final Prep
**Week of [Date]**
- [ ] All content finalized
- [ ] Internal enablement complete
- [ ] Launch email scheduled
- [ ] Social media calendar
- [ ] Monitoring/analytics ready
### Launch Week
**Week of [Date]**
- [ ] Documentation published
- [ ] SDKs released
- [ ] Blog post live
- [ ] Email sent
- [ ] Social campaign
- [ ] PR outreach
- [ ] Launch event
### Post-Launch
**Weeks 1-4**
- [ ] Daily metrics monitoring
- [ ] Community engagement
- [ ] Follow-up content
- [ ] Feedback synthesis
- [ ] Launch retrospective
---
## Deliverables
### Documentation
- [ ] Getting started guide
- [ ] API reference
- [ ] Integration guides
- [ ] Migration guide (if applicable)
- [ ] Troubleshooting FAQ
- [ ] Video tutorials
### Code Assets
- [ ] SDK: Python
- [ ] SDK: JavaScript/Node
- [ ] SDK: [Other language]
- [ ] Sample application: [Type]
- [ ] Sample application: [Type]
- [ ] Code snippets library
- [ ] Interactive playground
### Marketing Assets
- [ ] Launch blog post
- [ ] Demo video
- [ ] Product page
- [ ] Email template
- [ ] Social media posts
- [ ] Press release
- [ ] Infographic/diagram
### Sales Enablement
- [ ] Technical battlecard
- [ ] Demo script
- [ ] FAQ/objection handling
- [ ] Pricing materials
- [ ] Customer deck
---
## Stakeholders & Owners
| Area | Owner | Status |
|------|-------|--------|
| Product Marketing | [Name] | ✓ |
| Product Management | [Name] | Pending |
| Engineering | [Name] | Pending |
| Developer Relations | [Name] | Pending |
| Sales Engineering | [Name] | Pending |
| PR/Communications | [Name] | Pending |
| Partners | [Name] | Pending |
---
## Launch Channels
### Primary
- [ ] Developer Documentation
- [ ] Product Blog
- [ ] Email (Developer List)
- [ ] Social Media
- [ ] Changelog
### Secondary
- [ ] Hacker News
- [ ] Reddit (r/programming, r/[relevant])
- [ ] Dev.to
- [ ] Product Hunt
- [ ] YouTube
### Tertiary
- [ ] Tech Press
- [ ] Podcasts
- [ ] Webinars
- [ ] Conferences
- [ ] Community Forums
EOF
elif [ "$TIER" = "2" ]; then
cat >> "$OUTPUT_FILE" << 'EOF'
**Standard Launch** - Selective GTM, 6-8 week timeline
### Success Criteria
- [ ] [Define adoption target]
- [ ] [Define engagement metric]
---
## Timeline
### T-6 weeks: Planning & Build
- [ ] Feature spec finalized
- [ ] Documentation started
- [ ] Marketing brief created
### T-4 weeks: Content Creation
- [ ] Feature docs complete
- [ ] Code samples created
- [ ] Blog post drafted
- [ ] Demo video recorded
### T-2 weeks: Review
- [ ] Engineering review complete
- [ ] Content finalized
- [ ] Email scheduled
### Launch Week
- [ ] Documentation published
- [ ] Blog post live
- [ ] Email sent
- [ ] Social posts
### Post-Launch (Weeks 1-2)
- [ ] Metrics monitoring
- [ ] Community Q&A
- [ ] Follow-up content
---
## Deliverables
### Documentation
- [ ] Feature guide
- [ ] API updates
- [ ] Code samples (3+)
- [ ] Integration guide
### Marketing
- [ ] Blog post
- [ ] Demo video
- [ ] Email announcement
- [ ] Social posts
### Sales Enablement
- [ ] Feature overview
- [ ] Demo talking points
EOF
else
cat >> "$OUTPUT_FILE" << 'EOF'
**Minor Launch** - Minimal GTM, 2-4 week timeline
### Success Criteria
- [ ] Documentation updated
- [ ] Users notified
---
## Timeline
### T-2 weeks: Prep
- [ ] Release notes drafted
- [ ] Documentation updated
### Launch Week
- [ ] Release notes published
- [ ] Changelog updated
- [ ] Notification sent
---
## Deliverables
- [ ] Release notes
- [ ] Updated documentation
- [ ] Changelog entry
- [ ] In-app notification (if applicable)
EOF
fi
# Add common sections
cat >> "$OUTPUT_FILE" << 'EOF'
---
## Success Metrics
### Activation Metrics
- **Metric:** [e.g., API key created]
- **Target:** [e.g., 1000 in Week 1]
- **Measurement:** [Dashboard link]
### Engagement Metrics
- **Metric:** [e.g., First API call made]
- **Target:** [e.g., 60% activation rate]
- **Measurement:** [Analytics]
### Retention Metrics
- **Metric:** [e.g., Day 7 retention]
- **Target:** [e.g., 40%]
- **Measurement:** [Cohort analysis]
### Business Metrics
- **Metric:** [e.g., Paid conversions]
- **Target:** [e.g., 5%]
- **Measurement:** [Revenue dashboard]
---
## Risks & Mitigation
| Risk | Impact | Probability | Mitigation |
|------|--------|------------|------------|
| Documentation not ready | High | Medium | Start docs 2 weeks earlier |
| [Add risks] | | | |
---
## Budget
| Item | Cost | Owner |
|------|------|-------|
| [e.g., PR agency] | $[amount] | [Name] |
| [e.g., Demo production] | $[amount] | [Name] |
| **Total** | **$[total]** | |
---
## Post-Launch Plan
### Week 1
- Daily metrics check
- Community Q&A
- Bug triage
### Week 2-4
- Follow-up blog posts
- Customer interviews
- Documentation refinements
### Month 2
- Case study development
- Webinar/workshop
- Integration showcases
---
## Launch Day Playbook
### Pre-Launch (Day Before)
- [ ] All assets staged
- [ ] Team briefed
- [ ] Monitoring ready
### Launch Day Morning (9 AM)
- [ ] Publish documentation
- [ ] Release packages/SDKs
- [ ] Deploy blog post
- [ ] Send email
- [ ] Post to social
### Midday (12 PM)
- [ ] Monitor metrics
- [ ] Respond to questions
- [ ] Share to communities
### Afternoon (3 PM)
- [ ] Post to HN/Reddit (if Tier 1)
- [ ] Dev advocate content
- [ ] Partner announcements
### End of Day
- [ ] Day 1 report
- [ ] Team debrief
- [ ] Issue triage
---
## Notes
[Add any additional notes, context, or decisions]
---
## Appendix
### Links
- [Project spec]
- [Design doc]
- [Marketing brief]
- [Asset folder]
EOF
echo -e "${GREEN}✓ Launch plan generated!${NC}"
echo ""
echo -e "Output: ${CYAN}$OUTPUT_FILE${NC}"
echo ""
echo -e "${YELLOW}Next steps:${NC}"
echo "1. Review and customize the plan"
echo "2. Fill in specific names, dates, and metrics"
echo "3. Share with stakeholders for review"
echo "4. Use as living document throughout launch"
echo ""
echo -e "${CYAN}Validate readiness before launch:${NC}"
echo " scripts/validate_readiness.sh"
echo ""