Code Review SK
Enterprise-grade code review powered by Semantic Kernel multi-agent AI orchestration.
Features
@codereview /file — Review the currently active editor file
@codereview /selection — Review selected code
@codereview /project — Review all code files in the opened workspace (batch mode with cross-file analysis)
@codereview /files — Pick specific files to review
- Right-click context menus in the editor and Explorer panel
What's Reviewed
| Agent |
Focus |
| SecurityAgent |
OWASP Top 10, injection, hardcoded secrets, crypto |
| CodeQualityAgent |
SOLID, DRY, complexity, naming conventions |
| PerformanceAgent |
Big-O, async/await, N+1, caching |
| BestPracticesAgent |
Design patterns, logging, resilience |
| DocumentationAgent |
Docstrings, comments, API contracts |
Requirements
The .NET 8 API must be running before using the extension:
cd src/CodeReview.API
dotnet run
The API defaults to http://localhost:5000. Configure via codeReviewSK.apiUrl in VS Code settings.
Configuration
| Setting |
Default |
Description |
codeReviewSK.apiUrl |
http://localhost:5000 |
API base URL |
codeReviewSK.timeoutSeconds |
120 |
Request timeout |
codeReviewSK.projectMaxFiles |
50 |
Max files per project review |
codeReviewSK.maxCodeLength |
50000 |
Max chars per file |
| |