Agent skill

Code Review Web

by rampstackco in rampstackco/claude-skills

Review web application code for bugs, security issues, performance problems, and stack-specific anti-patterns.

MITAuto-check passedDevelopment

Install Code Review Web

skills CLI
$ npx skills add rampstackco/claude-skills --skill code-review-web -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install rampstackco/claude-skills code-review-web --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/rampstackco/claude-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/code-review-web .claude/skills/code-review-web && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
code-review-web
GitHub stars
935
Token cost
~2.7k tokens
SKILL.md length
1,350 words
Files
5 (incl. references)
Skills in repo
103
Repo updated
First seen
Licence
MIT

At a glance

Review web application code for bugs, security issues, performance problems, and stack-specific anti-patterns.

  • Works in 5 steps: Correctness → Security → Performance → …
  • The user wants to review code
  • SKILL.md covers When to use, When NOT to use, Required inputs and The framework: 5 review…, plus 6 more sections
  • Calls git

What it does

Code Review Web is an agent skill from rampstackco/claude-skills. 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, environment…

Its SKILL.md is about 2.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `README.md`, `references/nextjs-patterns.md` and `references/review-template.md`).

It sits in Development, covering Code review, Pull requests and Secrets management. The repository describes itself as: Stack-agnostic Claude Skills covering the full website lifecycle: brand, design, content, SEO, dev, ops, growth, and research. Build, ship, audit, optimize. The licence is MIT.

When your agent uses it

  • The user wants to review code
  • Debug a production issue
  • Investigate a build failure
  • Check a PR before merging

Example prompts

  • “/code-review-web”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Correctness
  2. Security
  3. Performance
  4. Reliability
  5. Maintainability

What it can do on your machine

Read from SKILL.md and the folder at commit 482c9bf. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Code Review Web loads about 2.7k tokens when it runs, and up to ~7.8k if it reads all its reference files. Until then it costs about 144 tokens; SKILL.md has 1,350 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~144
When it runs · the whole SKILL.md, loaded when a task matches
~2.7k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~7.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from rampstackco/claude-skills at commit 482c9bf, republished under its MIT licence (© rampstackco). 1,350 words, ~2,676 tokens.

Download SKILL.mdSave it as .claude/skills/code-review-web/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
code-review-web
description
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, environment variable issues, and CMS integration problems.
category
development
catalog_summary
PR review, build error diagnosis, security and quality checks
display_order
1

Code Review for Web

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.


When to use

  • Reviewing a pull request before merging
  • Debugging a production issue
  • Investigating a build failure
  • Auditing security or performance of existing code
  • Investigating environment variable or configuration issues
  • Triaging a "the site is broken" report

When NOT to use

  • Writing a new feature spec (use pm-spec-writing)
  • Pre-launch QA against the running site (use qa-testing)
  • Performance deep-dive on Core Web Vitals (use performance-optimization)
  • Deep accessibility compliance review (use accessibility-audit)

Required inputs

  • The code, PR, error message, or symptom under review
  • Access to logs (build logs, function logs, server logs) if debugging
  • The stack (framework, hosting, database) - even at high level

If just a symptom is provided ("the site is broken"), the workflow's first step is gathering enough context to investigate.


The framework: 5 review dimensions

Every code review covers five dimensions. Pick the depth based on the situation.

1. Correctness

Does the code do what it claims to do?

  • Logic matches the intent stated in the spec or PR description
  • Edge cases handled (empty states, error states, network failures)
  • Off-by-one errors, null/undefined handling, async race conditions
  • Tests exist for the change, or there's a reason they don't
  • The change does not break existing functionality (regression risk)
2. Security

Does the code expose anything sensitive or open an attack surface?

  • Secrets handling. No secrets, API keys, or service-role credentials in client-side code or version control
  • Auth checks. Every mutation endpoint validates the caller before acting
  • Input validation. User input sanitized before use in queries, file paths, or HTML
  • External requests. Outbound URLs validated; no SSRF on user-controlled inputs
  • CSRF protection. State-changing requests require a token or same-origin policy
  • Rate limiting. Public-facing mutation endpoints have rate limits
  • HTTPS-only. No HTTP in production code paths
  • Cookies. Session cookies have Secure, HttpOnly, SameSite attributes set
  • Environment variables. Server-only secrets are not prefixed with anything that exposes them to the client bundle
3. Performance

Will this code scale and stay fast?

  • Database queries. No N+1 patterns. Joins or batch fetches preferred over loops with queries.
  • Pagination. Large result sets paginated, never loaded entirely.
  • Caching. Appropriate cache strategy for the data freshness needs.
  • Bundle size. Client-side dependencies justified. Tree-shaking working.
  • Image handling. Modern formats, lazy loading, explicit dimensions.
  • Background work. Slow operations moved off the request path.
  • Cold start sensitivity. Cold paths optimized if frequently triggered.
4. Reliability

What happens when this fails?

  • Error handling. Caught and handled, not swallowed. Errors logged with context.
  • Retries. Network calls have retry logic for transient failures.
  • Timeouts. External calls have explicit timeouts (no infinite waits).
  • Graceful degradation. Failure of non-critical paths does not crash the page.
  • Idempotency. Mutations that might be retried are safe to retry.
  • Logging. Enough context in logs to diagnose without reproducing.
5. Maintainability

Will the next person (or future you) understand this in six months?

  • Naming. Functions and variables named for what they do, not how.
  • Comments. Explain why, not what. The code says what.
  • Complexity. Functions do one thing. If a function takes 200 lines, it's doing too much.
  • Duplication. Same logic in multiple places gets extracted.
  • Dependencies. New dependencies justified. Each one is a maintenance burden.
  • Magic values. No literal 60000 in code. Use named constants.

Common bug patterns (stack-agnostic)

Patterns that recur across stacks and are worth checking on every review.

Build and deploy
  • Build-time data fetches that timeout. Routes that query a database during static generation can fail at scale. Mark them as runtime-rendered if the data must be fresh.
  • Environment variables not propagating. A var that works locally but breaks in production usually means it was not added to the production environment.
  • Mismatched env between preview and production. Deploys that work in preview but break on the production domain often have stack-specific URLs hardcoded.
URL and domain issues
  • Canonical pointing at staging or preview URL. Caused by client-exposed environment variables that pick up the wrong domain. Canonical domain should come from a server-only environment variable.
  • API URL pointing at the main domain that loops back. After a DNS cutover, the main domain may now serve a different application. APIs should live on dedicated subdomains.
  • HTTPS upgrade issues. Mixed content (HTTP resources loaded into HTTPS pages) breaks browsers' security model.
Cache invalidation
  • Stale content after deploy. Either the cache was not invalidated, or the invalidation requires a manual trigger that did not run.
  • CDN serving old asset under same filename. Always use a new filename or cache-bust query string when replacing assets.
  • Cache headers too aggressive. Long max-age on resources that change frequently leads to users seeing stale content for hours or days.
Show full SKILL.md (569 more words)Show less
Database and data
  • N+1 queries. Loop with a query inside the loop. Replace with batch fetch or join.
  • Missing limits on table scans. Forgetting LIMIT on queries that hit large tables.
  • Connection pool exhaustion. Too many concurrent connections, often from build-time fetches in parallel routes.
  • Schema migration without backfill. Adding a NOT NULL column without populating it for existing rows.
Image handling
  • Image not loading after upload. CDN cached the previous filename. Use new filenames for replacements.
  • Layout shift from images. Missing width/height attributes. Always specify both.
  • Slow LCP from large images. Hero images not optimized for size or format.
External integrations
  • Bot mitigation blocking server-to-server calls. CDN or firewall is challenging legitimate automated traffic. Whitelist server IPs or disable challenges for API endpoints.
  • API rate limit triggered in production. Worked locally where traffic was tiny. Add backoff and rate limiting awareness.
Security
  • Unprotected revalidation or admin endpoints. Always require a secret token.
  • PII in URLs. Visible in server logs, browser history, referrer headers.
  • Secrets exposed in client bundle. Anything that gets sent to the browser is public.

