Gsd-skill-creator code-review

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

install
source · Clone the upstream repo
git clone https://github.com/Tibsfox/gsd-skill-creator
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/Tibsfox/gsd-skill-creator "$T" && mkdir -p ~/.claude/skills && cp -r "$T/project-claude/skills/code-review" ~/.claude/skills/tibsfox-gsd-skill-creator-code-review-83f1d5 && rm -rf "$T"
manifest: project-claude/skills/code-review/SKILL.md
source content

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