health-check
Installation
SKILL.md
Code Health Check with polyscan
Run the polyscan CLI to give a quick, quantified picture of code quality across JavaScript, TypeScript, Go, Rust and C++. No install needed:
npx polyscan@latest analyze --format text <path>
The output ends with a Health Score section: a score (0-100), a letter grade (A-F), and per-category scores.
Commands
| User Request | Command |
|---|---|
| "How healthy is this code?" | npx polyscan@latest analyze --format text <path> |
| "Give me a quality overview" | Same command; walk through the category breakdown |
| "Did my refactoring improve quality?" | Run before and after, compare scores |
For machine-readable detail use --format json: full results go to stdout and the health-score summary is printed to stderr. Without --format text or --format json, polyscan writes an HTML report (polyscan-report.html) and opens a browser — prefer text or JSON when running as an agent.