CCG - Code Guardian Studio (VSCode Extension)
AI-powered code analysis, guardrails, and workflow management for Claude Code.
Features
- Code Validation: Real-time code quality checks with inline diagnostics
- Code Metrics: Complexity, nesting depth, and LOC tracking
- Hotspot Detection: Identify files that need refactoring
- Task Management: Track workflow tasks and progress
- Progress Dashboard: Visual workflow progress with Mermaid diagrams
Requirements
- CCG MCP Server running (
npm install -g codeguardian-studio)
- Node.js 18+
Usage
- Start the CCG server:
ccg start:api
- Open a project in VSCode
- The extension connects automatically
Commands
CCG: Validate Current File - Run code validation
CCG: Analyze Project - Full project analysis
CCG: Show Progress Dashboard - Open workflow dashboard
CCG: Show Hotspots - View code hotspots
CCG: Create Task - Create a new task
CCG: Start Server - Start CCG server
CCG: Refresh Metrics - Refresh all metrics
Configuration
| Setting |
Default |
Description |
ccg.serverUrl |
http://localhost:3334 |
CCG server URL |
ccg.validateOnSave |
true |
Auto-validate on save |
ccg.showStatusBar |
true |
Show status bar items |
ccg.enableMetrics |
true |
Enable metrics sidebar |
Development
cd vscode-extension
npm install
npm run compile
# Press F5 to launch Extension Development Host
License
MIT
| |