跳到正文
Skillpedia
部署与云(DevOps)48k · #5488

pre-release-review

它能做什么

这个工具用来检查新的软件版本是否已经可以发布。它会查找可能导致故障的问题,比如配置错误、缺少重要文件,或者部署风险。

适用场景

  • ✓在发布新的软件版本之前。
  • ✓当你想在正式上线某项新功能之前,确保一切都正确的时候。
  • ✓当你需要一份发布风险报告,但又不希望改动任何内容的时候。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/pre-release-review/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/pre-release-review/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“帮我检查一下这次更新是否可以发布了。”

每周 5 个新技能,1 分钟读完。

工作原理

这个工具会分析即将发布的改动,但不会修改任何内容。它会把改动情况与检查清单进行对比,并查找潜在的问题或风险。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Pre-release Review

Use this skill to run a read-only production release readiness review. The goal is to reduce release time and coordination failures by finding missing deploy materials, unsafe ordering, configuration gaps, data migration gaps, and ambiguous production risks before CI/CD or manual release steps begin.

When to Use This Skill

  • Use when the user asks for a release audit, pre-release review, go-live review, or deploy readiness check.
  • Use before publishing a tag, deploying production services, or merging a release branch.
  • Use when a PR or git range may include migrations, environment changes, queues, cache behavior, object storage assets, or service contract changes.
  • Use when the user asks whether a change is safe to ship and needs a read-only risk report.

Non-negotiable rules

  • Do not modify source code, configs, migrations, secrets, deployment files, or generated files.
  • Do not execute migrations, clear or warm caches, upload assets, trigger CI/CD, deploy services, publish tags, rotate secrets, or change remote infrastructure.
  • Produce a concise report that lists only confirmed problems and plausible risks needing confirmation. Do not bury the reader in clean checklist items.
  • Sort findings from highest to lowest priority.
  • Include module, finding, evidence, inferred owner, risk, and recommended action for each item.
  • Never reveal private keys, account passwords, tokens, certificates, cookies, or full secret values. Report only file path, line number, variable name, secret type, and a redacted hint.
  • If evidence is incomplete but the risk could block production, list it as a confirmation item.

Required references

  • Read references/checklist.md before analyzing findings so important release domains are not skipped.
  • Read references/report-template.md before writing the final report so priorities, owner inference, secret redaction, and output shape stay consistent.

Project guidance discovery

Before interpreting the release diff, look for project-local guidance files such as AGENTS.md and CLAUDE.md in the repository root and relevant service directories. Read them when present so the review respects the user's project-specific conventions, service boundaries, release rules, validation expectations, ownership hints, and known operational constraints.

  • Treat project guidance as context for how to interpret risks, not as permission to perform mutating release actions.
  • If project guidance conflicts with this skill's non-negotiable safety rules, the read-only, no-secret-disclosure rules in this skill win.
  • If a relevant guidance file cannot be read, note the limitation in "Unable To Verify" only when it affects the release review.

Scope selection

Determine the review range before judging risk. State the chosen range in the report.

  1. If the user provides a pull request URL or PR number, review that PR diff first.
    • If gh is available and authenticated, use read-only commands such as gh pr view and gh pr diff.
    • If the PR cannot be fetched due to missing tooling, auth, or network limits, say so and ask for a local branch, patch, or explicit git range. Do not invent the PR contents.
  2. If the user provides an explicit base..head range, use it directly.
  3. If the user provides only a head commit, compare the previous usable release tag reachable from that commit to the head commit.
  4. If the user provides no scope, compare the previous usable release tag to HEAD.
  5. Choose the previous usable release tag carefully:
    • Prefer the repository's visible release-tag convention when one is obvious, such as semantic versions, v*, or release-*. If tag naming is mixed, state the assumption.
    • If HEAD is exactly at one or more tags, treat those as the current release point and compare against the earlier reachable release tag, not HEAD's own tag.
    • If no usable previous release tag exists, review the latest 5 commits and explicitly warn that this is a fallback: there is no usable previous release tag, so the audit only covers the latest 5 commits; recommend a PR or tag-based range for future reviews.

Read-only evidence collection

Run only safe inspection commands, adjusted to the repository and current permissions. Useful commands include:

git status --short
git rev-parse --show-toplevel
git rev-parse --abbrev-ref HEAD
git rev-parse HEAD

…
常见问题

“只读”是什么意思?

意思是这个工具在检查时只读取信息,不会对代码、配置或生产环境做任何修改。

这个工具会查找哪些问题?

它会查找诸如配置缺失、部署顺序上的风险、数据迁移的问题,以及其他可能导致发布不安全的因素。

这个工具能自动修复它发现的问题吗?

不能。它只负责发现问题和风险,修复需要由负责开发或管理此次发布的人手动完成。

详情

作者的原始描述

Run a read-only pre-release review for deploy readiness, migrations, config, secrets, rollout order, rollback risk, and launch blockers.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#5488
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能