code-review

yoichiojima-2's avatarfrom yoichiojima-2

Review code for quality, bugs, security issues, and best practices.Use this skill when the user asks for code review, code analysis, or wants feedback on their code.

⭐1stars🔀1forks📁View on GitHub🕐Updated Dec 29, 2025

When & Why to Use This Skill

The Code Review skill is a comprehensive tool designed to enhance software quality by automatically analyzing source code for bugs, security vulnerabilities, and performance bottlenecks. By leveraging specialized scripts for complexity metrics and style enforcement, it provides developers with actionable feedback to ensure code is maintainable, secure, and aligned with industry best practices.

Use Cases

  • Automated Pull Request Reviews: Streamline the development workflow by automatically checking new code submissions for logic errors and adherence to team standards before merging.
  • Security & Vulnerability Assessment: Proactively identify potential security flaws and vulnerabilities within the codebase to prevent exploits and ensure data integrity.
  • Technical Debt Reduction: Use complexity analysis to pinpoint over-engineered or messy code sections that require refactoring to improve long-term maintainability.
  • Coding Standard Enforcement: Automatically verify that all code follows specific language conventions and style guides, ensuring a consistent and readable codebase across the organization.
namecode-review
description|

Code Review Skill

This skill helps you perform thorough code reviews.

Guidelines

When reviewing code, check for:

  1. Correctness - Does the code do what it's supposed to?
  2. Security - Are there any vulnerabilities?
  3. Performance - Are there obvious inefficiencies?
  4. Readability - Is the code clear and maintainable?
  5. Best Practices - Does it follow language conventions?

Available Scripts

Run these from the skill's base_path:

# Analyze code complexity
python scripts/analyze_complexity.py <file>
# or via stdin
cat <file> | python scripts/analyze_complexity.py

# Check code style
python scripts/check_style.py <file>
# or via stdin
cat <file> | python scripts/check_style.py

Usage

  1. Run analyze_complexity.py to get metrics
  2. Run check_style.py for style issues
  3. Provide comprehensive feedback based on the results