Code Reviewer
Code review automation for TypeScript, JavaScript, Python, Go, Swift, Kotlin.
$skillfish add ~skills/code-reviewer Real Conversations
See how the Code Reviewer skill responds to actual requests. These are representative examples of what your AI agent will produce.
Can you review this Express route? It handles user login, creates a JWT, and queries Postgres. I'm worried about security and error handling.
Security Issues Found (2 critical, 1 medium):
- [CRITICAL] Timing attack on password compare — Using
user.password === hashinstead ofcrypto.timingSafeEqual. Fix:
import { timingSafeEqual } from 'crypto';
const match = timingSafeEqual(Buffer.from(inputHash), Buffer.from(storedHash));
- [CRITICAL] JWT secret not guarded — If
JWT_SECRETis undefined,jwt.sign()silently uses'undefined'as the secret. Add:
if (!process.env.JWT_SECRET) throw new Error('JWT_SECRET not set');
- [MEDIUM] SQL injection risk —
WHERE email = '${email}'is unsafe. Use parameterized queries:
pool.query('SELECT * FROM users WHERE email = $1', [email])
Error Handling:
- Missing
try/catch— any DB error will crash the process - Return 401 (not 400) on invalid credentials to avoid leaking whether the email exists
Style: Extract auth logic into a service layer — route handler should be <20 lines.
Get Started
How to install and use this skill in your preferred environment.
Skills are designed for AI coding agents (Claude Code, Cursor, Windsurf) and IDE-based workflows where the agent can read files, run scripts, and act on your codebase. Web-based AI can use the knowledge and frameworks, but won't have tool access.
Models & Context
Which AI models and context windows work best with this skill.
Recommended Models
Larger models produce more detailed, production-ready outputs.
Context Window
This skill's SKILL.md is typically 3–10 KB — fits in any modern context window.
All current frontier models (Claude, GPT, Gemini) support 100K+ context. Use the full window for complex multi-service work.
Pro tips for best results
Be specific
Include numbers — users, budget, RPS — so the skill can size the architecture.
Share constraints
Compliance needs, team size, and existing stack all improve the output.
Iterate
Start with a high-level design, then ask follow-ups for IaC, cost analysis, or security review.
Combine skills
Pair with companion skills below for end-to-end coverage.
Ready to try Code Reviewer?
Install the skill and start getting expert-level guidance in your workflow — any agent, any IDE.
$skillfish add ~skills/code-reviewer