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。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 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.mdbefore analyzing findings so important release domains are not skipped. - Read
references/report-template.mdbefore 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.
- If the user provides a pull request URL or PR number, review that PR diff first.
- If
ghis available and authenticated, use read-only commands such asgh pr viewandgh 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.
- If
- If the user provides an explicit
base..headrange, use it directly. - If the user provides only a head commit, compare the previous usable release tag reachable from that commit to the head commit.
- If the user provides no scope, compare the previous usable release tag to
HEAD. - Choose the previous usable release tag carefully:
- Prefer the repository's visible release-tag convention when one is obvious, such as semantic
versions,
v*, orrelease-*. If tag naming is mixed, state the assumption. - If
HEADis exactly at one or more tags, treat those as the current release point and compare against the earlier reachable release tag, notHEAD'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.
- Prefer the repository's visible release-tag convention when one is obvious, such as semantic
versions,
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.
热度
- GitHub 星标
- 48k
- 排名
- #5488
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。