Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计通过

release-readiness发布准备

Agent Skill

release-readiness 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

306

周安装

13

GitHub Stars

4

下载量

107
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:release-readiness(发布准备)
来源仓库:https://github.com/petrkindlmann/qa-skills
仓库路径:skills/release-readiness
安装命令:
npx skills add https://github.com/petrkindlmann/qa-skills --skill release-readiness
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/petrkindlmann/qa-skills --skill release-readiness

简介

release-readiness 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 它可评估发布就绪状态,识别潜在风险点和待完成项,提供决策依据。
  • 通过 npx skills add 命令从指定仓库安装,具体用法请结合原始 README 进一步确认。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md


Discovery Questions

Ask these before designing a release process. The answers shape everything that follows.

Release cadence and process:

  • How often do you release? (Continuous, daily, weekly, bi-weekly, monthly, quarterly)
  • Who makes the go/no-go decision? (Engineering lead, QA lead, release manager, committee)
  • Is there a release train schedule or is it ad-hoc?
  • How many environments exist between dev and production? (staging, pre-prod, canary)

Current state:

  • What does the current go/no-go process look like? Is it documented?
  • Has a release ever been rolled back? How long did it take?
  • What was the last release incident? What was the root cause?
  • Are there release-blocking bugs right now?

Infrastructure and capabilities:

  • Do you have rollback capability? How long does a rollback take?
  • Can you do staged/canary deployments?
  • Do you have feature flags? How are they managed?
  • What monitoring and alerting is in place?
  • Are database migrations reversible?

Team and communication:

  • Who is on-call during and after releases?
  • How are stakeholders notified of releases?
  • Is there a release communication channel?
  • How are release notes generated?

Core Principles

1. Release confidence comes from evidence, not feelings

"I think it's fine" is not a go/no-go criterion. Evidence means: all CI pipelines green, smoke tests pass on staging, performance budgets met, no open P0/P1 bugs. If you can't point to data, you're not ready.

2. Smoke tests are the last safety net, not the only safety net

Smoke tests catch catastrophic failures. They are not a substitute for thorough testing throughout the development cycle. If your smoke test suite is the only thing between you and production, you have a process problem upstream.

3. Staged rollouts reduce blast radius

Deploying to 100% of users simultaneously means 100% of users are affected by any bug. Staged rollouts (canary, percentage-based, ring-based) let you catch issues when they affect 1% of users instead of all of them.

4. Rollback criteria must be defined BEFORE release

If you wait until something is on fire to decide whether to roll back, you'll waste critical minutes debating. Define the criteria in advance: "If error rate exceeds 2x baseline within 15 minutes, we roll back. No discussion needed."

5. Every release is a learning opportunity

Post-deployment verification isn't just about catching bugs. Track what went well, what was slow, what was stressful. Improve the process continuously.


Go/No-Go Checklist

Use this as a template. Adapt it to your context. Every item should be verifiable with evidence, not just "I checked."

Automated Checks (Must Pass)

  • All CI pipelines green — Unit tests, integration tests, E2E tests, type checking, linting
  • Smoke test suite passes on staging — Critical user journeys verified in the staging environment
  • No open P0/P1 bugs for this release — Check issue tracker, filter by milestone/label
  • Performance budgets met — Lighthouse CI, API response times, bundle size within thresholds
  • Security scan clean — No high/critical vulnerabilities in npm audit / Snyk / Dependabot
  • API contract tests pass — No breaking changes to public APIs
  • Visual regression tests pass — No unintended visual changes
  • Accessibility checks pass — axe-core scan shows no new violations

Manual Checks (Verify Before Go)

  • Feature flags reviewed — Document which flags are enabled/disabled in this release; confirm flag states for production
  • Monitoring and alerts configured — New features have corresponding alerts (error rate, latency, business metrics)
  • Rollback plan documented and tested — Written procedure exists; rollback has been practiced on staging
  • Database migrations tested — Tested forward migration; backward migration verified if schema change is reversible
  • Third-party dependency changes reviewed — New or upgraded external dependencies checked for breaking changes
  • Release notes prepared — Changelog updated, stakeholder-facing summary written
  • On-call engineer identified — Named person is available and has context on the release contents
  • Communication plan ready — Stakeholders know the release is happening; support team briefed on changes
  • No conflicting releases — Other teams aren't deploying simultaneously
  • Deploy window confirmed — Not deploying during peak traffic or before a weekend (unless continuous deployment)

