XRay is a project health audit that produces a score from 0 to 100 and a maturity level from 1 to 5. Makeover is the follow-up command that takes XRay’s output and automatically applies the top-priority fixes using a Claude agent swarm. Together, they give you a clear picture of where a codebase stands and a fast path to improving it.Documentation Index
Fetch the complete documentation index at: https://docs.commanderplugin.com/llms.txt
Use this file to discover all available pages before exploring further.
Running XRay
- Slash command
- Headless dispatch
Inside any Claude Code session:
The 6 audit dimensions
XRay scans the project and scores each of the following dimensions independently. The weighted scores are summed to produce the overall health score.| Dimension | Weight | What it checks |
|---|---|---|
| Security | 25% | CVEs, exposed secrets, .env files tracked in git, lockfile integrity |
| Testing | 20% | Test configuration, coverage, E2E frameworks, presence of test files |
| Maintainability | 20% | Code complexity, linting config, formatting, duplication |
| Dependencies | 15% | Outdated packages, known vulnerabilities |
| DevOps | 10% | CI/CD presence, quality gates, deployment configuration |
| Documentation | 10% | README.md, CLAUDE.md, inline docs, API documentation |
Security carries the highest weight at 25% because findings in this dimension — exposed credentials, known CVEs, untracked lockfiles — carry the highest risk in production. A project with perfect testing and documentation but failing security checks will score below 75/100 overall.
Maturity levels
Every XRay report assigns a maturity level in addition to the numeric score:| Level | Name | Typical score range | What it means |
|---|---|---|---|
| 1 | Initial | 0–20 | No test infrastructure, no CI, likely no README |
| 2 | Managed | 21–40 | Some structure in place but major gaps in at least 2 dimensions |
| 3 | Defined | 41–60 | Consistent practices, CI present, basic test coverage |
| 4 | Quantified | 61–80 | High coverage, security checks passing, full DevOps pipeline |
| 5 | Optimizing | 81–100 | All dimensions healthy, docs current, zero known vulnerabilities |
XRay output
The XRay report includes:- Overall health score and maturity level
- A score bar for each dimension
- Prioritized recommendations with the relevant skill to run for each finding
- Quick-fix commands for immediate wins
Running Makeover
After an XRay scan, run Makeover to apply the highest-impact fixes automatically:Makeover options
| Flag | What it does |
|---|---|
--dry-run | Show recommendations without applying any changes |
--auto | Apply all recommendations without prompting |
--max N | Limit to N recommendations (default: 5) |
--category CAT | Focus on one dimension only: security, testing, devops, quality, docs, or architecture |