Best for
- Reviewing a pull request before merging
- Debugging a production issue
- Investigating a build failure
rampstackco/claude-skills/skills/code-review-web/SKILL.md
Review web application code for bugs, security issues, performance problems, and stack-specific anti-patterns. Use this skill whenever the user wants to review code, debug a production issue, investigate a build failure, audit security, or check a PR before merging. Triggers on code review, review my code, debug, build error, broken, not working, why is X failing, check this code, security check, PR review, audit code, refactor. Also triggers when investigating 4xx or 5xx errors, deploy failures
Decision brief
Review and debug web application code with a focus on the patterns that actually break production. Stack-agnostic principles in SKILL.md. Stack-specific patterns in references.
Compatibility matrix
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/rampstackco/claude-skills --skill "skills/code-review-web"Inspect the Agent Skill "code-review-web" from https://github.com/rampstackco/claude-skills/blob/a67dd34c609f034c0cfd736a348659bbdf1605bf/skills/code-review-web/SKILL.md at commit a67dd34c609f034c0cfd736a348659bbdf1605bf. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
Every code review covers five dimensions. Pick the depth based on the situation.
1. Gather context. What stack? What's broken or under review? Logs available? 2. Pick the depth. Quick scan for a small PR. Full review for a major change. Deep dive for a production incident. 3. Run through the 5 dimensions. Note issues by severity (blocker, important, minor).…
When a production issue is reported:
Reviewing a pull request before merging
Writing a new feature spec (use pm-spec-writing)
Permission review
No configured static risk pattern was detected
This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.
Evidence record
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 91/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 779 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Review and debug web application code with a focus on the patterns that actually break production. Stack-agnostic principles in SKILL.md. Stack-specific patterns in references.
pm-spec-writing)qa-testing)performance-optimization)accessibility-audit)If just a symptom is provided ("the site is broken"), the workflow's first step is gathering enough context to investigate.
Every code review covers five dimensions. Pick the depth based on the situation.
Does the code do what it claims to do?
Does the code expose anything sensitive or open an attack surface?
Secure, HttpOnly, SameSite attributes setWill this code scale and stay fast?
What happens when this fails?
Will the next person (or future you) understand this in six months?
60000 in code. Use named constants.Patterns that recur across stacks and are worth checking on every review.
LIMIT on queries that hit large tables.references/review-template.md for formal reviews.When a production issue is reported:
git log --oneline and check recent commits.For PR reviews: comments inline on the PR, plus a summary if needed.
For formal code reviews: a markdown document at code-review-[date].md with:
For incidents: a postmortem document. See after-action-report for that format.
references/review-template.md - Markdown template for formal code reviews.references/nextjs-patterns.md - Stack-specific patterns for Next.js (App Router, ISR, Server Components, common bugs).references/wordpress-headless-patterns.md - Stack-specific patterns for headless WordPress integrations.Frequently asked questions
Review and debug web application code with a focus on the patterns that actually break production. Stack-agnostic principles in SKILL.md. Stack-specific patterns in references.
The source record exposes this install command: npx skills add https://github.com/rampstackco/claude-skills --skill "skills/code-review-web". Inspect the command and pinned source before running it.
Alternatives
VincentChuWaiChow/vanguard-frontier-agentic
Executes Apex tests against a connected SANDBOX org via sf apex run test, parses results and coverage delta, identifies failures with stack traces, and suggests fixes. T1 read-only runtime (sandbox-only). Production org targets are HARD REFUSED before any API call. TRIGGER when: user wants to run Apex tests, execute a test class, check test coverage, diagnose test failures, or validate coverage before deployment. Trigger phrases: run apex tests, execute test class, test my changes, check test co
ZaxbyHub/opencode-swarm
Apply when committing, pushing, opening or updating a PR, writing a pull request, creating release notes, or closing out remote CI. Enforces the opencode-swarm invariant audit, release-note fragment workflow, full validation suite, issue comment requirement, and post-PR lifecycle rules.
agents-inc/skills
Infrastructure code review patterns. Use when reviewing CI/CD workflows, Dockerfiles, deployment configs, and IaC. Covers supply-chain pinning, secret exposure, container hygiene, least-privilege permissions, and deployment safety.
wanshuiyin/Auto-claude-code-research-in-sleep
Use it for code review and deployment tasks; the detail page covers purpose, installation, and practical steps.