Agent skill

code-review

Review code for bugs, security issues, performance problems, and best practices. Provide actionable feedback.

Stars 10,600
Forks 1,258

Install this agent skill to your Project

npx add-skill https://github.com/accomplish-ai/accomplish/tree/main/apps/desktop/bundled-skills/code-review

SKILL.md

Code Review

This skill provides thorough code review with actionable feedback.

Review Checklist

Correctness

  • Logic errors
  • Edge cases not handled
  • Incorrect assumptions

Security

  • Input validation
  • SQL injection
  • XSS vulnerabilities
  • Hardcoded secrets

Performance

  • Unnecessary loops
  • N+1 queries
  • Memory leaks
  • Inefficient algorithms

Maintainability

  • Code clarity
  • Naming conventions
  • Function length
  • Documentation

Best Practices

  • DRY (Don't Repeat Yourself)
  • SOLID principles
  • Error handling
  • Testing coverage

Output Format

For each issue found:

  1. Location: File and line number
  2. Severity: Critical / Warning / Suggestion
  3. Issue: What the problem is
  4. Fix: How to resolve it

Examples

  • "Review this function for security issues"
  • "Check my PR for bugs"
  • "Review the authentication code"

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