/prd-v08-release-planning
Define release criteria, deployment environments, and rollback strategies during PRD v0.8 Deployment & Ops. Triggers on requests to plan releases, define deployment criteria, or when user asks "how do we deploy?", "release criteria", "deployment plan", "rollback strategy",
$ npx -y skills add mattgierhart/PRD-driven-context-engineering --skill prd-v08-release-planning --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/prd-v08-release-planning
Context preview
The summary Claude sees to decide when to auto-load this skill.
Define release criteria, deployment environments, and rollback strategies during PRD v0.8 Deployment & Ops. Triggers on requests to plan releases, define deployment criteria, or when user asks "how do we deploy?", "release criteria", "deployment plan", "rollback strategy",
SKILL.md
prd-v08-release-planning.SKILL.mdname: prd-v08-release-planning
description: >
Define release criteria, deployment environments, and rollback strategies during PRD v0.8 Deployment & Ops.
Triggers on requests to plan releases, define deployment criteria, or when user asks "how do we deploy?",
"release criteria", "deployment plan", "rollback strategy", "go-live checklist".
Outputs DEP- entries with deployment steps and release criteria.
context: fork
allowed-tools:
- Read
- Write
- Edit
- Glob
- Grep
- Bash
execution_modes:
default: standard
supports: [quick, standard, deep]
Release Planning
Position in workflow: v0.7 Implementation Loop → **v0.8 Release Planning** → v0.8 Runbook Creation
Execution Mode
Default is **standard**. See [`.claude/rules/08-skill-execution-modes.md`](../../rules/08-skill-execution-modes.md) for selection logic.
| Mode | What this skill produces | |------|--------------------------| | **quick** | Staging→prod only; 3–5 release criteria; one rollback trigger | | **standard** | Dev/staging/preview/prod environments; full criteria checklist; multiple rollback triggers; post-deploy validation | | **deep** | Full environments + IaC review + canary/blue-green strategy + risk-weighted criteria + post-mortem hooks |
Consumes
This skill requires prior work from v0.7 Implementation Loop and v0.6-v0.9:
- **EPIC-\* completed entries** (from v0.7 Implementation Loop) — Finished work packages define what's being released; must have State=Complete, all TEST- passing
- **TEST-\* test entries** (from v0.7 Test Planning) — All TEST- must pass in staging before release criteria can be met
- **API-\* endpoint contracts** (referenced in EPIC Context & IDs) — Define SLA and performance baselines for release criteria
- **ENV-\* environment specifications** (from v0.6 Environment Setup) — Local/CI/CD/production configurations inform DEP- entries for each environment
- **ARC-\* architecture decisions** (from v0.6 Architecture Design) — System structure (monolith, microservices, deployment topology) drives environment setup
- **TECH-\* technology stack** (from v0.5 Technical Stack Selection) — Technology choices inform infrastructure requirements and deployment tooling
- **RISK-\* high-priority entries** (from v0.5 Risk Discovery) — High RISK- must be mitigated or explicitly accepted before release
- **KPI-\* metrics** (from v0.3 and v0.9) — Target KPI values inform monitoring baselines and rollback thresholds
This skill assumes v0.7 Implementation is complete with all EPIC- entries marked Complete and all TEST- passing.
Produces
This skill creates/updates:
- **DEP-\* entries** (deployment specifications, environment/criteria/rollback/validation types) — Release readiness checklist with environment configs, go/no-go criteria, rollback triggers and thresholds, post-deploy validation steps
- **Release readiness checklist** — Pre-deploy validation matrix showing which DEP- criteria must be met before release proceeds
- **Rollback decision tree** — Mapping of DEP- rollback triggers to execution procedures and escalation paths (feeds v0.8 Runbook Creation)
All DEP- entries are **operational contracts**, not confidence-based. They are:
- **Environment-specific** (each environment from staging to production has defined configuration)
- **Verifiable** (each criterion has a concrete check or metric threshold)
- **Enforceable** (release stops if DEP- criteria not met)
- **Traceable** (each DEP- links to EPIC-, TEST-, API-, KPI- that validate it)
Example DEP- entries:
DEP-001: Production Environment Configuration
Type: Environment
Stage: Pre-deploy
Description: AWS production environment setup for application
Name: production
Infrastructure: AWS us-east-1, ECS Fargate, RDS PostgreSQL
Configuration:
- NODE_ENV=production
- LOG_LEVEL=info
- RATE_LIMIT=100/min
- METRICS_COLLECTION=enabled
Secrets: AWS Secrets Manager, rotated monthly
Access: DevOps team (deploy), On-call (read-only access)
Linked IDs: ARC-001 (monolith structure), TECH-005 (AWS)
---
DEP-002: All Tests Pass in Staging
Type: Criteria
Stage: Pre-deploy
Description: Complete test suite must pass in staging environment before production release
Requirement: All TEST- entries pass with >95% success rate, including smoke tests and E2E tests
Verification: CI/CD pipeline reports green; test report generated and reviewed
Blocker: Yes — Release cannot proceed if this fails
Owner: QA Lead
Linked IDs: TEST-001 to TEST-050 (from EPIC-01 through EPIC-07)
---
DEP-003: Error Rate Rollback Trigger
Type: Rollback
Stage: Post-deploy
Description: Automatic rollback if error rate exceeds baseline post-deployment
Trigger: 5xx error rate exceeds pre-deployment baseline
Threshold: >2% of requests for 5 minutes (currently 0.5% baseline from MON-001)
Procedure:
1. Alert on-call engineer (PagerDuty)
2. Pause traffic to new version
3. Revert to pre-deploy git tag
4. Investigate root cause
Notification: #incidents Slack, PagerDuty, Engineering Lead
Linked IDs: MON-001 (error rate metric), RUN-002 (rollback procedure), API-001–020 (endpoints affected)
---
DEP-004: Post-Deployment Smoke Tests
Type: Validation
Stage: Post-deploy
Description: Automated smoke tests to verify critical user journeys work post-deployment
Check: All critical UJ- (UJ-000, UJ-001, UJ-005, UJ-010) complete successfully
Method: Automated (tests/e2e/smoke.spec.ts) + manual spot-check
Success Criteria: All journeys complete <2 seconds, no auth failures, data persists
Escalation: If smoke tests fail, execute DEP-003 rollback and investigate
Linked IDs: UJ-000/001/005/010 (critical journeys), TEST-050 (E2E suite)
Core Concept: Release as Contract
> A release is not "code that works locally." It is a **contract** between development and operations—a formal handoff that includes everything needed to deploy, validate, and recover.
Release Components
| Component | Purpose | Output | |-----------|---------|--------| | **Depl
Read more
name: prd-v08-release-planning description: > Define release criteria, deployment environments, and rollback strategies during PRD v0.8 Deployment & Ops. Triggers on requests to plan releases, define deployment criteria, or when user asks "how do we deploy?", "release criteria", "deployment plan", "rollback strategy", "go-live checklist". Outputs DEP- entries with deployment steps and release criteria. context: fork allowed-tools: - Read - Write - Edit - Glob - Grep - Bash execution_modes: default: standard supports: [quick, standard, deep]
Release Planning
Position in workflow: v0.7 Implementation Loop → **v0.8 Release Planning** → v0.8 Runbook Creation
Execution Mode
Default is **standard**. See [`.claude/rules/08-skill-execution-modes.md`](../../rules/08-skill-execution-modes.md) for selection logic.
| Mode | What this skill produces | |------|--------------------------| | **quick** | Staging→prod only; 3–5 release criteria; one rollback trigger | | **standard** | Dev/staging/preview/prod environments; full criteria checklist; multiple rollback triggers; post-deploy validation | | **deep** | Full environments + IaC review + canary/blue-green strategy + risk-weighted criteria + post-mortem hooks |
Consumes
This skill requires prior work from v0.7 Implementation Loop and v0.6-v0.9:
- **EPIC-\* completed entries** (from v0.7 Implementation Loop) — Finished work packages define what's being released; must have State=Complete, all TEST- passing
- **TEST-\* test entries** (from v0.7 Test Planning) — All TEST- must pass in staging before release criteria can be met
- **API-\* endpoint contracts** (referenced in EPIC Context & IDs) — Define SLA and performance baselines for release criteria
- **ENV-\* environment specifications** (from v0.6 Environment Setup) — Local/CI/CD/production configurations inform DEP- entries for each environment
- **ARC-\* architecture decisions** (from v0.6 Architecture Design) — System structure (monolith, microservices, deployment topology) drives environment setup
- **TECH-\* technology stack** (from v0.5 Technical Stack Selection) — Technology choices inform infrastructure requirements and deployment tooling
- **RISK-\* high-priority entries** (from v0.5 Risk Discovery) — High RISK- must be mitigated or explicitly accepted before release
- **KPI-\* metrics** (from v0.3 and v0.9) — Target KPI values inform monitoring baselines and rollback thresholds
This skill assumes v0.7 Implementation is complete with all EPIC- entries marked Complete and all TEST- passing.
Produces
This skill creates/updates:
- **DEP-\* entries** (deployment specifications, environment/criteria/rollback/validation types) — Release readiness checklist with environment configs, go/no-go criteria, rollback triggers and thresholds, post-deploy validation steps
- **Release readiness checklist** — Pre-deploy validation matrix showing which DEP- criteria must be met before release proceeds
- **Rollback decision tree** — Mapping of DEP- rollback triggers to execution procedures and escalation paths (feeds v0.8 Runbook Creation)
All DEP- entries are **operational contracts**, not confidence-based. They are:
- **Environment-specific** (each environment from staging to production has defined configuration)
- **Verifiable** (each criterion has a concrete check or metric threshold)
- **Enforceable** (release stops if DEP- criteria not met)
- **Traceable** (each DEP- links to EPIC-, TEST-, API-, KPI- that validate it)
Example DEP- entries:
DEP-001: Production Environment Configuration Type: Environment Stage: Pre-deploy Description: AWS production environment setup for application Name: production Infrastructure: AWS us-east-1, ECS Fargate, RDS PostgreSQL Configuration: - NODE_ENV=production - LOG_LEVEL=info - RATE_LIMIT=100/min - METRICS_COLLECTION=enabled Secrets: AWS Secrets Manager, rotated monthly Access: DevOps team (deploy), On-call (read-only access) Linked IDs: ARC-001 (monolith structure), TECH-005 (AWS) --- DEP-002: All Tests Pass in Staging Type: Criteria Stage: Pre-deploy Description: Complete test suite must pass in staging environment before production release Requirement: All TEST- entries pass with >95% success rate, including smoke tests and E2E tests Verification: CI/CD pipeline reports green; test report generated and reviewed Blocker: Yes — Release cannot proceed if this fails Owner: QA Lead Linked IDs: TEST-001 to TEST-050 (from EPIC-01 through EPIC-07) --- DEP-003: Error Rate Rollback Trigger Type: Rollback Stage: Post-deploy Description: Automatic rollback if error rate exceeds baseline post-deployment Trigger: 5xx error rate exceeds pre-deployment baseline Threshold: >2% of requests for 5 minutes (currently 0.5% baseline from MON-001) Procedure: 1. Alert on-call engineer (PagerDuty) 2. Pause traffic to new version 3. Revert to pre-deploy git tag 4. Investigate root cause Notification: #incidents Slack, PagerDuty, Engineering Lead Linked IDs: MON-001 (error rate metric), RUN-002 (rollback procedure), API-001–020 (endpoints affected) --- DEP-004: Post-Deployment Smoke Tests Type: Validation Stage: Post-deploy Description: Automated smoke tests to verify critical user journeys work post-deployment Check: All critical UJ- (UJ-000, UJ-001, UJ-005, UJ-010) complete successfully Method: Automated (tests/e2e/smoke.spec.ts) + manual spot-check Success Criteria: All journeys complete <2 seconds, no auth failures, data persists Escalation: If smoke tests fail, execute DEP-003 rollback and investigate Linked IDs: UJ-000/001/005/010 (critical journeys), TEST-050 (E2E suite)
Core Concept: Release as Contract
> A release is not "code that works locally." It is a **contract** between development and operations—a formal handoff that includes everything needed to deploy, validate, and recover.
Release Components
| Component | Purpose | Output | |-----------|---------|--------| | **Depl
PRD-driven Context Engineering: A systematic approach to building AI-powered products using progressive documentation and context-aware development workflows
Repo: mattgierhart/PRD-driven-context-engineering
Other skills on prd-driven-context-engineering.
- /SKILL_TEMPLATE
[1-2 sentence description of what this skill does]. Triggers on [specific phrases/contexts that should activate this skill]. Outputs [what the skill produces].
Open skill - /ghm-gate-check
Validates gate criteria before PRD lifecycle advancement by delegating to the readiness scoring pipeline (scripts/readiness.py). Returns a graduated PASS / WARN / BLOCK verdict with top blockers and their causal chain. Triggers before advancing from v0.X to v0.Y or explicit
Open skill - /ghm-harvest
Extracts durable insights from temp/ files to SoT during EPIC Phase E. Triggers at EPIC completion or explicit `/ghm-harvest` invocation. Outputs new SoT entries and archive manifest.
Open skill - /ghm-id-register
Validates and registers new SoT IDs with cross-reference integrity. Triggers when creating BR-XXX, UJ-XXX, API-XXX, or CFD-XXX entries. Outputs formatted SoT entry with validated cross-references.
Open skill - /ghm-self-install
Install the PRD-Driven Context Engineering methodology into a fresh OR existing repository — the subscription-native alternative to forking the whole repo. Runs an interactive wizard that seeds the framework (.claude/ hooks, skills, agents, rules, scripts) without clobbering
Open skill - /ghm-sot-builder
Creates new Source of Truth (SoT) files when existing templates don't fit your needs. Triggers on requests to create a new SoT file, add a new artifact type, or when user says "I need to track [X] but there's no SoT for it", "create SoT", "new source of truth". Outputs a
Open skill

