Agent skill

code-review

Reviews code for bugs, security issues, and best practices

Stars 19,949
Forks 1,714

Install this agent skill to your Project

npx add-skill https://github.com/promptfoo/promptfoo/tree/main/examples/claude-agent-sdk/skills/sample-project/.claude/skills/code-review

SKILL.md

Code Review Skill

Review the provided code for:

  1. Bugs: Logic errors, off-by-one errors, null/undefined handling
  2. Security: Input validation, injection vulnerabilities, hardcoded secrets
  3. Best practices: Naming conventions, error handling, code structure

Format your review as a list of findings with severity (high/medium/low) and suggested fixes.

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results