Overview
These slash commands help maintain code quality, identify issues, optimize performance, and implement test-driven development workflows.Code Quality & Security
/check
by rygwdnPerforms comprehensive code quality and security checks, featuring static analysis integration, security vulnerability scanning, code style enforcement, and detailed reporting.
/code_analysis
by kinglerProvides a menu of advanced code analysis commands for deep inspection, including knowledge graph generation, optimization suggestions, and quality evaluation.
Performance Optimization
/optimize
by to4ikiAnalyzes code performance to identify bottlenecks, proposing concrete optimizations with implementation guidance for improved application performance.
Issue Reproduction
/repro-issue
by rzykovCreates reproducible test cases for GitHub issues, ensuring tests fail reliably and documenting clear reproduction steps for developers.
Test-Driven Development
/tdd
by zscottGuides development using Test-Driven Development principles, enforcing Red-Green-Refactor discipline, integrating with git workflow, and managing PR creation.
/tdd-implement
by jerseycheeseImplements Test-Driven Development by analyzing feature requirements, creating tests first (red), implementing minimal passing code (green), and refactoring while maintaining tests.
Code Analysis Workflow
A typical code analysis workflow using these commands:- Initial Check: Run
/checkto perform comprehensive quality and security scanning - Deep Analysis: Use
/code_analysisfor detailed inspection and quality metrics - Performance Review: Apply
/optimizeto identify and fix performance bottlenecks - Issue Reproduction: Create test cases with
/repro-issuefor reported bugs - TDD Implementation: Use
/tddor/tdd-implementfor new features
Benefits of Code Analysis Commands
Quality Assurance
Automated checks ensure consistent code quality and catch issues early in development.
Security
Vulnerability scanning identifies security issues before they reach production.
Performance
Optimization commands help identify and resolve performance bottlenecks.
Test Coverage
TDD commands enforce testing discipline and improve code reliability.
Best Practices
When using code analysis and testing commands:- Run Checks Regularly: Integrate
/checkinto your workflow before commits - Follow TDD: Use TDD commands for new features to ensure comprehensive test coverage
- Document Issues: Use
/repro-issueto create clear, reproducible test cases - Optimize Strategically: Focus optimization efforts on identified bottlenecks
- Continuous Improvement: Regularly review analysis results and adjust development practices