Risk Assessment

  • Change scope categorized — Small (config change, copy update), Medium (new feature, refactor), Large (architecture change, migration)
  • Blast radius estimated — What percentage of users could be affected if something goes wrong?
  • Revert complexity assessed — Can this be reverted in <5 minutes? Does reverting require a data migration?

Smoke Test Suite Design

What to Include

Smoke tests cover critical user journeys only. If these fail, the application is fundamentally broken.

Typical smoke test suite (5-8 tests):

  1. Application health — Homepage loads, returns 200, no JavaScript errors in console
  2. Authentication — User can log in with valid credentials, session is established
  3. Core workflow — The primary value-delivering action works (e.g., create a document, submit a form, add to cart)
  4. Data retrieval — Key data loads correctly (dashboard populates, search returns results)
  5. Payment/transaction (if applicable) — Payment flow completes with test credentials
  6. API health — Primary API endpoints return valid responses with correct schemas
  7. Navigation — Critical navigation paths work (deep links, redirects, menu items)
  8. Error handling — Application shows a user-friendly error page for invalid routes (404)

What NOT to Include

  • Edge cases (those belong in regression tests)
  • Visual perfection (that belongs in visual regression tests)
  • Performance benchmarks (that belongs in performance tests)
  • Exhaustive form validation (that belongs in unit/integration tests)

Keeping It Fast

