code-review

Review uncommitted code changes for security vulnerabilities and quality issues.

Updated Feb 10, 2026
One-click install
npx skills add https://github.com/ihj04982/my-cursor-settings --skill code-review-ihj04982
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-review
Source: https://github.com/ihj04982/my-cursor-settings/tree/main/skills/code-review
Command: npx skills add https://github.com/ihj04982/my-cursor-settings --skill code-review-ihj04982

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the security and quality review of uncommitted code changes, identifying critical issues before they are committed.

Core Features & Use Cases

  • Comprehensive Review: Analyzes code for security vulnerabilities (secrets, injection risks) and quality issues (complexity, error handling).
  • Prioritized Feedback: Generates a report with issues categorized by severity (CRITICAL, HIGH, MEDIUM, LOW) and provides suggested fixes.
  • Commit Blocking: Prevents commits if critical or high-priority issues are detected.
  • Use Case: After implementing a new authentication feature, run /code-review to ensure no security flaws were introduced and that the code adheres to quality standards before committing.

Quick Start

Run a comprehensive security and quality review on your uncommitted code changes.

Frequently Asked Questions about code-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scan uncommitted code changes for security vulnerabilities?

To scan uncommitted code changes for security vulnerabilities, you can run an automated review that detects hardcoded secrets, injection risks, and OWASP Top 10 flaws. This process analyzes your staged files and generates a prioritized report with suggested fixes.

What is the best way to prevent committing code with hardcoded secrets?

Preventing commits with hardcoded secrets is best achieved by running a pre-commit code review that blocks the action if critical or high-priority issues are detected. This ensures sensitive data and injection risks are identified before code is committed.

How do I check my code for OWASP Top 10 vulnerabilities before committing?

Checking code for OWASP Top 10 vulnerabilities before committing involves running a comprehensive security analysis on your uncommitted changes. This identifies injection risks and input validation issues, categorizing them by severity to help prioritize fixes.

Can I automate code quality checks for function size and nesting depth?

Yes, you can automate code quality checks for metrics like function size, file size, and nesting depth by running a review on uncommitted changes. This analyzes your code against quality standards and provides feedback categorized by severity.

Does automated code review block commits when critical issues are found?

Automated code review can block commits when critical or high-priority issues are detected in the uncommitted changes. This prevents flawed code from entering the repository by identifying security vulnerabilities and quality metric failures beforehand.

What code quality metrics should I review before committing new features?

Before committing new features, you should review code quality metrics such as function size, file size, nesting depth, error handling, and naming conventions. Analyzing these metrics ensures your code adheres to established quality standards.