From pyscn-mcp
Get an overall Python code quality health score using pyscn. Use when user asks how healthy or good the code is, wants a quality overview, a grade, or a before/after comparison.
How this skill is triggered — by the user, by Claude, or both
Slash command
/pyscn-mcp:health-checkThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Run the pyscn CLI to give a quick, quantified picture of code quality. No install needed:
Run the pyscn CLI to give a quick, quantified picture of code quality. No install needed:
uvx pyscn@latest analyze <path>
The summary output includes a health score (0-100), a letter grade (A-F), and per-category metrics.
| User Request | Command |
|---|---|
| "How healthy is this code?" | uvx pyscn@latest analyze <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 add --json. Report files are NOT written to stdout. They go to .pyscn/reports/ under the current working directory and the path is printed on completion; read that file.
refactoring, module structure → architecture-review.Always explain the score in plain terms and suggest the highest-impact next step.
If the pyscn-mcp MCP server is connected, you can use its tools instead of the CLI: get_health_score (score + grade) or analyze_code (output_mode: "summary" gives the health score plus high-level metrics per category). Results are returned inline with no report files.
npx claudepluginhub ludo-technologies/pyscn --plugin pyscn-mcpRuns pyscn CLI for Python code quality analysis with CI/CD quality gates, HTML/JSON/CSV reports, and project configuration. Useful for CI checks and shareable reports.
Assesses code maintainability using 5 qualities (cohesion, coupling, encapsulation, testability, non-redundancy) with scoring rubrics across languages at method/class/module levels. Generates markdown reports with remediation guidance.
Generates health scores for JS/TS projects assessing architecture conformance, test coverage, security risks, performance metrics, and maintainability. Use for onboarding, quality checks, or refactoring baselines.