CO
code-review
Review code changes in this Next.js portfolio/blog for correctness, security, performance, and maintainability
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.zipInstalls 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 maintainability110 charsno explicit “when” trigger
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
anywithout 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/imagewithwidth,height, andalt? - Are large third-party libraries kept out of Client Components?
Maintainability
- Does the code follow
kebab-casefile names andPascalCasecomponent exports? - Are components placed in the correct directory (
components/vsapp/)? - Is styling done exclusively with Tailwind utilities? Dark mode supported via
dark:variant? - Is the markdown processing going through
lib/blog.tsonly?
Tests
- Do new utilities and components have corresponding tests?
- Do tests verify behavior, not implementation details?
Output Format
For each issue found:
- Severity: Blocking / Suggestion / Nit
- Location: file and line number
- Issue: what is wrong or could be improved
- Recommendation: specific fix or alternative