Agent skill

Code Review

by shawnpang in shawnpang/startup-founder-skills

When the user asks for a code review, shares code for feedback, or says "review this", "check my code", "what's wrong with this".

MITAuto-check passedDevelopment

Install Code Review

skills CLI
$ npx skills add shawnpang/startup-founder-skills --skill code-review -a claude-code

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

GitHub CLI
$ gh skill install shawnpang/startup-founder-skills code-review --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/shawnpang/startup-founder-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/code-review .claude/skills/code-review && 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
GitHub stars
337
Token cost
~1.9k tokens
SKILL.md length
749 words
Files
1
Skills in repo
50
Repo updated
First seen
Licence
MIT

At a glance

When the user asks for a code review, shares code for feedback, or says "review this", "check my code", "what's wrong with this".

  • Works in 5 steps: Context — Understand and summarize the… → Structure — Evaluate architectural… → Details — Assess code quality across… → …
  • Asks for a code review
  • SKILL.md covers When to Use, Context Required, Workflow and Output Format, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Code Review is an agent skill from shawnpang/startup-founder-skills. When the user asks for a code review, shares code for feedback, or says "review this", "check my code", "what's wrong with this". Also activate when reviewing a pull request or diff.

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Code review and Pull requests. The repository describes itself as: AI agent skills for tech startup founders — fundraising, sales, product, recruiting, engineering, legal, ops, and growth. Works with Claude Code, Cursor, Codex, and any Agent… The licence is MIT.

When your agent uses it

  • Asks for a code review
  • Shares code for feedback
  • Says review this
  • Whats wrong with this

Example prompts

  • “review this”
  • “check my code”
  • “s wrong with this”
  • “/code-review”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Context — Understand and summarize the PR's purpose before any analysis. Recap the intent back to the user in 1-2 sentences. If unclear…
  2. Structure — Evaluate architectural decisions and design patterns
  3. Details — Assess code quality across multiple dimensions
  4. Tests — Validate test coverage with equal rigor as code review
  5. Feedback — Generate a prioritized, categorized report with specific code examples and concrete improvements. Recognize strong patterns and…

What it can do on your machine

Read from SKILL.md and the folder at commit 4ad31b4. 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

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

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

  • Network

    No URLs in SKILL.md.

    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 loads about 1.9k tokens when it runs. Until then it costs about 49 tokens; SKILL.md has 749 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~49
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k

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 shawnpang/startup-founder-skills at commit 4ad31b4, republished under its MIT licence (© shawnpang). 749 words, ~1,914 tokens.

