Commandsecurity
/review Command
I'll review your code for potential issues.
Code Review
I'll review your code for potential issues.
Let me create a checkpoint before detailed analysis:
git add -A
git commit -m "Pre-review checkpoint" || echo "No changes to commit"
I'll use specialized sub-agents for comprehensive analysis:
- Security sub-agent: Credential exposure, input validation, vulnerabilities
- Performance sub-agent: Bottlenecks, memory issues, optimization opportunities
- Quality sub-agent: Code complexity, maintainability, best practices
- Architecture sub-agent: Layer separation, dependency direction, scalability patterns
I'll examine files using the Read and Grep tools to analyze:
- Security Issues - credential exposure, input validation
- Logic Problems - error handling, edge cases
- Performance Concerns - inefficient patterns, bottlenecks
- Code Quality - complexity, maintainability
When I find multiple issues, I'll create a todo list to address them systematically.
For each issue, I'll:
- Show exact location with file references
- Explain the problem and potential impact
- Provide specific remediation steps
- Prioritize by severity and effort
After review, I'll ask: "Create GitHub issues for critical findings?"
- Yes: I'll create prioritized issues with detailed descriptions
- Todos only: I'll maintain local tracking for resolution
- Summary: I'll provide actionable report
Important: I will NEVER:
- Add "Co-authored-by" or any Claude signatures to commits
- Add "Created by Claude" or any AI attribution to issues
- Include "Generated with Claude Code" in any output
- Modify git config or repository settings
- Add any AI/assistant signatures or watermarks
- Use emojis in commits, PRs, issues, or git-related content
This focuses on real problems that impact your application's reliability and maintainability.