# Code Quality

> Run Crapper, Dryer, and Mutator for complexity, duplication, and mutation-test reports on Clojure, Java, Go, TypeScript, Rust, or Python. Crapper and Mutator also support JavaScript.

- Skill: `sreejithraman/code-quality` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx get-skill add sreejithraman/code-quality`
- Raw SKILL.md: https://api.skillmd.com/api/skills/sreejithraman/code-quality/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: sreejithraman (https://skillmd.com/u/sreejithraman)
- Updated: 2026-11-16
- Page: https://skillmd.com/skills/sreejithraman/code-quality

---


# Code Quality

Run the tools and report their output. Leave source changes and acceptance
policy to the caller.

Run from the target project's root. Run all three tools unless a subset is
requested. Honor requested paths and flags; without paths, analyze the project.
Check language support for each selected tool and report unsupported inputs
as skipped.

Use `uvx` to run the pinned upstream tools. Follow the [setup](references/setup.md)
if `uvx` is unavailable.

Run the selected commands below, appending requested file or directory paths
and tool flags.

```bash
crapper_source="git+https://github.com/unclebob/crapper.git@6fd92c4c9bcc56efb64a2f8743d5a2993bcfd42d"
dryer_source="git+https://github.com/unclebob/dryer.git@66ff6d21a42c04afcad89c78a80066176d1294b0"
mutator_source="git+https://github.com/unclebob/mutator.git@a5a0cb803b66e0cdb8bf471b3b08af701d424a41"

uvx --from "$crapper_source" crapper
uvx --from "$dryer_source" dryer
uvx --from "$mutator_source" --with "crapper @ $crapper_source" mutator
```

Use each tool's `--help` for options. Supply the project's test or coverage
command when its defaults do not fit. `--changed` selects uncommitted Git
changes; for a branch comparison, resolve the changed paths against the
requested base and pass those paths explicitly.

Return the commands, analyzed scope, exit statuses, and a concise summary of
the output. Include reports written by this run: `.metrics/crap.edn`,
`.metrics/dry.edn`, and `.metrics/mutate/` for the respective tools. Distinguish
tool or coverage failures from code findings. Dryer can report duplicates with
exit status 0; Mutator uses 3 for survivors and 2 for a failed baseline.
When fresh mutation results are needed after tests or dependencies change,
use Mutator's `--mutate-all` to avoid reusing cached kills for unchanged functions.

Command details: [Crapper](https://github.com/unclebob/crapper#readme),
[Dryer](https://github.com/unclebob/dryer#readme),
[Mutator](https://github.com/unclebob/mutator#readme).

