plugins/codebase-tools/skills/hardening-codebase/SKILL.md
Audit and tighten codebase quality gates — architecture, lint, types, tests, docs, code review. Use when onboarding a project, before a release, or when validation is too permissive.
npx skillsauth add qte77/claude-code-utils-plugin hardening-codebaseInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Scope: $ARGUMENTS (default: full)
Systematic quality tightening. Nine phases, each with a clear gate. KISS: tighten one level at a time — never jump to max strictness.
Gate: Module map + issue list. Present to user before proceeding.
make setup_all (or equivalent) work from scratch?references/lint-tightening-checklist.mdGate: Issue list ranked HIGH/MEDIUM/LOW. Present to user before proceeding.
Gate: Config committed. Violation count known.
make validate must passGate: All checks green. Commit fixes.
Gate: Docs findings list. Present to user before fixing.
make validate must pass with coverage gateGate: All tests behavioral. Coverage ≥ 80%. Complexity ≤ 15.
Launch all four from references/review-agents.md:
Gate: Ranked findings presented to user.
make validate after each fixGate: All checks green. Findings addressed.
arch — Phase 1 only (architecture research + module map)audit — Phase 2 only (read-only report)tighten — Phases 2-4 (config + fix)docs — Phase 5 only (docs quality)tests — Phase 6 only (test overhaul)review — Phase 7 only (4-agent review)fix — Phase 8 only (apply existing findings)full — All phasesSee references/lint-tightening-checklist.md for language-specific
rule progressions and references/review-agents.md for agent prompts.
development
Analyzes industry websites for design patterns, layout, typography, and content strategies using first-principles thinking. Use when researching website design, UI patterns, or competitive design analysis.
development
Audits website usability for UX optimization, covering forms, navigation, validation, and microcopy. Use when reviewing user experience, task completion flows, or interface friction points.
development
Audits website accessibility for WCAG 2.1 AA compliance, generating findings and code fixes. Use when reviewing accessibility, keyboard navigation, screen reader compatibility, or inclusive design.
development
Writes tests following TDD (using vitest and @testing-library/react) best practices. Use when writing unit tests, integration tests, or component tests in TypeScript.