Workflow

  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).
  4. Check stack-specific patterns. Reference the appropriate stack guide.
  5. For incidents: identify the smallest hypothesis-driven fix. Reproduce locally if possible.
  6. Write the review. Use the template in references/review-template.md for formal reviews.

Failure patterns

  • "Looks good to me" on a 500-line PR. If the review takes 5 minutes on a large PR, the review didn't happen.
  • Reviewing without running the code. Some bugs only surface at runtime. Pull the branch and run it.
  • Over-indexing on style. Bikeshedding on formatting while missing logic bugs.
  • Skipping security review on "internal" features. Internal becomes external faster than expected.
  • Treating warnings as decoration. Build warnings often become production errors after a dependency update.
  • Debugging without reading the full error message. First line of the stack trace is often not the actual cause. Read all of it.

Debugging workflow

When a production issue is reported:

  1. Read the full error message. Including the stack trace.
  2. Check hosting build and function logs. The exact failing line is usually here.
  3. Identify the last working version. git log --oneline and check recent commits.
  4. Reproduce locally. Confirms it's a code issue and not an environment issue.
  5. Check environment variables. Especially after deploys or DNS changes.
  6. Check cache state. Force a cache invalidation before concluding it's a code bug.
  7. Make the minimal fix. Big refactors during incidents create more incidents.
  8. Verify in production. Check the actual fix worked, not just that the deploy succeeded.
  9. Document. What was the root cause? What would have prevented it? File the learnings.

Output format

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:

  1. Scope (what was reviewed)
  2. Summary (overall assessment)
  3. Critical issues (blockers)
  4. Important issues
  5. Minor issues
  6. Suggestions for follow-up

For incidents: a postmortem document. See after-action-report for that format.


Reference files

© rampstackco, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (references) in skills/code-review-web of rampstackco/claude-skills.

  • SKILL.md
  • README.md
  • references/nextjs-patterns.md
  • references/review-template.md
  • references/wordpress-headless-patterns.md

Open the folder on GitHubat commit 482c9bf

Compare with similar skills

Code Review Web next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Code Review Web compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Code Review Web this skillrampstackco/claude-skills935—~2.7kAutomated safety check: PassMIT
Code Review Skillawesome-skills/code-review-skill2.1k—~2.8kAutomated safety check: NotesMIT
Verdaccio Code Reviewverdaccio/verdaccio18k—~853Automated safety check: PassMIT
Bug Huntercodexstar69/bug-hunter519—~5kAutomated safety check: PassMIT
Code Review SkillRain-kl/OpenFlare288—~2.3kAutomated safety check: NotesMIT
Code ReviewBenCodez/VotingPlugin100—~4.4kAutomated safety check: PassCustom licence

Similar skills

  • Code Review Skill

    awesome-skills/code-review-skill

    Provides comprehensive code review guidance for React 19, Vue 3, Angular 17+, Svelte 5, Rust, TypeScript, Java, Java 8, PHP, Ruby, Rails, Python, Django, FastAPI, Go, C/.NET, Kotlin, Swift, Dart…

    2.1k GitHub stars~2.8k tokensUpdated 29 days ago
    DevelopmentAuto-check: notes
  • Verdaccio Code Review

    verdaccio/verdaccio

    Reviews a verdaccio diff, branch or PR against the repository's review guide, verifies each finding in the code and reports only actionable issues.

    18k GitHub stars~853 tokensUpdated today
    DevelopmentAuto-check passed
  • Bug Hunter

    codexstar69/bug-hunter

    Precision-first adversarial bug hunting for runtime, logic, data, concurrency, and security defects.

    519 GitHub stars~5k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Code Review Skill

    Rain-kl/OpenFlare

    Provides comprehensive code review guidance for React 19, Vue 3, Angular 17+, Svelte 5, Rust, TypeScript, Java, PHP, Python, Django, Go, C/.NET, Kotlin, Swift, NestJS, C/C++, and more.

    288 GitHub stars~2.3k tokensUpdated today
    DevelopmentAuto-check: notes
  • Code Review

    BenCodez/VotingPlugin

    Review VotingPlugin pull requests, branch diffs, commits, and explicitly included local changes before publishing.

    100 GitHub stars~4.4k tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Code Review Excellence

    andrew-yangy/gru-ai

    Provides comprehensive code review guidance for React 19, Vue 3, Rust, TypeScript, Java, Python, and C/C++.

    155 GitHub stars~1.7k tokensUpdated 7 mo ago
    DevelopmentAuto-check: notes