Target: under 5 minutes for the entire smoke suite.

  • Run tests in parallel where possible
  • Use API calls instead of UI interactions for setup (create test user via API, not through registration form)
  • Skip non-critical assertions (don't check exact copy text, check that elements exist)
  • Use a dedicated test account with pre-created data (don't create data from scratch each run)
  • Avoid unnecessary waits — use smart waiting (wait for element, not sleep(3000))

Environment-Specific Smoke Tests

Staging smoke tests:

  • Full smoke suite (all 5-8 tests)
  • Can use test payment providers
  • Can test with feature flags in upcoming release configuration
  • Can test database migrations

Production smoke tests:

  • Subset of staging smoke tests (3-5 tests)
  • Use synthetic test accounts (clearly labeled, won't affect analytics)
  • Never test with real payment transactions (use sandbox mode or skip)
  • Focus on: app loads, auth works, core read operations work, API responds

Post-deployment smoke tests:

  • Run immediately after deploy completes (within 60 seconds)
  • Same as production smoke tests
  • If any fail, trigger alert and begin rollback evaluation

Staged Rollout Validation

Rollout Stages

A typical staged rollout:

StageTraffic %DurationPurpose
Canary1%15-30 minCatch crashes, exceptions, obvious failures
Early adopters10%1-2 hoursValidate error rates, latency, business metrics
Partial rollout50%2-4 hoursConfirm stability at scale
Full rollout100%Monitor for 24 hours post-deployment

What to Monitor Between Stages

Before promoting to the next stage, verify all of these:

Error metrics:

  • Error rate (HTTP 5xx) is not higher than baseline
  • Exception count is not higher than baseline
  • No new error types appearing in logs

Performance metrics:

  • P50 and P95 latency are within acceptable range
  • No increase in timeout errors
  • Database query times are stable

Business metrics:

  • Conversion rate is not dropping
  • User engagement (page views, actions) is stable
  • Revenue/transaction volume is normal (if applicable)

Infrastructure metrics:

  • CPU and memory usage are normal
  • No increase in queue depth or message backlog
  • No disk space issues from new logging

Automated Promotion Criteria

Define rules for automatic promotion between stages:

Promote from canary (1%) to 10% when:
  - Error rate < 0.5% for 15 minutes
  - P95 latency < 500ms
  - No new exception types
  - Zero crash reports

Promote from 10% to 50% when:
  - Error rate < 0.5% for 1 hour
  - P95 latency < 500ms
  - Conversion rate within 5% of baseline
  - No customer-reported issues

Promote from 50% to 100% when:
  - Error rate < 0.5% for 2 hours
  - All business metrics within expected range
  - No rollback signals from any monitoring system

Feature Flag Gradual Rollout

An alternative to infrastructure-level canary deploys:

  1. Deploy new code to 100% with the feature flag OFF
  2. Enable the flag for internal users first (dogfooding)
  3. Enable for 1% of users (canary equivalent)
  4. Gradually increase: 10%, 25%, 50%, 100%
  5. Remove the flag after full rollout is stable for 1 week

Advantages: Faster rollback (just flip the flag), no infrastructure changes, can target specific user segments.

Disadvantages: Code complexity (branching logic), stale flags become tech debt, doesn't catch infrastructure issues.


Rollback Criteria and Process

Automated Rollback Triggers

Define these thresholds BEFORE deployment. When any trigger fires, rollback begins automatically.

MetricThresholdAction
Error rate (5xx)>2x baseline for 5 minAuto-rollback
P95 latency>3x baseline for 5 minAuto-rollback
Health check3 consecutive failuresAuto-rollback
Crash rate (mobile)>0.5%Auto-rollback
Error budget>50% burned in 1 hourAuto-rollback

Manual Rollback Triggers

These require human judgment but should have clear guidelines:

  • Customer-reported critical issue — Multiple users reporting the same problem
  • Data integrity concern — Evidence of corrupted or incorrect data
  • Security vulnerability discovered — Active exploitation or high-severity CVE
  • Monitoring blind spots — You realize you can't monitor a critical metric for the new feature
  • On-call engineer judgment — The on-call engineer always has authority to trigger a rollback

Rollback Procedure

Step 1: Decide (< 2 minutes)

  • Is the trigger automated or manual?
  • If manual: does the issue meet rollback criteria? If yes, proceed. Don't debate.

Step 2: Execute rollback (< 5 minutes)

  • Code rollback: Revert to the previous deployment (re-deploy previous image/artifact)
  • Feature flag rollback: Disable the feature flag (fastest option if available)
  • Database rollback: Run backward migration if applicable. If migration is irreversible, skip this step and handle data separately
  • Cache invalidation: Clear CDN and application caches if the old version would serve stale/incorrect data

Step 3: Verify (< 5 minutes)

  • Run production smoke tests
  • Verify error rate returns to baseline
  • Check that the rolled-back version serves correctly

Step 4: Communicate (< 10 minutes)

  • Notify the release channel: "Release X.Y.Z rolled back due to [reason]. Investigating."
  • Update status page if user-facing impact occurred
  • Brief the support team

Step 5: Investigate (next business day)

  • Root cause analysis
  • Write a regression test that would have caught the issue
  • Update the go/no-go checklist if a check was missing
  • Schedule the fix and re-release

Data Considerations

When a migration can't be rolled back:

  • Forward-fix: Deploy a fix on top of the current (broken) version instead of rolling back
  • Dual-write: During migration, write to both old and new schemas; rollback drops the new writes
  • Shadow migration: Migrate in the background, validate, then cut over. Rollback just stops the cutover
  • Point-in-time recovery: Restore database from backup (last resort, causes data loss for changes since backup)

Post-Deployment Verification

Immediate (0-15 minutes)

  • Production smoke tests pass
  • Error rate is at or below pre-deployment baseline
  • No new exception types in error tracker
  • Health check endpoints return healthy
  • Key pages load correctly (spot check 2-3 pages manually)

Short-term (15 minutes - 2 hours)

  • Synthetic monitoring confirms all critical paths working
  • Error rate trend is flat or declining (not increasing)
  • P50 and P95 latency are within expected range
  • No increase in support ticket volume
  • Business metrics (conversions, revenue, signups) are normal
  • No memory leaks or resource exhaustion trends

Medium-term (2-24 hours)

  • Overnight batch jobs complete successfully (if applicable)
  • No time-zone-dependent issues surfacing as other regions wake up
  • Email/notification delivery is normal
  • Third-party integrations are functioning
  • No gradual performance degradation

Verification Commands

Quick checks you can run right after deployment:

# Check application health
curl -s https://your-app.com/health | jq .

# Check response time
curl -o /dev/null -s -w "HTTP %{http_code} in %{time_total}s\n" https://your-app.com

# Check for new errors in the last 15 minutes (Sentry CLI example)
sentry-cli issues list --project your-project --query "firstSeen:>15m"

# Compare error counts (Datadog example)
# Before deploy: note the 5xx count
# After deploy: check if 5xx count increased

Anti-Patterns

"It worked on staging"

Staging is not production. Staging has different data volumes, different traffic patterns, different third-party configurations, and different infrastructure scale. Staging success is necessary but not sufficient evidence of readiness.

Fix: Use production smoke tests and staged rollouts in addition to staging verification.

No rollback plan

"We'll figure it out if something goes wrong" means you'll figure it out under pressure, sleep-deprived, with users complaining. That's when mistakes happen.

Fix: Document the rollback procedure. Practice it quarterly. Time it. Make it a checklist, not tribal knowledge.

Deploying on Friday afternoon

You deploy at 4 PM on Friday. An issue surfaces at 6 PM. Your team is at dinner. The issue grows overnight. Monday morning is chaos.

Fix: Deploy early in the week, early in the day, when the full team is available to monitor. If you must deploy on Friday, deploy before noon with extra monitoring.

Skipping smoke tests because "the pipeline is green"

CI pipelines test against test data in test environments. Smoke tests verify the deployed application works with production configuration, production data, and production infrastructure.

Fix: Smoke tests are non-negotiable. If they're slow, make them faster. If they're flaky, fix them. Never skip them.

Big-bang releases instead of incremental

Accumulating 6 weeks of changes into one mega-release means: more things can break, harder to identify which change caused the issue, higher risk, longer rollback time, more stress.

Fix: Release smaller, more frequently. If you can't do continuous deployment, aim for weekly or bi-weekly releases with small, well-understood changesets.

No post-deployment verification

You deploy and move on to the next feature. An hour later, users are experiencing errors that nobody is watching for.

Fix: Assign someone to monitor dashboards for 30-60 minutes post-deploy. Set up automated alerts with appropriate thresholds. Run post-deployment smoke tests.

Rollback aversion

"We're so close to fixing it, let's just push a hotfix forward." Meanwhile, users are affected for another 45 minutes while you debug under pressure.

Fix: Roll back first, investigate second. A working previous version is better than a broken current version. Your ego can recover; user trust is harder to rebuild.

Feature flag accumulation

You use feature flags for safe rollouts (good!) but never remove them (bad). After a year, you have 200 flags, nobody knows which are active, and flag interactions cause mysterious bugs.

Fix: Every feature flag has an expiration date. After full rollout + 1 week of stability, remove the flag. Track flag age in your issue tracker.


Templates

Release Communication Template

Subject: [Release] v{version} — {date}

Status: DEPLOYING / DEPLOYED / ROLLED BACK

Changes:
- {Summary of changes, 3-5 bullet points}

Risk Level: LOW / MEDIUM / HIGH
Rollback Plan: {Revert deploy / Disable feature flag / etc.}
On-Call: {Name, contact}

Monitoring Dashboard: {link}
Release Notes: {link}

Rollback Communication Template

Subject: [Rollback] v{version} — {date} {time}

Status: ROLLED BACK

Reason: {Brief description of the issue}
Impact: {Who was affected, for how long}
Current State: Running previous version v{prev_version}

Next Steps:
- Root cause investigation: {owner}
- Fix ETA: {estimate or "investigating"}
- Re-release plan: {TBD after investigation}

Done When

  • Go/no-go checklist completed with evidence for each item and signed off by the named approver with timestamp
  • Smoke test suite run against the release candidate in staging and all tests pass
  • Rollback criteria documented (specific thresholds that trigger rollback) and rollback procedure practiced on staging
  • Staged rollout plan defined with traffic percentages, promotion criteria, and guardrail metrics for each stage
  • Release sign-off recorded with approver names, timestamp, and link to the go/no-go checklist artifact

Related Skills

SkillRelationship
test-strategyRelease readiness is the final stage of your overall test strategy
qa-metricsUse metrics (error rates, test pass rates) as evidence in go/no-go decisions
ci-cd-integrationCI pipeline must be green as a prerequisite for release
playwright-automationSmoke tests are often implemented with Playwright
qa-ideasBrowse for additional release validation tactics
shift-left-testingThe earlier you catch issues, the less you rely on release-time catches
api-testingAPI contract and health checks are part of smoke test suites
bug-reportingStructured bug reports speed up investigation when rollbacks happen

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.32%
按下载量换算39

Claude

32.37%
按下载量换算35

Cursor

17.36%
按下载量换算19

Gemini CLI

9.73%
按下载量换算10

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills