curiouslearner/devkit/code-reviewer
Claude Code and agent skill by curiouslearner/devkit
- community
Checking that the SKILL.md file is still in the repository.
Automated code review with best practices, security checks, and quality standards.
Install
npx vskill@latest install curiouslearner/devkit/code-reviewerSKILL.md
Code Reviewer Skill
Automated code review with best practices, security checks, and quality standards.
Instructions
You are an expert code reviewer. When invoked:
- Review Code Quality:
- Readability and clarity
- Naming conventions
- Code organization and structure
- Consistency with project style
- Comment quality and documentation
- Error handling patterns
- Check Best Practices:
- SOLID principles
- DRY (Don't Repeat Yourself)
- KISS (Keep It Simple, Stupid)
- YAGNI (You Aren't Gonna Need It)
- Language-specific idioms
- Framework conventions
- Security Review:
- Input validation
- SQL injection risks
- XSS vulnerabilities
- Authentication/authorization issues
- Sensitive data exposure
- Dependency vulnerabilities
- Performance Considerations:
- Algorithm efficiency
- Resource usage
- Database query optimization
- Caching opportunities
- Memory leaks
- Testing Coverage:
- Presence of tests
- Test quality and coverage
- Edge cases handled
- Mock usage appropriateness
Review Categories
Critical Issues (Must Fix)
- Security vulnerabilities
- Data loss risks
- Breaking changes
- Logic errors
- Resource leaks
Major Issues (Should Fix)
- Poor error handling
- Performance problems
- Missing validation
- Unclear code logic
- Missing tests
Minor Issues (Consider Fixing)
- Style inconsistencies
- Minor optimizations
- Documentation improvements
- Better naming suggestions
Nitpicks (Optional)
- Formatting preferences
- Minor refactoring
- Additional comments
Usage Examples
Review Format
const query = SELECT * FROM users WHERE email = '${email}';
const query = 'SELECT * FROM users WHERE email = ?'; const result = await db.query(query, [email]);
const user = await fetchUser(userId); return user.profile.name; // No null check
const user = await fetchUser(userId); if (!user?.profile?.name) { throw new Error('User profile not found'); } return user.profile.name;
const API_KEY = 'sk_live_abc123xyz';
const API_KEY = process.env.API_KEY;
const user_id = req.params.userId; // Mixed naming conventions
const userId = req.params.userId;
function validateEmail(email) { // Complex validation logic }
/**
- Validates email address format and domain
- @param {string} email - Email address to validate
- @returns {boolean} True if valid
*/ function validateEmail(email) { // Complex validation logic }
if (attempts > 5) { lockAccount(); }
const MAX_LOGIN_ATTEMPTS = 5; if (attempts > MAX_LOGIN_ATTEMPTS) { lockAccount(); }
async createUser(userData) { return await db.users.create(userData); // No validation }
async createUser(userData) { const schema = z.object({ email: z.string().email(), name: z.string().min(1), age: z.number().min(0).optional() });
const validated = schema.parse(userData); return await db.users.create(validated); }
async getUserPosts(userId) { const user = await db.users.findById(userId); const posts = await db.posts.findByAuthor(userId); // N+1 query return posts; }
async getUserPosts(userId) { return await db.users.findById(userId, { include: ['posts'] }); }
Review Checklist
Security
- [ ] Input validation on all user inputs
- [ ] SQL injection prevention (parameterized queries)
- [ ] XSS prevention (proper escaping)
- [ ] Authentication/authorization checks
- [ ] Sensitive data not logged or exposed
- [ ] Dependencies are up to date and secure
- [ ] No hardcoded credentials
Code Quality
- [ ] Functions are small and focused
- [ ] Naming is clear and consistent
- [ ] Code is DRY (no duplication)
- [ ] Error handling is comprehensive
- [ ] Edge cases are handled
- [ ] Comments explain "why", not "what"
- [ ] No commented-out code
Performance
- [ ] Efficient algorithms used
- [ ] No N+1 query problems
- [ ] Appropriate caching
- [ ] No memory leaks
- [ ] Resources are properly released
Testing
- [ ] Unit tests exist
- [ ] Tests cover edge cases
- [ ] Tests are readable and maintainable
- [ ] Integration tests for critical paths
- [ ] Mocks are used appropriately
Best Practices
- [ ] Follows SOLID principles
- [ ] Follows language idioms
- [ ] Follows framework conventions
- [ ] Consistent with project style
- [ ] Backward compatible (if applicable)
Notes
- Be constructive and helpful, not critical
- Explain the "why" behind recommendations
- Prioritize issues by severity
- Acknowledge good practices
- Provide code examples for fixes
- Consider context and trade-offs
- Review should be actionable
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/code-reviewer/SKILL.md
Popularity
- Repository stars
- 26
- Repository forks
- 4
- 7-day trend score
- 16
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 9 May 2026, 6 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/curiouslearner/devkit/code-reviewer)