From claude-crap
Interactive walkthrough for teams adopting claude-crap on an existing codebase. Asks three questions to recommend a strictness mode (advisory/warn/strict) and generates a .claude-crap.json snippet to commit.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-crap:adoptThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Walk the user through picking the right initial strictness mode for claude-crap on their workspace, then hand them the exact `.claude-crap.json` to commit. The whole interaction should take under two minutes — it is an onboarding assistant, not a full quality audit.
Walk the user through picking the right initial strictness mode for claude-crap on their workspace, then hand them the exact .claude-crap.json to commit. The whole interaction should take under two minutes — it is an onboarding assistant, not a full quality audit.
Ask the user these three questions, one at a time. Wait for each answer before moving to the next so the user is not overwhelmed.
error-level findings would a fresh scan produce: zero, a handful (say 1–5), or more than that?"Pick the strictness using this table. The principle is simple: if the project would immediately red-light under strict mode, don't start there — the team will just disable the plugin. Start at the loosest mode that still surfaces the findings, and tighten over time.
| Test coverage | Existing error findings | Wants hard block from day one? | Recommend |
|---|---|---|---|
| Green | 0 | Yes | strict |
| Green | 0 | No / unsure | warn |
| Green | 1–5 | Either | warn |
| Patchy | 0 | Either | warn |
| Patchy | 1–5 | Either | advisory |
| Patchy | 6+ | Either | advisory |
| Near-zero | Any | Any | advisory |
If the user's answers fall outside the table exactly, lean toward the looser mode. Rolling out tight and loosening is painful; rolling out loose and tightening is natural.
Output the recommended .claude-crap.json in a fenced JSON code block. Use this exact shape, substituting <recommended-mode> with the actual value from the table (strict, warn, or advisory):
// .claude-crap.json — commit this to the workspace root
{
"$schema": "https://raw.githubusercontent.com/ahernandez-developer/claude-crap/main/schemas/crap-config.json",
"strictness": "<recommended-mode>"
}
Then explain what happens in the mode you picked, in one sentence per mode:
End with a one-paragraph gradual-adoption roadmap tailored to the mode you picked:
.claude-crap.json to the workspace root so the whole team picks up the policy.http://127.0.0.1:5117 to see the SARIF findings accumulate.advisory → warn → strict) once the team is comfortable with what they're seeing and the finding count is trending down.CLAUDE_CRAP_STRICTNESS=<mode> claude — useful for a one-off lenient run during an emergency, without changing the committed policy.Adopting a deterministic quality gate on an existing codebase is a change-management problem more than a technical one. Teams that jump straight to strict mode without checking their baseline tend to hit a wall the first time the Stop hook blocks a task close, get frustrated, and disable the plugin — losing all the benefit of the PreToolUse gatekeeper and the PostToolUse verifier too, which would have worked fine at their current codebase.
This skill turns the adoption question into a 30-second assessment and a ready-to-commit config. The three questions are deliberately minimal: they capture the only signals that actually matter for picking an initial mode (coverage, baseline findings, enforcement appetite), and they avoid the overhead of running a full scan before the team has even installed the plugin.
The gradual-adoption roadmap is the other half of the value: most teams never pick the "right" strictness on the first try, and the skill's job is to leave them with a clear path to tighten over time instead of a one-shot recommendation they'll regret in a month.
strict mode to a team that has any unresolved error-level findings in a recent scan. That is a guaranteed rage-quit on the first task close.<recommended-mode> in the JSON code block. Fill it with the actual value from the table so the user can copy-paste directly without editing.score_project as part of this skill. The interview is faster and gives the team more control over the recommendation than a baseline scan would. Reach for /claude-crap:score separately if they ask for hard numbers.npx claudepluginhub ahernandez-developer/claude-crap --plugin claude-crapProvides a checklist for code reviews covering functionality, security, performance, maintainability, tests, and quality. Use for pull requests, audits, team standards, and developer training.