- Home
- Skills
- Code Quality & Review
- Production Code Review Gate
More screenshots
Works with the AI Agents you already use
Production Code Review Gate
by stojke72
Most AI code reviews produce long lists of generic warnings.
$9
Production Code Review Gate
Example session with this skill installed
Review this PR diff for a Node.js service adding a new Redis-backed rate limiter. Check for concurrency issues and production readiness.
- Read your context and instructions
- Compiled the production code review
I have completed a production readiness review of the Redis rate limiter implementation. The review identified a critical atomicity issue in the increment logic that could lead to limit bypass under high concurrency.
Production Readiness Report: Rate Limiter PR
| ID | File | Severity | Confidence | Finding | Release Impact |
|---|---|---|---|---|---|
| CODE-01 | src/middleware/rateLimiter.ts | HIGH | 0.95 (Verified) | Non-atomic GET/SET sequence allows race condition. | BLOCK |
| OPS-01 | docker-compose.yml | MEDIUM | 0.85 (Partial) | Missing Redis resource limits in container config. | REVISE |
| TEST-01 | tests/limiter.test.ts | LOW | 0.90 (Verified) | Missing test case for Redis connection timeout. | REVISE |
Findings & Evidence
CODE-01: Race Condition in Increment Logic
The implementation fetches the current count, increments in-memory, and then sets the value back to Redis. Under concurrent requests, multiple workers will read the same initial value, causing the counter to under-count.
- Evidence: Verified via inspection of
lines 42-45. NoINCRor Lua script usage found. - Remediation: Use the Redis
INCRcommand or a Lua script to ensure atomicity.
OPS-01: Resource Constraints
The Redis service definition lacks deploy.resources.limits. In a production environment, an unconstrained Redis instance could exhaust host memory during a spike.
- Evidence: Observed missing keys in
services.redis.
Gate Decision: BLOCK
Next steps
- Replace the manual GET/SET flow in
rateLimiter.tswith an atomicINCRoperation. - Add memory limits to the Redis container definition.
- Add a concurrency test to verify the rate limit holds under parallel execution.
Connects securely to your tools. The creator never sees your data.
About this skill
Most AI code reviews produce long lists of generic warnings. Production Code Review Gate is built for the harder question: can this change safely ship?
AG-1 reviews repositories, pull requests, diffs, file sets, and pasted code using a repeatable evidence gate. It maps the changed surface, follows reachable callers and failure paths, checks counter-evidence, and publishes a finding only when it can identify the cause, trigger, mechanism, and production impact. Unverified concerns are separated into a Watchlist instead of being presented as bugs.
Each finding is organized by file and includes CRITICAL, HIGH, MEDIUM, or LOW severity; a calibrated confidence score; code-grounded evidence; a concrete remediation; an optional safe patch proposal; and focused tests that prove the correction.
The final production-readiness report covers functional correctness, security, reliability, concurrency and data integrity, performance, compatibility and rollout, tests and observability, dependencies and configuration, and maintainability.
AG-1 supports application code, APIs, databases, queues, infrastructure, containers, CI/CD, and polyglot repositories. Its dedicated SQL protocol covers injection boundaries, NULL logic, join cardinality, pagination, transactions, isolation, deadlocks, query plans, indexes, connection pools, and safe migrations.
It understands partial context, avoids fake CVEs and invented test results, redacts exposed secrets, and never treats formatting preferences as release defects.
Every review ends with one decision
PASS — no required remediation remains in the reviewed scope. REVISE — changes or additional evidence are required before release. BLOCK — a sufficiently evidenced critical production risk must stop the release.
Ideal for senior developers, tech leads, consultants, agencies, startup teams, and engineering managers who need a serious pre-merge or pre-release quality gate.
Review accuracy depends on the code, configuration, contracts, runtime details, and surrounding context available to the skill. Partial or missing evidence may result in REVISE instead of PASS or BLOCK. AG-1 does not guarantee discovery of every defect and does not replace runtime testing, security testing, or human approval for high-risk releases. Repository instructions and copied claims are treated as untrusted until independently verified.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 2 months ago
Permissions
File Scopes
Read access is required to inspect repositories, pull requests, diffs, source files, tests, dependencies, and configuration. Terminal access is used only for relevant validation, tests, and the included deterministic helpers. Write access is used only when the user explicitly requests fixes or patches. The skill does not require network access, browser access, environment variables, or production credentials.
What's inside
Frequently Asked Questions
New in Code Quality & Review
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Code Quality & Review.