What problem does it solve?
This Skill accelerates and standardizes the review of code changes by identifying security vulnerabilities, performance regressions, correctness gaps, and maintainability issues before changes are merged.
Core Features & Use Cases
- Structured reviews from PRs or diffs: Accepts pull request links, pasted diffs, or file paths and produces a prioritized list of findings.
- Security and correctness checks: Scans for OWASP Top 10 patterns, SQL injection, XSS, CSRF, credential leaks, and missing error handling.
- Performance and maintainability guidance: Detects N+1 queries, algorithmic complexity issues, missing indexes, resource leaks, naming and duplication problems, and suggests code-level fixes with examples.
- Integrations when available: Automatically retrieves PR diffs, checks CI/test status, links findings to project trackers, and verifies changes against team coding guidelines if connectors are configured.
- Use Case: Run before merging a release or hotfix PR to surface security risks, performance regressions, and missing tests.
Quick Start
Run the /code-review command with a pull request link or diff path to get a structured review that highlights security, performance, correctness, and maintainability recommendations.