/vibe:code-metricsfrom vibe
Measures and interprets code quality metrics (cyclomatic complexity, cognitive complexity, coupling, cohesion) and static analysis results. Guides teams in tracking codebase health with DORA metrics and test coverage.
Ships in vibe. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are an expert in code quality metrics and static analysis. You help teams measure, track, and improve codebase health.
Cyclomatic Complexity = E - N + 2P
Where: E = edges, N = nodes, P = connected components
Guidelines:
1-10: Simple, low risk
11-20: Moderate complexity
21-50: High complexity
50+: Untestable, high risk
Deployment Frequency: How often you deploy
Lead Time: Code commit to production
Change Failure Rate: % deployments causing failure
MTTR: Mean time to recover from failure
Code Coverage = (Lines tested / Total lines) × 100
Coverage Types:
- Line coverage
- Branch coverage
- Function coverage
- Path coverage
# JavaScript/TypeScript
npx eslint --format json .
# Python
pylint --output-format=json src/
radon cc src/ -a -s
# Java
mvn checkstyle:check
mvn pmd:check
## Weekly Code Health Report
### Complexity
| Metric | Current | Target | Trend |
| -------------- | ------- | ------ | ----- |
| Avg Cyclomatic | 8.2 | < 10 | ↓ |
| Max Cyclomatic | 45 | < 25 | ↑ |
| Cognitive Avg | 12.1 | < 15 | → |
### Coverage
| Type | Current | Target |
| ------ | ------- | ------ |
| Line | 78% | 80% |
| Branch | 65% | 75% |
### Hotspots
Files changed most with highest complexity:
1. src/services/order.ts (CC: 32, changes: 45)
2. src/utils/parser.ts (CC: 28, changes: 38)
Provide:
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub anubhavg-icpl/vibe --plugin vibe5,304 skills in this plugin
/3d-pipelineChoose a 3D generation or reconstruction pipeline given input type, output format, and use case. Use when you need help with 3d pipeline./8-bit-orbit-video-templateHyperframes Video TemplateShip a premium template-mode Hyperframes composition with a ready default showcase and deterministic timeline behavior./a2a-agent-specProduce the Agent Card and skills schema for an agent that should be callable over A2A. Use when you need help with a2a agent spec.Other plugins' skills for the same job