CO

Reviews code against project-specific standards for Next.js and TypeScript.

Install

mkdir -p .claude/skills/code-review-gh0stfrk && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/15160" && unzip -o skill.zip -d .claude/skills/code-review-gh0stfrk && rm skill.zip

Installs to .claude/skills/code-review-gh0stfrk

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Review code changes in this Next.js portfolio/blog for correctness, security, performance, and maintainability
110 charsno explicit “when” trigger
Intermediate

Key capabilities

  • Verify code correctness and edge case handling
  • Check TypeScript types for accuracy and justified `any` usage
  • Ensure input validation and user-generated content sanitization
  • Confirm secrets are stored in environment variables, not source code
  • Assess performance by checking for Server Components and `next/image` usage
  • Evaluate maintainability based on file naming, component placement, and styling

How it works

This skill reviews code against predefined checklists for correctness, security, performance, and maintainability, then outputs structured feedback.

Inputs & outputs

You give it
Code changes or diff for a Next.js portfolio/blog project
You get back
A list of issues categorized by Severity (Blocking, Suggestion, Nit), Location (file and line number), Issue description, and Recommendation

When to use code-review

  • Review pull request
  • Check component performance
  • Verify security practices

About this skill

Code Review

Review the provided code or diff against the project's standards. Flag blocking issues and offer concrete suggestions.

Review Checklist

Correctness

  • Does the code behave as described? Are edge cases handled?
  • Are TypeScript types accurate? No use of any without justification?

Security

  • Are inputs validated before use? Is user-generated content sanitized before rendering?
  • Are secrets stored in environment variables, not source code?
  • Are error responses free of internal implementation details?

Performance

  • Are new components Server Components by default?
  • Are images using next/image with width, height, and alt?
  • Are large third-party libraries kept out of Client Components?

Maintainability

  • Does the code follow kebab-case file names and PascalCase component exports?
  • Are components placed in the correct directory (components/ vs app/)?
  • Is styling done exclusively with Tailwind utilities? Dark mode supported via dark: variant?
  • Is the markdown processing going through lib/blog.ts only?

Tests

  • Do new utilities and components have corresponding tests?
  • Do tests verify behavior, not implementation details?

Output Format

For each issue found:

  1. Severity: Blocking / Suggestion / Nit
  2. Location: file and line number
  3. Issue: what is wrong or could be improved
  4. Recommendation: specific fix or alternative

When not to use it

  • When the project is not a Next.js portfolio/blog
  • When the review does not involve correctness, security, performance, or maintainability
  • When the code changes are not related to the specified checklists

Limitations

  • The skill is specific to a Next.js portfolio/blog project
  • The skill requires styling to be done exclusively with Tailwind utilities
  • The skill expects markdown processing to go through `lib/blog.ts` only

How it compares

This workflow provides a structured, checklist-driven code review process, ensuring consistent evaluation against project standards, unlike an unstructured or ad-hoc review.

Compared to similar skills

code-review side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
code-review (this skill)03moNo flagsIntermediate
reviewing-nextjs-16-patterns118moReviewIntermediate
vercel-policy-guardrails01moReviewAdvanced
beforemerge-fullstack-architecture-review04moNo flagsAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry