Power Project Health Check
Battle-tested command for analyze, overall, project, health. Includes structured workflows, validation checks, and reusable patterns for project management.
Power Project Health Check
Analyze overall project health by evaluating code quality, delivery velocity, team balance, and dependency status, then produce a scored report with actionable recommendations.
When to Use This Command
Run this command when...
- You want a single comprehensive health score (0-100) for your project covering code quality, delivery, team, and dependencies
- You need to assess technical debt indicators like test coverage trends, code complexity, and outdated packages
- You are preparing for a quarterly review and need metrics on commit frequency, PR turnaround, and contributor distribution
- You want to detect knowledge concentration risks where a single contributor owns too much of the codebase
- You need a dependency health audit including security vulnerabilities, outdated packages, and license compliance
Quick Start
# .claude/commands/power-project-health-check.yaml name: Power Project Health Check description: Comprehensive project health analysis with scored report inputs: - name: period description: "Evaluation period in days" default: "30"
# Default 30-day health check claude "power-project-health-check" # Check health over the last quarter claude "power-project-health-check --period 90"
Output:
[scan] Analyzing 30-day project health...
Overall Health Score: 72/100 (Good)
βββββββββββββββββββββββ¬ββββββββ¬βββββββββ
β Dimension β Score β Status β
βββββββββββββββββββββββΌββββββββΌβββββββββ€
β Code Quality β 78 β Good β
β Delivery Performanceβ 65 β Fair β
β Team Health β 80 β Good β
β Dependency Health β 64 β Fair β
βββββββββββββββββββββββ΄ββββββββ΄βββββββββ
3 recommendations generated. Report saved.
Core Concepts
| Concept | Description |
|---|---|
| Health Score | A 0-100 composite score weighted across four dimensions: quality, delivery, team, and dependencies |
| Code Quality | Measures test coverage, complexity, security vulnerabilities, and technical debt indicators |
| Delivery Performance | Tracks commit frequency, PR review turnaround, bug-to-feature ratio, and velocity trends |
| Team Health | Evaluates work distribution balance, knowledge concentration risk, and contributor activity |
| Dependency Health | Audits outdated packages, security advisories, license compliance, and external service dependencies |
Health Dimensions:
ββββββββββββββββββββββββββββββββββββββββββββββ
β Overall Health: 72/100 β
βββββββββββββ¬ββββββββββββ¬βββββββββββ¬ββββββββββ€
β Quality β Delivery β Team β Deps β
β 78/100 β 65/100 β 80/100 β 64/100 β
β ββββββββ β βββββββββ β ββββββββ β βββββββ β
βββββββββββββ΄ββββββββββββ΄βββββββββββ΄ββββββββββ
Configuration
| Parameter | Type | Default | Description |
|---|---|---|---|
period | integer | 30 | Number of days to evaluate for trend analysis |
output | string | "stdout" | Output destination: stdout, markdown file, or JSON file |
dimensions | string | "all" | Specific dimensions to evaluate: quality, delivery, team, deps |
threshold | integer | 50 | Minimum acceptable score; items below trigger warnings |
compare | string | "" | Compare against a previous report file for trend analysis |
Best Practices
- Run monthly and track trends -- A single health check is a snapshot. Monthly checks with
--comparereveal whether the project is improving or declining over time. - Address critical findings first -- Focus on dimensions scoring below 50 before optimizing areas already in the green. Low scores indicate systemic risks that compound over time.
- Share reports with the team -- Health check reports are most valuable when the entire team sees them. Use
--output report.mdand commit the file or share it in team channels. - Set thresholds per dimension -- Not all projects need perfect scores everywhere. A documentation project may tolerate lower delivery velocity scores that would be alarming in a production API.
- Combine with dependency audits -- Run
npm auditor equivalent before the health check so the dependency dimension has fresh vulnerability data to incorporate.
Common Issues
- Insufficient git history -- Projects with fewer than 30 days of commits produce unreliable velocity and trend metrics. Use a shorter
--periodor wait until the project has more history. - No test coverage data -- The quality dimension relies on test coverage reports. If no coverage tool is configured, that sub-score defaults to zero and drags down the overall score.
- Single-contributor skew -- Solo projects will always show high knowledge concentration risk. This is expected and can be acknowledged rather than treated as a problem to solve.
Reviews
No reviews yet. Be the first to review this template!
Similar Templates
Git Commit Message Generator
Generates well-structured conventional commit messages by analyzing staged changes. Follows Conventional Commits spec with scope detection.
React Component Scaffolder
Scaffolds a complete React component with TypeScript types, Tailwind styles, Storybook stories, and unit tests. Follows project conventions automatically.
CI/CD Pipeline Generator
Generates GitHub Actions workflows for CI/CD including linting, testing, building, and deploying. Detects project stack automatically.