Skip to content
Development
Skill

/review-deployment

Apply when reviewing code or planning a deployment. Pre-merge checks, migration ordering, rollback strategy, post-deploy verification.

From plugin
skill-everything
2123 skills

Claude Code

$ npx -y skills add sordi-ai/skill-everything --skill review-deployment --agent claude-code

SKILL.md

review-deployment.SKILL.md
name: review-deployment
description: Apply when reviewing code or planning a deployment. Pre-merge checks, migration ordering, rollback strategy, post-deploy verification.
license: MIT
version: 1.0.0
tokens_target: 800
triggers:
  - creating PR
  - deployment
  - review checklist
loads_after:
  - git-conventions
supersedes: []

Sub-Skill: Review & Deployment Process

<!-- target: ~800 tokens (real tiktoken count) -->

**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)

---

Escalation Rules

| Situation | Action | |-----------|--------| | Test coverage drops below 70% | Block PR, request additional tests | | Security vulnerability in dependency | Patch immediately, no merge until fixed | | Production errors > 1% error rate | Rollback immediately, then analyze | | Deployment takes > 30 min | Abort, investigate root cause |

---

Why This Sub-Skill Earns Stars

The agent never forgets security checks or deployment order. Every PR is reviewed as if a senior developer went through the checklist — automatically.

Read more
@sordi-ai
Ships withskill-everything

Git-versioned agent memory: agents that never make the same mistake twice. Anthropic-Skill folder standard, multi-runtime (Claude Code, Cursor, Gemini CLI, OpenCode).

Stars on GitHub

Momentum

stars in total
21
Star history of sordi-ai/skill-everything on GitHub, a chart by star-history.com

Other skills on skill-everything.

code-quality

code-quality

Apply when writing or refactoring code. Generic rules to prevent the most common review comments — function length, naming, error…

db-schema

db-schema

Apply when designing database schemas, writing migrations, or reviewing table structure. Covers naming, keys, indexes,…

debugging

debugging

Apply when diagnosing a bug, reproducing a failure, or performing root cause analysis. Covers systematic isolation, binary…

docker

docker

Apply when writing or reviewing Dockerfiles, docker compose files, or container build pipelines. Covers layer caching,…

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react5d252k
@facebook@facebookInstall Skill

Questions about review-deployment.

Which coding agents can use review-deployment?
review-deployment installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.