code-quality plugin
Quality advice and red flags for agent and git changes
How to install the code-quality plugin
Run both commands inside Claude Code. The first adds the marketplace once; the second installs the plugin.
/plugin marketplace add smixs/code-quality
/plugin install code-quality@code-qualityWhat's inside code-quality
5 parts read from the plugin's own files.
Skills 2
Claude loads it when the task matches- acceptance
Acceptance runbook for code changes in any project: pick the level by risk, write a spec with a finish line and a failure table, build in one pass, verify one frozen candidate with parallel lanes (the gate, two reviewers from different model families, a blind QA, a live check), one batched repair, two rounds, a done table built from evidence, each defect class turned into a mechanism. Use for: acceptance, accept a change, is it done, definition of done, ready to merge, verify a branch.
- code-quality
Code quality advisor for a repo: one bun script behind git hooks and Claude Code, Codex, Grok, pi, omp, and OpenCode adapters. Never blocks: raises loud RED FLAGs on dangerous moves (secrets, tampered or deleted tests, red tests on push, skipped git hooks) and reports CRAP and complexity on changed functions, diff coverage, new cycles, dead code, clones, vulnerable dependencies and AI attribution in commits as findings the agent weighs. 12 languages, one .quality.toml per repo. Use when: quality gate, CRAP, complexity, ratchet, baseline, hotspots, dead code, import cycles, wire a repo into the gate, install quality hooks, .quality.toml. Not for running ordinary tests, lint or typecheck.
Hooks 3
Runs on these events- PreToolUsecommand
Bash
- Stopcommand
No description in the file.
- UserPromptSubmitcommand
No description in the file.
Using code-quality in Claude Code
Skills need no command. Claude reads them when your request matches what they describe.
Update, turn off or remove
- Update the plugin (shell)
- claude plugin update code-quality@code-quality
- Refresh the marketplace
- /plugin marketplace update code-quality
- Turn it off for now
- /plugin disable code-quality@code-quality
- Remove it
- /plugin uninstall code-quality@code-quality
Skills in code-quality
- acceptancesmixs/code-quality
Acceptance runbook for code changes in any project: pick the level by risk, write a spec with a finish line and a failure table, build in one pass, verify one frozen candidate with parallel lanes (the gate, two reviewers from different model families, a blind QA, a live check), one batched repair, two rounds, a done table built from evidence, each defect class turned into a mechanism. Use for: acceptance, accept a change, is it done, definition of done, ready to merge, verify a branch.
6 files21stars - code-qualitysmixs/code-quality
Code quality advisor for a repo: one bun script behind git hooks and Claude Code, Codex, Grok, pi, omp, and OpenCode adapters. Never blocks: raises loud RED FLAGs on dangerous moves (secrets, tampered or deleted tests, red tests on push, skipped git hooks) and reports CRAP and complexity on changed functions, diff coverage, new cycles, dead code, clones, vulnerable dependencies and AI attribution in commits as findings the agent weighs. 12 languages, one .quality.toml per repo. Use when: quality gate, CRAP, complexity, ratchet, baseline, hotspots, dead code, import cycles, wire a repo into the gate, install quality hooks, .quality.toml. Not for running ordinary tests, lint or typecheck.
8 files21stars
code-quality plugin questions
How do I install the code-quality plugin?
In Claude Code run /plugin marketplace add smixs/code-quality, then /plugin install code-quality@code-quality.
What does the code-quality plugin include?
code-quality bundles 2 skills, hooks.
How do I update or remove the code-quality plugin?
Update it with claude plugin update code-quality@code-quality in your shell, or from the Installed tab of /plugin. Remove it with /plugin uninstall code-quality@code-quality.