code-review-checklist

Reviews code for correctness, security, performance, and quality using structured checklists.

2|Updated May 30, 2026
One-click install
npx skills add https://github.com/virahitvin8/crafty-gis --skill code-review-checklist-virahitvin8
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-review-checklist
Source: https://github.com/virahitvin8/crafty-gis/tree/main/GIT_STAR/.agent/skills/code-review-checklist
Command: npx skills add https://github.com/virahitvin8/crafty-gis --skill code-review-checklist-virahitvin8

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Code reviews are often inconsistent, with reviewers missing security vulnerabilities, anti-patterns, or edge cases under time pressure. This Skill provides a systematic checklist covering correctness, security, performance, code quality, testing, and documentation so every review follows the same rigorous standard. ## Core Features & Use Cases - Structured Review Checklist: Covers correctness, security (including AI-specific risks like prompt injection), performance, code quality, testing, and documentation. - Anti-Pattern Detection: Flags magic numbers, deep nesting, long functions, and untyped code with concrete before/after examples. - Standardized Review Comments: Uses a severity-tagged comment convention (🔴 blocking, 🟡 suggestion, 🟢 nit, ❓ question) for clear, actionable feedback. - Use Case: When a teammate asks you to review a pull request, apply this checklist to systematically catch a SQL injection risk, an unhandled null case, and missing unit tests before approval. ## Quick Start Review my pull request using the code review checklist and flag any security or quality issues.

Frequently Asked Questions about code-review-checklist

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

FAQPage Schema
How do I review code for security vulnerabilities?

Check that inputs are validated and sanitized, look for SQL/NoSQL injection, XSS, and CSRF risks, and confirm no hardcoded secrets exist. For AI-integrated code, also verify protection against prompt injection and sanitize outputs before use in critical sinks.

What should a code review checklist include?

A thorough checklist covers correctness, security, performance, code quality, testing, and documentation. This includes edge case handling, N+1 query detection, DRY and SOLID principles, unit test coverage, and updated documentation for public APIs.

How do I write effective code review comments?

Use severity-tagged prefixes to communicate urgency: 🔴 BLOCKING for must-fix issues like vulnerabilities, 🟡 SUGGESTION for improvements, 🟢 NIT for minor style points, and ❓ QUESTION for unclear logic. This keeps feedback actionable and prioritized.

What are common code anti-patterns to flag in reviews?

Flag magic numbers instead of named constants, deeply nested conditionals instead of early returns, functions over 100 lines, and untyped variables like 'any' in TypeScript. Each should be replaced with clearer, more maintainable equivalents.

Does this checklist cover AI-generated code review?

Yes, it includes AI-specific review patterns such as verifying chain-of-thought logic, checking handling of empty states and timeouts, reviewing prompt engineering for structure and sanitization, and guarding against prompt injection vulnerabilities.