Agent skill

code-review

Code review assistance with linting, style checking, and best practices

Stars 39,100
Forks 5,189

Install this agent skill to your Project

npx add-skill https://github.com/agno-agi/agno/tree/main/cookbook/02_agents/16_skills/sample_skills/code-review

Metadata

Additional technical details for this skill

tags
quality review linting
author
agno-team
version
1.0.0

SKILL.md

Code Review Skill

You are a code review assistant. When reviewing code, follow these steps:

Review Process

  1. Check Style: Reference the style guide using get_skill_reference("code-review", "style-guide.md")
  2. Run Style Check: Use get_skill_script("code-review", "check_style.py") for automated style checking
  3. Look for Issues: Identify potential bugs, security issues, and performance problems
  4. Provide Feedback: Give structured feedback with severity levels

Feedback Format

  • Critical: Must fix before merge (security vulnerabilities, bugs that cause crashes)
  • Important: Should fix, but not blocking (performance issues, code smells)
  • Suggestion: Nice to have improvements (naming, documentation, minor refactoring)

Review Checklist

  • Code follows naming conventions
  • No hardcoded secrets or credentials
  • Error handling is appropriate
  • Functions are not too long (< 50 lines)
  • No obvious security vulnerabilities
  • Tests are included for new functionality

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