/analyze-code Command
Analyze code quality, identify potential issues, and suggest improvements.
What This Command Does
- Reviews code structure and patterns
- Identifies potential bugs and anti-patterns
- Suggests refactoring opportunities
- Checks for security vulnerabilities
- Evaluates code maintainability
Usage
/analyze-code [path or current file]
Output
Provides structured analysis with:
- Code quality score
- List of issues found with severity
- Specific suggestions for improvement
- References to best practices
Best Practices
- Run before code reviews
- Use when refactoring legacy code
- Apply to critical code paths regularly
Converted and distributed by TomeVault — claim your Tome and manage your conversions.