review-deployment

review-deployment is a cursor rule for Cursor from sordi-ai/skill-everything. It costs 25 tokens per session (612 once invoked), scanned A, original, MIT.

A set of rules for reviewing code and preparing deployments, including tests, security checks, database migrations, rollback plans, and post-deployment checks.

In plain words
What is it for?
Use it before merging a pull request or deploying software to check correctness, security, performance, maintainability, migration order, rollback readiness, and verification.
Why use it?
It reduces the chance that untested code, unsafe changes, or poorly planned deployments reach users.

Cursor rule for Cursor

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/sordi-ai/skill-everything/review-deployment
Clone the repo
git clone --depth 1 https://github.com/sordi-ai/skill-everything

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for review-deployment

README.md
[![agentmods](https://agentmods.dev/badge/rules/sordi-ai/skill-everything/review-deployment.svg)](https://agentmods.dev/rules/sordi-ai/skill-everything/review-deployment)
Your own site
<a href="https://agentmods.dev/rules/sordi-ai/skill-everything/review-deployment"><img src="https://agentmods.dev/badge/rules/sordi-ai/skill-everything/review-deployment.svg" alt="Measured on agentmods" height="20"></a>
Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 612 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00025 $0.00612
Opus 5 $0.00013 $0.00306
Sonnet 5 $0.00005 $0.00122
Haiku 4.5 $0.00003 $0.00061

Measured 5d ago against content hash 28e0d1379c2a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

review-deployment scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/review-deployment.mdc · 76 lines

How it starts

The opening of the file, as written. The whole thing — 76 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Sub-Skill: Review & Deployment Process

Purpose: Prevents deployment accidents and ensures reviews are more than rubber-stamping. Concrete checklists the agent runs through before every PR and deployment.


PR Review Checklist (Agent runs this before opening a PR)

Correctness

  • All new functions have tests
  • Existing tests pass (npm test / pytest / etc.)
  • Edge cases covered: null/undefined, empty arrays, negative numbers
  • No TODO comments without a linked ticket

Security

  • No secrets or API keys in code (not even in comments)
  • User input is validated before flowing into DB queries or shell commands
  • New endpoints have authentication/authorization
  • No eval(), exec(), or dynamic SQL strings without prepared statements

Performance

  • No N+1 queries (database queries in loops)
  • Large datasets are paginated, not loaded entirely
  • New indexes for new WHERE clauses in queries

Maintainability

  • Complex logic is commented (the why, not the what)
  • No duplicated code blocks (DRY)
  • Dependencies updated in package.json / requirements.txt

Deployment Checklist

Before Deployment

  1. Check migrations: Are all DB migrations backward-compatible? (No DROP COLUMN without prior deprecation cycle)
  2. Feature flags: New features behind a feature flag? Especially for large changes.
  3. Rollback plan: How to roll back if something goes wrong? Documented?
  4. Monitoring: Are alerts set up for new critical paths?

Deployment Order (for microservices)

  1. First: Database migrations (additive changes)
  2. Then: Backend services (new version)
  3. Last: Frontend (new version)
  4. Never: Frontend before backend when there are API changes

After Deployment

  • Health check endpoint responds with 200
  • Error rate in monitoring not elevated (observe for 5 minutes)
  • Critical user flows manually tested (login, main feature, checkout)

Read the full file on GitHub · 76 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 76 lines · 25 tokens per session scan A 28e0d1379c2a

Subscribe to this mod's changes

review-deployment is a cursor rule published in the GitHub repository sordi-ai/skill-everything (20 stars, last pushed 3mo ago), licensed MIT. It adds 25 tokens to every session and 612 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.