Prd V08 Release Planning 标志

Prd V08 Release Planning

社区
mattgierhart
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", "go-live checklist". Outputs DEP- entries with deployment steps and release criteria.

Add to TypingMind

概览

发布者mattgierhart
代码仓库PRD-driven-context-engineering
技能名称prd-v08-release-planning
星标数
179
复刻数
11
附带文件
4
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 4 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 mattgierhart 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Prd V08 Release Planning AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/mattgierhart/PRD-driven-context-engineering/tree/main/plugins/prd-ce/skills/prd-v08-release-planning
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mattgierhart/PRD-driven-context-engineering.git /tmp/PRD-driven-context-engineering
mkdir -p .claude/skills
cp -r /tmp/PRD-driven-context-engineering/plugins/prd-ce/skills/prd-v08-release-planning .claude/skills/prd-v08-release-planning
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Prd V08 Release Planning,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Prd V08 Release Planning。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Prd V08 Release Planning 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

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 for selection logic.

ModeWhat this skill produces
quickStaging→prod only; 3–5 release criteria; one rollback trigger
standardDev/staging/preview/prod environments; full criteria checklist; multiple rollback triggers; post-deploy validation
deepFull 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:

markdown
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

ComponentPurposeOutput
Deployment EnvironmentWhere code runsDEP- (environment config)
Release CriteriaWhat must be true to deployDEP- (checklist)
Rollback TriggersWhen to revertDEP- (conditions)
Validation StepsHow to verify successDEP- (post-deploy checks)

Execution

  1. Inventory completed EPICs

    • Which EPIC- entries are "Complete"?
    • What API-, DBT-, FEA- are included in this release?
  2. Define deployment environments

    • Staging, Production, Preview
    • Environment-specific configurations
    • Secrets management approach
  3. Establish release criteria

    • All TEST- pass in staging
    • Performance baselines met (from MON-)
    • No critical RISK- blockers
    • Security review complete
  4. Define rollback triggers

    • Error rate thresholds
    • Latency thresholds
    • User-reported critical issues
    • Data integrity concerns
  5. Document validation steps

    • Post-deployment smoke tests
    • Key journey verification (UJ-)
    • Metric baseline confirmation
  6. Create DEP- entries with full traceability

DEP- Output Template

DEP-XXX: [Deployment Item Title]
Type: [Environment | Criteria | Rollback | Validation | Step]
Stage: [Pre-deploy | Deploy | Post-deploy | Rollback]

Description: [What this deployment item covers]

For Environment Type:
  Name: [staging | production | preview]
  Infrastructure: [Cloud provider, region, resources]
  Configuration: [Environment-specific settings]
  Secrets: [How secrets are managed]
  Access: [Who can deploy, who can access]

For Criteria Type:
  Requirement: [What must be true]
  Verification: [How to check this]
  Blocker: [Yes | No] — Does failure block deploy?
  Owner: [Who verifies]

For Rollback Type:
  Trigger: [What condition initiates rollback]
  Threshold: [Specific metric or condition]
  Procedure: [How to execute rollback]
  Notification: [Who to alert]

For Validation Type:
  Check: [What to verify post-deploy]
  Method: [Manual | Automated | Both]
  Success Criteria: [Expected result]
  Escalation: [What if validation fails]

Linked IDs: [EPIC-XXX, API-XXX, TEST-XXX related]

Example DEP- entries:

DEP-001: Production Environment Configuration
Type: Environment
Stage: Pre-deploy

Description: AWS production environment setup for main application

Name: production
Infrastructure: AWS us-east-1, ECS Fargate, RDS PostgreSQL
Configuration:
  - NODE_ENV=production
  - LOG_LEVEL=info
  - RATE_LIMIT=100/min
Secrets: AWS Secrets Manager, rotated monthly
Access: DevOps team (deploy), On-call (read-only)

Linked IDs: ARC-001, TECH-005
DEP-002: All Tests Pass in Staging
Type: Criteria
Stage: Pre-deploy

Description: Complete test suite must pass in staging environment

Requirement: All TEST- entries pass with >95% success rate
Verification: CI/CD pipeline green status, test report review
Blocker: Yes
Owner: QA Lead

Linked IDs: TEST-001 to TEST-050
DEP-003: Error Rate Rollback Trigger
Type: Rollback
Stage: Post-deploy

Description: Automatic rollback if error rate exceeds threshold

Trigger: 5xx error rate exceeds baseline
Threshold: >2% of requests for 5 minutes
Procedure:
  1. Alert on-call engineer
  2. Pause traffic to new version (if canary)
  3. Revert to previous known-good version
  4. Investigate root cause
Notification: #incidents Slack, PagerDuty

Linked IDs: MON-001, RUN-005

Environment Progression

StageEnvironmentPurposeGate
1DevelopmentEngineer testingTests pass locally
2StagingIntegration testingAll TEST- pass
3PreviewStakeholder reviewSign-off from PM
4ProductionLive usersAll DEP- criteria met

Release Criteria Categories

CategoryExamplesPriority
FunctionalTests pass, features workMust-have
PerformanceLatency <200ms, throughput >100rpsMust-have
SecurityNo critical vulns, secrets rotatedMust-have
OperationalRunbooks ready, monitoring activeShould-have
DocumentationRelease notes, API docs updatedShould-have

Rollback Strategy Patterns

PatternWhen to UseComplexity
Blue-GreenNeed instant rollback, can afford 2x infraMedium
CanaryGradual rollout, catch issues earlyHigh
RollingZero-downtime, standard approachLow
Feature FlagsDecouple deploy from releaseMedium

Anti-Patterns

PatternSignalFix
Deploy and prayNo validation steps definedAdd DEP- validation entries
Manual everythingNo automation, error-proneAutomate repeatable steps
No rollback plan"We'll figure it out"Define triggers and procedures upfront
Environment driftStaging doesn't match productionInfrastructure as code, sync configs
Missing criteria"It works on my machine"Formal DEP- criteria checklist
Unclear ownershipNo one knows who approvesAssign owner to each DEP-

Quality Gates

Before proceeding to Runbook Creation:

  • All deployment environments documented (DEP- Environment type)
  • Release criteria defined with clear blockers (DEP- Criteria type)
  • Rollback triggers specified with thresholds (DEP- Rollback type)
  • Post-deploy validation steps defined (DEP- Validation type)
  • Each DEP- entry has an owner
  • Criteria trace back to EPIC-, TEST-, API- IDs

Downstream Connections

ConsumerWhat It UsesExample
Runbook CreationDEP- rollback procedures become runbook inputsDEP-003 → RUN-005
Monitoring SetupDEP- thresholds inform alertingDEP-003 (2% error) → MON-001
v0.9 GTM StrategyRelease readiness gates launchAll DEP- met → GTM-001
EPIC- Future ReleasesDEP- becomes template for next releaseDEP-001 reused

Detailed References

  • Environment configuration examples: See references/environment-examples.md
  • DEP- entry template: See assets/dep-template.md
  • Rollback procedure guide: See references/rollback-guide.md

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Prd V08 Release Planning AI 技能有什么作用?

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.

为什么在 TypingMind 中使用 Prd V08 Release Planning?

因为您只需安装一次,就能搭配任何模型使用。Prd V08 Release Planning 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Prd V08 Release Planning?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/mattgierhart/PRD-driven-context-engineering/tree/main/plugins/prd-ce/skills/prd-v08-release-planning。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Prd V08 Release Planning?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Prd V08 Release Planning 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Prd V08 Release Planning 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Prd V08 Release Planning AI 技能免费吗?

是的。mattgierhart 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