More from rampstackco/claude-skills

All 103 skills in this repo
  • After Action Report

    rampstackco/claude-skills

    Run a structured after-action review (postmortem, retrospective) on a launch, incident, or completed project to capture timeline, root cause analysis, contributing factors, and actionable lessons.

    935 GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed
  • Analytics Strategy

    rampstackco/claude-skills

    Design measurement frameworks including event taxonomy, KPI hierarchy, dashboard architecture, attribution models, and analytics implementation strategy.

    935 GitHub starsUsed in 1 repo~2.4k tokens
    Auto-check passed
  • Brand Style Guide

    rampstackco/claude-skills

    Build or audit a comprehensive brand style guide that documents the full brand system including story, logo system, color, typography, imagery, voice, applications, and dos/don'ts.

    935 GitHub stars~2.1k tokensUpdated today
    Auto-check passed
  • Brand Voice

    rampstackco/claude-skills

    Develop or document a complete brand voice and tone system covering voice attributes, tone shifts by context, vocabulary preferences, grammar rules, and copy examples.

    935 GitHub stars~2.2k tokensUpdated today
    Auto-check passed
  • Content And Copy

    rampstackco/claude-skills

    Write or edit website copy, blog content, and editorial pieces with attention to voice, structure, and goal.

    935 GitHub stars~2.1k tokensUpdated today
    Auto-check passed
  • Content Strategy

    rampstackco/claude-skills

    Develop a content strategy covering editorial positioning, content pillars, formats, calendar, governance, and topical authority planning.

    935 GitHub stars~2.6k tokensUpdated today
    Auto-check passed

Categories

Questions about Code Review Web

What does Code Review Web do?

Review web application code for bugs, security issues, performance problems, and stack-specific anti-patterns. Code Review Web is an agent skill from rampstackco/claude-skills. Review web application code for bugs, security issues, performance problems, and stack-specific anti-patterns.

When should I use Code Review Web?

Code Review Web fits situations like: the user wants to review code; debug a production issue; investigate a build failure; check a PR before merging.

How do I install Code Review Web in Claude Code?

Run `npx skills add rampstackco/claude-skills --skill code-review-web -a claude-code`. Or copy the skill folder (skills/code-review-web in rampstackco/claude-skills) into .claude/skills/code-review-web in your project. Claude Code loads it when a task matches its description.

How do I install Code Review Web in Codex?

Run `npx skills add rampstackco/claude-skills --skill code-review-web -a codex`. Or copy the skill folder (skills/code-review-web in rampstackco/claude-skills) into .agents/skills/code-review-web in your project. Codex loads it when a task matches its description.

Can I use Code Review Web in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add rampstackco/claude-skills --skill code-review-web -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/code-review-web, .gemini/skills/code-review-web, .github/skills/code-review-web and .opencode/skills/code-review-web in your project.

What does Code Review Web need to run?

Going by SKILL.md and its folder, Code Review Web needs the command-line tools its instructions call (git).

Does Code Review Web access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Code Review Web safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Code Review Web use?

Code Review Web is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Code Review Web use?

About 2.7k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5.1k tokens, read only when the agent opens those files.

What are the alternatives to Code Review Web?

Skills that share tags, products or a category with Code Review Web: Code Review Skill (awesome-skills/code-review-skill, 2.1k stars), Verdaccio Code Review (verdaccio/verdaccio, 18k stars), Bug Hunter (codexstar69/bug-hunter, 519 stars) and Code Review Skill (Rain-kl/OpenFlare, 288 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Code Review Web?

rampstackco (a GitHub organization) maintains it in rampstackco/claude-skills, which has 935 GitHub stars. The repository holds 103 skills in this directory. The repository was last updated on October 7, 2026.

Source: rampstackco/claude-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.