production-readiness-review — Claude Code prompt: install
production-readiness-review is a Claude Code prompt for auditing repository changes before a commit or deployment. It checks diffs, code, tests, and integration points.
no license ★ 336 updated 2026-11-14
.claude/commands/production-readiness-review.mdWhat production-readiness-review does
production-readiness-review audits the implementation in a repository before it is committed or deployed. It inspects Git state, staged and unstaged changes, untracked files, and branch differences when the work is already committed. The review also follows surrounding code and the components that call it.
The checklist covers logic defects, boundary cases, API contracts, service dependencies, configuration, retries, secret exposure, performance, migrations, and rollback preparation. The agent runs relevant project checks, explains the cause and impact of confirmed issues, applies focused fixes, then inspects the changed code and diff again.
A fresh context or separate subagent is recommended because the agent that wrote the implementation should not audit its own decisions from memory. The prompt forbids adding dependencies without approval, printing secrets or .env contents, and committing or pushing changes.
What it helps with
- audit staged, unstaged, and untracked changes
- find flawed logic and missing edge cases
- check caller contracts and service integrations
- inspect migration, retry, and rollback risks
- verify targeted fixes with project tests
Example prompts for the agent
- Audit the current repository for deployment readiness using its Git changes and available tests.
- Inspect untracked files, integration points, and environment configuration, then fix confirmed issues only.
- Compare this branch with its base and report production risks without committing or pushing changes.
How to install production-readiness-review
Manually: put the files in place
.claude/commands/production-readiness-review.mdHow to use
Paste the text at the start of a chat or into project instructions
Questions about production-readiness-review
How do I install production-readiness-review in Claude Code?
Place the prompt file at .claude/commands/production-readiness-review.md.
What does production-readiness-review do?
It audits repository state, implementation details, integrations, and test results before a commit or deployment. Confirmed issues are fixed with focused changes and checked again.
Why does production-readiness-review recommend a fresh context?
The audit is meant to rely on current code, Git state, and verifiable checks rather than session memory. A separate context keeps the implementation author from reviewing their own reasoning.