Download SKILL.mdSave it as .claude/skills/code-review/SKILL.md (or your agent's skills folder).
name
code-review
description
When the user asks for a code review, shares code for feedback, or says "review this", "check my code", "what's wrong with this". Also activate when reviewing a pull request or diff.
related
security-review, architecture-design
reads
startup-context

Code Review

When to Use

  • The user shares code (file, snippet, or diff) and asks for feedback
  • They paste a pull request or want to know if code is production-ready
  • Pre-merge quality gate or bug hunting
  • Reviewing architectural decisions in a PR

Context Required

From startup-context: tech stack, product stage, team size. Also need from the user:

  • The code or diff to review
  • What the code is supposed to do (PR purpose or feature context)
  • Any specific concerns (performance, security, correctness)
  • Language and framework if not obvious from the code

Workflow

Follow a structured five-step methodology. Each step must be completed before moving to the next.

  1. Context — Understand and summarize the PR's purpose before any analysis. Recap the intent back to the user in 1-2 sentences. If unclear, ask before proceeding. Never start reviewing without understanding what the code is trying to accomplish.
  2. Structure — Evaluate architectural decisions and design patterns:
    • Does the code belong in the right module/layer?
    • Are abstractions appropriate (not too many, not too few)?
    • Does this change align with the existing codebase patterns?
    • For non-obvious design choices, acknowledge the author's reasoning before proposing alternatives.
  3. Details — Assess code quality across multiple dimensions:
    • Correctness: Logic errors, off-by-one bugs, null/undefined handling, race conditions, edge cases
    • Security: OWASP Top 10 baseline — injection, broken auth, data exposure, XSS, access control, misconfig, insecure deserialization, vulnerable components
    • Performance: N+1 queries, unnecessary re-renders, O(n^2) on large datasets, missing caching, memory leaks
    • Naming and clarity: Do names communicate intent? Are functions focused on a single responsibility?
  4. Tests — Validate test coverage with equal rigor as code review:
    • Are behavioral assertions present (not just implementation testing)?
    • Are edge cases and error paths covered?
    • Are tests brittle or resilient to refactoring?
    • What test cases are missing?
  5. Feedback — Generate a prioritized, categorized report with specific code examples and concrete improvements. Recognize strong patterns and good decisions explicitly.

Output Format

markdown
# Code Review: [Feature/File Name]

## Summary
One-paragraph assessment: what the PR does, whether it is ready to merge, needs minor fixes, or needs rework.

## Findings

### Critical (must fix before merge)
- **[CRT-1] Title** — file:line — description, why it matters, suggested fix with code example

### Major (should fix before merge)
- **[MAJ-1] Title** — file:line — description, why it matters, suggested fix

### Minor (fix when convenient)
- **[MIN-1] Title** — file:line — description, suggestion

### Positive (things done well)
- **[POS-1] Title** — file:line — what was done well and why it matters

## Questions
Clarifying questions about non-obvious design choices before blocking on them.

## Suggested Tests
- Test case 1
- Test case 2

Frameworks & Best Practices

Severity Definitions
SeverityDefinitionAction
CriticalSecurity vulnerability, data loss risk, crash in production, broken core functionalityBlock merge
MajorSignificant bug, performance regression, missing error handling on critical path, architectural violationShould fix before merge
MinorStyle issue, naming improvement, minor optimization, documentation gapFix when convenient
PositiveWell-written code, good pattern usage, thoughtful error handlingAcknowledge and reinforce
Review Principles
  • Always ground feedback in specifics. Every finding must reference a file, line, and include a concrete improvement — not just "this could be better."
  • Recognize good work explicitly. Call out strong patterns, clean abstractions, and thoughtful error handling. Reviews that only flag problems are demoralizing and incomplete.
  • Acknowledge author reasoning. For non-obvious choices, assume the author had a reason. Ask before overriding. Phrase as "I see you chose X — was that because of Y? If so, consider Z as an alternative."
  • Do not block on style when automated tooling handles it. Linting and formatting are the job of CI, not reviewers. Focus on logic, architecture, and correctness.
  • Treat test review with equal weight. Tests are not an afterthought. Missing tests for critical paths is a major finding, not a minor one.
Show full SKILL.md (240 more words)Show less
OWASP Top 10 Quick Checks
  1. Injection — Are user inputs parameterized? Check SQL, NoSQL, OS command, LDAP
  2. Broken Auth — Sessions secure? Tokens rotated? Passwords hashed (bcrypt/argon2)?
  3. Sensitive Data Exposure — Secrets in env vars (not code)? PII encrypted at rest?
  4. XXE — XML parsing disabled or configured to reject external entities?
  5. Broken Access Control — Every endpoint checks authorization, not just authentication?
  6. Misconfiguration — Debug modes off? CORS restrictive? Security headers set?
  7. XSS — Outputs encoded? No dangerouslySetInnerHTML / v-html with user data?
  8. Insecure Deserialization — Serialized objects from untrusted sources validated?
  9. Vulnerable Components — Dependencies up to date? Any known CVEs?
  10. Insufficient Logging — Auth failures, access violations, and errors logged?
N+1 Query Detection
  • Looping over a collection and making a DB call per item
  • ORM lazy loading inside a loop (e.g., user.posts in a for user in users loop)
  • GraphQL resolvers fetching related data per parent without DataLoader
  • Fix: Eager loading, batch queries, or DataLoader pattern
Language-Agnostic Red Flags
  • Functions longer than 40 lines or more than 3 levels of nesting
  • Boolean params that change behavior (use separate functions)
  • Catch blocks that swallow exceptions silently
  • Hardcoded values that should be configuration
  • Missing input validation on public API boundaries
  • security-review — chain for a deep-dive security audit when critical security findings surface
  • architecture-design — chain when code review reveals structural problems that need architectural rethinking

Examples

Example prompt: "Review this Express route handler for creating users."

Good output snippet:

# Code Review: POST /api/users Handler

## Summary
The handler creates users but has a critical SQL injection vulnerability and missing
input validation. Needs fixes before merge. Clean async/await usage is a positive.

## Findings
### Critical
- **[CRT-1] SQL Injection** — routes/users.js:14 — Email interpolated
  directly into SQL string. Use parameterized queries:
  `db.query('INSERT INTO users (email) VALUES ($1)', [email])`

### Major
- **[MAJ-1] No input validation** — routes/users.js:12 — Email from
  `req.body` used with no validation. Add zod/joi schema validation.
- **[MAJ-2] Missing error handling** — routes/users.js:18 — DB errors
  propagate as 500 with stack trace. Wrap in try/catch, return generic error.

### Positive
- **[POS-1] Clean async/await** — routes/users.js:11 — Easy to follow,
  no callback nesting.

## Questions
- Is there a validation middleware already in the project that should be reused here?

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

Files

Just SKILL.md in skills/code-review of shawnpang/startup-founder-skills.

Open the folder on GitHubat commit 4ad31b4

Compare with similar skills

Code Review 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 compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Code Review this skillshawnpang/startup-founder-skills337—~1.9kAutomated safety check: PassMIT
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Understand Diff AnalysisEgonex-AI/Understand-Anything85k1 repos~1.4kAutomated safety check: PassMIT
WooCommerce Code Reviewwoocommerce/woocommerce11k3 repos~1.1kAutomated safety check: PassCustom licence
Open Code Review CLIalibaba/open-code-review44k—~3.1kAutomated safety check: PassApache-2.0
GitHub Review Iterationprisma/orm48k—~2.2kAutomated safety check: PassApache-2.0

Similar skills

  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Understand Diff Analysis

    Egonex-AI/Understand-Anything

    Reads your git changes or a pull request against a prebuilt knowledge graph of the project to explain what changed, which components are affected and what is risky.

    85k GitHub starsUsed in 1 repo~1.4k tokens
    DevelopmentAuto-check passed
  • WooCommerce Code Review

    woocommerce/woocommerce

    Reviews WooCommerce code changes against the project's standards, flagging backend PHP architecture, naming, documentation, data integrity and testing violations.

    11k GitHub starsUsed in 3 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Open Code Review CLI

    alibaba/open-code-review

    Runs the ocr command-line tool to review Git changes, a commit or a branch comparison with an AI model, returning line-level comments and optionally applying fixes.

    44k GitHub stars~3.1k tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Official

    Runs a loop on a GitHub pull request: fetch review state, triage comments into actions, implement them and resolve threads, repeating until nothing actionable is left.

    48k GitHub stars~2.2k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • PR Finalize Review

    microsoft/garnet

    Official

    Checks that a pull request's title and description match its implementation and reviews the code for Garnet best practices, reporting findings without posting them.

    12k GitHub stars~3.1k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from shawnpang/startup-founder-skills

All 50 skills in this repo
  • Accelerator Application

    shawnpang/startup-founder-skills

    When the user wants to apply to startup accelerators, incubators, or fellowship programs.

    337 GitHub stars~2.7k tokensUpdated 6 mo ago
    Auto-check passed
  • Architecture Design

    shawnpang/startup-founder-skills

    When the user needs to design or evaluate system architecture — service boundaries, data models, API contracts, infrastructure topology, database selection, or dependency analysis.

    337 GitHub stars~2.1k tokensUpdated 6 mo ago
    Auto-check passed
  • Board Update

    shawnpang/startup-founder-skills

    When the user needs to write a monthly or quarterly investor update, prepare a board deck, or communicate company progress to stakeholders.

    337 GitHub stars~2.3k tokensUpdated 6 mo ago
    Auto-check passed
  • Churn Analysis

    shawnpang/startup-founder-skills

    When the user needs to identify at-risk accounts, understand why customers are leaving, reduce churn rate, build health scores, design save plays, or create win-back campaigns.

    337 GitHub stars~2.3k tokensUpdated 6 mo ago
    Auto-check passed
  • Cicd Setup

    shawnpang/startup-founder-skills

    When the user needs to set up or improve CI/CD pipelines — GitHub Actions, GitLab CI, deployment automation, or says "set up CI", "automate deployment", "add tests to pipeline", "fix my build".

    337 GitHub stars~1.7k tokensUpdated 6 mo ago
    Auto-check passed
  • Cold Outreach

    shawnpang/startup-founder-skills

    When a founder needs to write cold emails or LinkedIn messages to prospects, partners, or investors.

    337 GitHub stars~1.8k tokensUpdated 6 mo ago
    Auto-check passed

Categories

Questions about Code Review

What does Code Review do?

When the user asks for a code review, shares code for feedback, or says "review this", "check my code", "what's wrong with this". Code Review is an agent skill from shawnpang/startup-founder-skills. When the user asks for a code review, shares code for feedback, or says "review this", "check my code", "what's wrong with this".

When should I use Code Review?

Code Review fits situations like: asks for a code review; shares code for feedback; says review this; whats wrong with this.

How do I install Code Review in Claude Code?

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

How do I install Code Review in Codex?

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

Can I use Code Review 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 shawnpang/startup-founder-skills --skill code-review -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, .gemini/skills/code-review, .github/skills/code-review and .opencode/skills/code-review in your project.

What does Code Review need to run?

SKILL.md names no scripts, command-line tools or credentials: Code Review is instructions for the agent only.

Does Code Review access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Code Review 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 use?

Code Review 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 use?

About 1.9k tokens (SKILL.md is roughly 7.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Code Review?

Skills that share tags, products or a category with Code Review: PR Babysitter (openinterpreter/openinterpreter, 69k stars), Understand Diff Analysis (Egonex-AI/Understand-Anything, 85k stars), WooCommerce Code Review (woocommerce/woocommerce, 11k stars) and Open Code Review CLI (alibaba/open-code-review, 44k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Code Review?

shawnpang (a GitHub user) maintains it in shawnpang/startup-founder-skills, which has 337 GitHub stars. The repository holds 50 skills in this directory. The repository was last updated on March 16, 2026.

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