From claude-crap
Runs claude-crap's deterministic project quality gate to display A..E letter grades for maintainability, reliability, security, and overall. Useful for baseline before refactoring or release.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-crap:scoreThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Run the `score_project` MCP tool from the claude-crap server and display the result.
Run the score_project MCP tool from the claude-crap server and display the result.
score_project with format: "both" so you get both the Markdown summary and the JSON snapshot in one call.isError: true, the overall rating is worse than the configured policy ceiling under strict mode. Explicitly tell the user their workspace FAILS the policy, surface the rule IDs from the failures array (e.g. SONAR-GATE-TDR, SONAR-GATE-ERRORS), and recommend they drill into the dashboard URL or the consolidated SARIF report to see the underlying findings.The output includes four A..E letter grades (one per dimension plus an overall), the TDR percent, per-level finding counts, workspace LOC, the scanners that have already ingested findings, the dashboard URL, and the SARIF report path. The overall grade is the worst of the three dimension grades by policy, so a single E-rated security finding drops the whole score to E regardless of maintainability.
The score_project MCP tool is the canonical "is this project shippable?" reading for claude-crap. It gets run automatically at the Stop quality gate on every task close, but users often want an ad-hoc read mid-session — to know whether a refactor actually improved the grade, to get a baseline before starting new work, or to decide whether to open a PR now or keep iterating. Making it a single slash command instead of a three-step MCP tool invocation removes the friction from those workflows.
The engine is deterministic: given the same SARIF store and the same workspace, score_project always returns the same grade. That is a feature, not a limitation — it means two developers on the same branch will see identical readings, and it means the grade is safe to cite in PR descriptions and commit messages without the usual LLM caveats about reproducibility.
score_project returns.npx claudepluginhub ahernandez-developer/claude-crap --plugin claude-crapGuides completion of development work by verifying tests, detecting environment, and presenting structured options for merge, PR, or cleanup.
Enforces test-driven development: write failing test first, then minimal code to pass. Use when implementing features or bugfixes.
Guides creation and editing of skills using test-driven development with pressure scenarios and subagents to verify agent compliance.