ideabrowser.com β find trending startup ideas with real demand
Try itnpx skills add https://github.com/onewave-ai/claude-skills --skill code-review-proDeep code analysis covering security, performance, maintainability, and best practices.
Activate when the user:
Security Analysis (Critical Priority)
Performance Analysis
Code Quality & Maintainability
Best Practices
Bugs and Edge Cases
Provide Actionable Fixes
# Code Review Report
## π¨ Critical Issues (Fix Immediately)
### 1. SQL Injection Vulnerability (line X)
**Severity**: Critical
**Issue**: User input directly concatenated into SQL query
**Impact**: Database compromise, data theft
**Current Code:**
```javascript
const query = `SELECT * FROM users WHERE email = '${userEmail}'`;
Fixed Code:
const query = 'SELECT * FROM users WHERE email = ?';
db.query(query, [userEmail]);
Explanation: Always use parameterized queries to prevent SQL injection.
[Details...]
[Details...]
[Details...]
Changes with high impact and low effort:
calculateDiscount()
## Examples
**User**: "Review this authentication code"
**Response**: Analyze auth logic β Identify security issues (weak password hashing, no rate limiting) β Check token handling β Note missing CSRF protection β Provide specific fixes with code examples β Prioritize by severity
**User**: "Can you find performance issues in this React component?"
**Response**: Analyze component β Identify unnecessary re-renders β Find missing useMemo/useCallback β Note large state objects β Check for expensive operations in render β Provide optimized version with explanations
**User**: "Review this API endpoint"
**Response**: Check input validation β Analyze error handling β Test for SQL injection β Review authentication β Check rate limiting β Examine response structure β Suggest improvements with code samples
## Best Practices
- Always prioritize security issues first
- Provide specific line numbers for issues
- Include before/after code examples
- Explain *why* something is a problem
- Consider the language/framework context
- Don't just criticizeβacknowledge good code too
- Suggest gradual improvements for large refactors
- Link to documentation for recommendations
- Consider project constraints (legacy code, deadlines)
- Balance perfectionism with pragmatism
- Focus on impactful changes
- Group similar issues together
- Make recommendations actionable