Code review
Skill Tibsfox/gsd-skill-creator/examples/skills/dev/code-review
Reviews code for bugs, style, and best practices. Use when reviewing PRs or checking code quality.From its SKILL.md
npx -y skills add Tibsfox/gsd-skill-creator --skill code-reviewAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
SKILL.md
1.2 KB, 229 tokens by cl100k_base, as published. Nobody here has run it
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
| Level | Action |
|---|---|
| CRITICAL | Security/data-loss risk — must fix |
| MAJOR | Bug/performance — should fix |
| MINOR | Code smell — consider fixing |
| STYLE | Formatting — optional |
Comment Format
### [SEVERITY] Brief description
**File:** path:line
**Issue:** What's wrong
**Suggestion:** Proposed fix
Flag These
== true/false→ use boolean directlycatch(e) {}→ swallowed error- Magic numbers → named constants
- Deep nesting → early returns
- Commented-out code → delete it
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.