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.
- 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.
- If the user provides an explicit
base..head range, 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*, 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
rg --files -g 'AGENTS.md' -g 'CLAUDE.md'
git tag --merged HEAD --sort=-creatordate
git tag --points-at HEAD
git for-each-ref --sort=-creatordate --format="%(refname:short) %(objectname:short)" refs/tags
git describe --tags --abbrev=0 HEAD
git diff --name-status <base>..<head>
git diff --stat <base>..<head>
git log --oneline --decorate --no-merges <base>..<head>
git diff -U3 <base>..<head> -- <path>
git blame -L <start>,<end> -- <path>
git log --format="%h %an %s" -- <path>
rg -n "<pattern>" .
For PRs, use gh pr view and gh pr diff only when they are available and allowed. Do not bypass
network, auth, sandbox, or approval restrictions. If a command cannot run, record the limitation in
the report's "Unable to verify" section.
Review workflow
- Confirm the git repository root, current branch, dirty state, and selected comparison range.
- Collect changed file names, file status, diff stats, commit summaries, and touched services.
- Inspect relevant diffs rather than relying on filenames alone.
- Use the checklist to map changed code to production requirements:
- schema changes to migrations, indexes, seeds, and backfills
- config reads to env examples, deploy secrets, flags, and runtime config
- cache key or TTL changes to invalidation, prewarm, and compatibility work
- queue producers/consumers to topic setup, DLQ, idempotency, and deploy order
- asset references to object storage, CDN, templates, certificates, and permissions
- service contract changes to deploy sequence, backward compatibility, and rollback risk
- Infer owners with
git blame on changed lines when possible; otherwise use recent git log
authors for the file or commit. Label them as inferred owners, and do not include email
addresses.
- Classify each finding as P0, P1, or P2 using
references/report-template.md.
- Write the final report in the user's language when practical. Keep conclusion values exactly as
BLOCKED, NEEDS_CONFIRMATION, or NO_BLOCKER_FOUND.
Dirty worktree handling
By default, review only the selected committed range. Do not silently mix uncommitted or untracked
changes into the release diff unless the user explicitly asks to include worktree changes.
- Always report whether the worktree is dirty.
- If dirty or untracked files touch release-relevant areas such as migrations, deployment config,
env examples, CI/CD, secrets, cache, queues, assets, or service contracts, add a P2 confirmation
item saying those changes are excluded from the committed-range review and must be committed,
discarded, or reviewed separately before release.
- If the user explicitly asks to include dirty worktree changes, inspect them with read-only
commands such as
git diff and git diff --name-status, and clearly label them as uncommitted
evidence.
Evidence expectations
Every finding should cite concrete evidence:
- file path and line number when available
- commit hash or PR reference when line evidence is not enough
- command limitation when evidence could not be collected
- diff relationship, such as "schema changed but no migration file changed"
Do not state that something is safe just because no file matched a pattern. Use "not verified" for
areas that cannot be confirmed from local repository evidence.
Findings versus verification limits
Separate release confirmation items from neutral tool limits:
- A release confirmation item is a diff-linked production risk, such as a new env var whose
production secret cannot be verified, a schema change with unclear migration status, or a new queue
whose infrastructure cannot be confirmed. Classify it as P1 or P2 and set the conclusion to
NEEDS_CONFIRMATION unless a P0 also exists.
- An "Unable To Verify" entry is a neutral limitation, such as missing remote access or deployment
platform credentials when the diff does not introduce a specific release requirement. Neutral
limitations do not change the conclusion by themselves.
- If a limitation blocks confirmation of a release-critical diff change, promote it to a P1/P2
finding rather than leaving it only in "Unable To Verify".
- Use
NO_BLOCKER_FOUND only when no P0-P2 findings or release confirmation items were found from
available evidence. The report may still include neutral verification limits.
Output rules
- Show P0 and P1 findings first, then P2 confirmation items.
- Do not list clean checklist categories.
- Include a service deployment order section only when the diff touches multiple services,
asynchronous workers, migrations, queues, cache, or public contracts.
- If no P0 blocker is found but P1/P2 confirmation items remain, use
NEEDS_CONFIRMATION.
- If no P0-P2 findings exist, include the reviewed range and any neutral verification limits.
- Keep the report short enough for a release manager to act on immediately.
Limitations
- This skill is read-only and does not deploy, tag, publish, run migrations, rotate secrets, or change infrastructure.
- It can identify release risks from available evidence, but it cannot prove production state without access to the relevant deployment, secrets, database, queue, cache, or observability systems.
- It should not replace service-owner signoff for high-risk production changes.
Test prompts
Use these prompts to validate the skill behavior:
- "Run a pre-release review and tell me if this production deploy has risks."
- "Review PR #123 before release. Check migrations, configs, and cache work."
- "This repo has no tags. Use the default strategy and audit release readiness."
- "Check
v1.2.3..HEAD for backend go-live blockers."
Source: sickn33/agentic-awesome-skills → skills/pre-release-review/SKILL.md
Also appears in: sickn33/agentic-awesome-skills/plugins/agentic-awesome-skills/skills/pre-release-review/SKILL.md, sickn33/agentic-awesome-skills/plugins/agentic-awesome-skills-claude/skills/pre-release-review/SKILL.md
1---2name: pre-release-review3description: "Run a read-only pre-release review for deploy readiness, migrations, config, secrets, rollout order, rollback risk, and launch blockers."4allowed-tools: "[git, gh, rg]"5category: security-and-compliance6source_repo: sickn33/agentic-awesome-skills7source_path: "skills/pre-release-review/SKILL.md"8source_url: https://github.com/sickn33/agentic-awesome-skills/blob/HEAD/skills/pre-release-review/SKILL.md9metadata:10 source: https://skillmd.com/skills/sickn33/pre-release-review11---1213# Pre-release Review1415Use this skill to run a read-only production release readiness review. The goal is to reduce16release time and coordination failures by finding missing deploy materials, unsafe ordering,17configuration gaps, data migration gaps, and ambiguous production risks before CI/CD or manual18release steps begin.1920## When to Use This Skill2122- Use when the user asks for a release audit, pre-release review, go-live review, or deploy readiness check.23- Use before publishing a tag, deploying production services, or merging a release branch.24- Use when a PR or git range may include migrations, environment changes, queues, cache behavior, object storage assets, or service contract changes.25- Use when the user asks whether a change is safe to ship and needs a read-only risk report.2627## Non-negotiable rules2829- Do not modify source code, configs, migrations, secrets, deployment files, or generated files.30- Do not execute migrations, clear or warm caches, upload assets, trigger CI/CD, deploy services,31 publish tags, rotate secrets, or change remote infrastructure.32- Produce a concise report that lists only confirmed problems and plausible risks needing33 confirmation. Do not bury the reader in clean checklist items.34- Sort findings from highest to lowest priority.35- Include module, finding, evidence, inferred owner, risk, and recommended action for each item.36- Never reveal private keys, account passwords, tokens, certificates, cookies, or full secret37 values. Report only file path, line number, variable name, secret type, and a redacted hint.38- If evidence is incomplete but the risk could block production, list it as a confirmation item.3940## Required references4142- Read `references/checklist.md` before analyzing findings so important release domains are not43 skipped.44- Read `references/report-template.md` before writing the final report so priorities, owner45 inference, secret redaction, and output shape stay consistent.4647## Project guidance discovery4849Before interpreting the release diff, look for project-local guidance files such as `AGENTS.md` and50`CLAUDE.md` in the repository root and relevant service directories. Read them when present so the51review respects the user's project-specific conventions, service boundaries, release rules,52validation expectations, ownership hints, and known operational constraints.5354- Treat project guidance as context for how to interpret risks, not as permission to perform55 mutating release actions.56- If project guidance conflicts with this skill's non-negotiable safety rules, the read-only,57 no-secret-disclosure rules in this skill win.58- If a relevant guidance file cannot be read, note the limitation in "Unable To Verify" only when it59 affects the release review.6061## Scope selection6263Determine the review range before judging risk. State the chosen range in the report.64651. If the user provides a pull request URL or PR number, review that PR diff first.66 - If `gh` is available and authenticated, use read-only commands such as `gh pr view` and67 `gh pr diff`.68 - If the PR cannot be fetched due to missing tooling, auth, or network limits, say so and ask69 for a local branch, patch, or explicit git range. Do not invent the PR contents.702. If the user provides an explicit `base..head` range, use it directly.713. If the user provides only a head commit, compare the previous usable release tag reachable from72 that commit to the head commit.734. If the user provides no scope, compare the previous usable release tag to `HEAD`.745. Choose the previous usable release tag carefully:75 - Prefer the repository's visible release-tag convention when one is obvious, such as semantic76 versions, `v*`, or `release-*`. If tag naming is mixed, state the assumption.77 - If `HEAD` is exactly at one or more tags, treat those as the current release point and compare78 against the earlier reachable release tag, not `HEAD`'s own tag.79 - If no usable previous release tag exists, review the latest 5 commits and explicitly warn that80 this is a fallback: there is no usable previous release tag, so the audit only covers the81 latest 5 commits; recommend a PR or tag-based range for future reviews.8283## Read-only evidence collection8485Run only safe inspection commands, adjusted to the repository and current permissions. Useful86commands include:8788```bash89git status --short90git rev-parse --show-toplevel91git rev-parse --abbrev-ref HEAD92git rev-parse HEAD93rg --files -g 'AGENTS.md' -g 'CLAUDE.md'94git tag --merged HEAD --sort=-creatordate95git tag --points-at HEAD96git for-each-ref --sort=-creatordate --format="%(refname:short) %(objectname:short)" refs/tags97git describe --tags --abbrev=0 HEAD98git diff --name-status <base>..<head>99git diff --stat <base>..<head>100git log --oneline --decorate --no-merges <base>..<head>101git diff -U3 <base>..<head> -- <path>102git blame -L <start>,<end> -- <path>103git log --format="%h %an %s" -- <path>104rg -n "<pattern>" .105```106107For PRs, use `gh pr view` and `gh pr diff` only when they are available and allowed. Do not bypass108network, auth, sandbox, or approval restrictions. If a command cannot run, record the limitation in109the report's "Unable to verify" section.110111## Review workflow1121131. Confirm the git repository root, current branch, dirty state, and selected comparison range.1142. Collect changed file names, file status, diff stats, commit summaries, and touched services.1153. Inspect relevant diffs rather than relying on filenames alone.1164. Use the checklist to map changed code to production requirements:117 - schema changes to migrations, indexes, seeds, and backfills118 - config reads to env examples, deploy secrets, flags, and runtime config119 - cache key or TTL changes to invalidation, prewarm, and compatibility work120 - queue producers/consumers to topic setup, DLQ, idempotency, and deploy order121 - asset references to object storage, CDN, templates, certificates, and permissions122 - service contract changes to deploy sequence, backward compatibility, and rollback risk1235. Infer owners with `git blame` on changed lines when possible; otherwise use recent `git log`124 authors for the file or commit. Label them as inferred owners, and do not include email125 addresses.1266. Classify each finding as P0, P1, or P2 using `references/report-template.md`.1277. Write the final report in the user's language when practical. Keep conclusion values exactly as128 `BLOCKED`, `NEEDS_CONFIRMATION`, or `NO_BLOCKER_FOUND`.129130## Dirty worktree handling131132By default, review only the selected committed range. Do not silently mix uncommitted or untracked133changes into the release diff unless the user explicitly asks to include worktree changes.134135- Always report whether the worktree is dirty.136- If dirty or untracked files touch release-relevant areas such as migrations, deployment config,137 env examples, CI/CD, secrets, cache, queues, assets, or service contracts, add a P2 confirmation138 item saying those changes are excluded from the committed-range review and must be committed,139 discarded, or reviewed separately before release.140- If the user explicitly asks to include dirty worktree changes, inspect them with read-only141 commands such as `git diff` and `git diff --name-status`, and clearly label them as uncommitted142 evidence.143144## Evidence expectations145146Every finding should cite concrete evidence:147148- file path and line number when available149- commit hash or PR reference when line evidence is not enough150- command limitation when evidence could not be collected151- diff relationship, such as "schema changed but no migration file changed"152153Do not state that something is safe just because no file matched a pattern. Use "not verified" for154areas that cannot be confirmed from local repository evidence.155156## Findings versus verification limits157158Separate release confirmation items from neutral tool limits:159160- A release confirmation item is a diff-linked production risk, such as a new env var whose161 production secret cannot be verified, a schema change with unclear migration status, or a new queue162 whose infrastructure cannot be confirmed. Classify it as P1 or P2 and set the conclusion to163 `NEEDS_CONFIRMATION` unless a P0 also exists.164- An "Unable To Verify" entry is a neutral limitation, such as missing remote access or deployment165 platform credentials when the diff does not introduce a specific release requirement. Neutral166 limitations do not change the conclusion by themselves.167- If a limitation blocks confirmation of a release-critical diff change, promote it to a P1/P2168 finding rather than leaving it only in "Unable To Verify".169- Use `NO_BLOCKER_FOUND` only when no P0-P2 findings or release confirmation items were found from170 available evidence. The report may still include neutral verification limits.171172## Output rules173174- Show P0 and P1 findings first, then P2 confirmation items.175- Do not list clean checklist categories.176- Include a service deployment order section only when the diff touches multiple services,177 asynchronous workers, migrations, queues, cache, or public contracts.178- If no P0 blocker is found but P1/P2 confirmation items remain, use `NEEDS_CONFIRMATION`.179- If no P0-P2 findings exist, include the reviewed range and any neutral verification limits.180- Keep the report short enough for a release manager to act on immediately.181182## Limitations183184- This skill is read-only and does not deploy, tag, publish, run migrations, rotate secrets, or change infrastructure.185- It can identify release risks from available evidence, but it cannot prove production state without access to the relevant deployment, secrets, database, queue, cache, or observability systems.186- It should not replace service-owner signoff for high-risk production changes.187188## Test prompts189190Use these prompts to validate the skill behavior:191192- "Run a pre-release review and tell me if this production deploy has risks."193- "Review PR #123 before release. Check migrations, configs, and cache work."194- "This repo has no tags. Use the default strategy and audit release readiness."195- "Check `v1.2.3..HEAD` for backend go-live blockers."196197---198199**Source:** [`sickn33/agentic-awesome-skills`](https://github.com/sickn33/agentic-awesome-skills) → `skills/pre-release-review/SKILL.md`200201**Also appears in:** `sickn33/agentic-awesome-skills/plugins/agentic-awesome-skills/skills/pre-release-review/SKILL.md`, `sickn33/agentic-awesome-skills/plugins/agentic-awesome-skills-claude/skills/pre-release-review/SKILL.md`