askill
code-review

code-reviewSafety 95Repository

Reviews code for bugs, style, and best practices. Use when reviewing PRs or checking code quality.

20 stars
1.2k downloads
Updated 2/28/2026

Package Files

Loading files...
SKILL.md

Code Review

Checklist

Correctness: Logic errors, edge cases, off-by-one, resource leaks, race conditions, error handling

Security: Input validation, injection (SQL/XSS), auth/authz, secrets exposure, CSRF

Performance: N+1 queries, redundant work, memory leaks, blocking I/O, missing indexes

Maintainability: Clear naming, single responsibility, DRY, test coverage

Severity

LevelAction
CRITICALSecurity/data-loss risk — must fix
MAJORBug/performance — should fix
MINORCode smell — consider fixing
STYLEFormatting — optional

Comment Format

### [SEVERITY] Brief description
**File:** path:line
**Issue:** What's wrong
**Suggestion:** Proposed fix

Flag These

  • == true/false → use boolean directly
  • catch(e) {} → swallowed error
  • Magic numbers → named constants
  • Deep nesting → early returns
  • Commented-out code → delete it

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

80/100Analyzed 3/3/2026

A solid code review skill that provides a comprehensive checklist covering correctness, security, performance, and maintainability. Includes severity levels, a comment template, and specific anti-patterns to flag. While well-structured and reusable, it's more of a reference checklist than a step-by-step procedure. The tags improve discoverability and the content is high-quality technical guidance suitable for any codebase.

95
85
85
70
65

Metadata

Licenseunknown
Version-
Updated2/28/2026
PublisherTibsfox

Tags

databasesecuritytesting