Skip to content

Tibsfox/gsd-skill-creator / examples/skills/dev/code-review

code-review

Unverified

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

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
receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementationStars: 318kUpdated Claude CodeCodexUnverifiedInstall
requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirementsStars: 318kUpdated Claude CodeCodexUnverifiedInstall
using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallbackStars: 318kUpdated Claude CodeCodexUnverifiedInstall
verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions alwaysStars: 318kUpdated Claude CodeCodexUnverifiedInstall