Skip to content

Chapter 4 of 11

The tools that should be installed

Code Guardian does not perform the static analysis of your code itself. It makes sure that the established review tools of your language actually run and that their result is not ignored. If they are missing, the package lacks a layer — and you do not notice, because everything still looks green.

The installer installs none of them

That is intentional and is also stated in its closing message: which tool goes into your project is your decision, not that of someone else's script.

Instead, the gaps are reported to you at session start, together with the matching setup skill.

What is expected per language

Language Required Recommended Optional
PHP phpstan (with Larastan) phpunit, pest infection, pint, rector
JavaScript, TypeScript, Vue eslint tsc, vue-tsc, vitest stryker, prettier, knip
Python ruff mypy, pytest mutmut, hypothesis
Blade (Laravel), HTML — html-validate —

"Required" means: without this tool the detector reports a gap and the static gate for this language does not take effect.

Have it set up, do not piece it together yourself

Four skills do exactly that — configuration, a sensible default setting and a baseline —, so that a legacy codebase does not bury you on the first day under 4,000 findings:

/phpqa-onboard      PHP: PHPStan/Larastan, Rector, Baseline, composer-Skripte
/jsqa-onboard       JS/Vue: ESLint, vue-tsc, Vitest, fast-check, Stryker, knip
/pyqa-onboard       Python: ruff, mypy, pytest, Hypothesis, mutmut, Baseline
/htmlqa-onboard     Blade/HTML: html-validate mit Blade-sicherer Konfiguration

Once per project. After that, your tools are known at the next session start.

The limit you should know about

There is a static gate for PHP, JavaScript, Python and markup, a blocking mutation gate only for PHP and JavaScript/TypeScript — for Python the mutation check only gives advice. Outside these languages there is no static and no mutation gate. Locks, the sluice, reflexes and the slop scanner keep working there — the language-specific review layer does not.

If you mostly write Go, Rust or Java, this is the honest information before the purchase, not after.

One tool per language that is often missing and expensive

infection (PHP) and stryker (JS) respectively are listed as optional and still deserve a sentence: Without them it remains unproven whether your tests check anything at all. A green test that also stays green when you break the logic proves nothing — and only a mutation probe finds that.

In one sentence

PHP needs phpstan, JavaScript eslint, Python ruff — set that up once per project with the matching *qa-onboard skill, because the installer deliberately does not.

This chapter as a task for Claude

Copy it, replace the angle brackets with your own details, paste it into Claude Code.

Check which static analysis tools are missing in this project.

Measure this instead of guessing: look in composer.json, package.json and
in the existing configuration files, and tell me for each tool
how you know whether it is there.

Then tell me:
- what is missing and which review layer drops out as a result
- what it costs to add them

Once I approve, set up the missing ones with the matching
qa-onboard skill and create a baseline, so that the legacy codebase
does not bury me on the first day.