Use when reviewing UI for accessibility — WCAG 2.2 AA, keyboard nav, focus, ARIA, contrast, screen-reader semantics — even on 'is this a11y-OK?' or 'mach das barrierefrei'.
The English summary is being prepared. Showing the original description.
Use when PHPStan, Rector, or ECS output appears — "phpstan says mixed", type errors, "fix code style", "run rector" — even when Eloquent/Laravel/model code is also mentioned.
The English summary is being prepared. Showing the original description.
Review the instructions the agent will receive before you install.
Use this skill whenever running or configuring code quality tools:
gofmt, go vet, optionally golangci-lint, go testThis skill is a router head. The cross-mode material — execution policy,
language detection, environment, output, gotchas — lives below. The per-tool
procedure bodies live in references/; load exactly the mode the detected
stack calls for.
| Detected stack | Mode body | Covers |
|---|---|---|
PHP (.php changed) | references/php-tools.md | Tool detection, PHPStan / ECS / Rector commands and flags, combined pipeline, config files, baseline policy, PHPStan error handling, testing framework, git-aware execution |
JS/TS (.js / .ts / .tsx changed) | references/js-ts-tools.md | Detection, Biome, TypeScript type checking, Jest / Vitest, the JS/TS workflow sequence |
Python (.py changed, or pyproject.toml) | references/python-tools.md | Detection from pyproject.toml, Ruff, mypy, pytest, the workflow sequence, virtualenv and setup.cfg gotchas |
Go (.go changed, or go.mod) | references/go-tools.md | gofmt, go vet, golangci-lint where present, go test, the workflow sequence, vendor and build-tag gotchas |
More than one stack changed → load each mode body and run each pipeline.
The resolver decides which row applies, not the file extension alone.
resolve_toolchain returns the ecosystems it found and the quality commands
per ecosystem; the rows above name what those commands are. A TypeScript
repository resolves the ecosystem js, never typescript — the pack name and
the ecosystem label are different vocabularies.
NEVER RUN QUALITY TOOLS PROACTIVELY WHEN quality.local_auto_run IS
false OR MISSING (THE DEFAULT). DO NOT ASK WHETHER TO RUN THEM.
THE USER RUNS THEM MANUALLY. REMOTE CI IS THE AUTHORITATIVE GATE.
Toolchains differ per language and project and are often unknown to the agent — discovering and running them burns time and tokens. Under the default, exactly three triggers justify running a quality tool:
/fix quality./fix:ci is the canonical flow).quality.local_auto_run: true restores the legacy autonomous behaviour
(run the pipeline when work is ready for verification). When runs are
suppressed, the completion message says "quality gates delegated to
remote CI" — never that the tools passed.
Detect which tools to run based on what files were changed:
# Check changed file extensions (diff against base branch)
git diff --name-only origin/main..HEAD | grep -E '\.(php)$' # → PHP tools
git diff --name-only origin/main..HEAD | grep -E '\.(js|ts|tsx)$' # → JS/TS tools
If both PHP and JS/TS files changed → run both pipelines.
phpstan.neon,
ecs.php, rector.php, biome.json, tsconfig.json, the scripts block
of package.json) and the task/make wrapper if one exists. Never assume a
default ruleset, a default baseline, or a default command — the mode body
names where to look per stack. Running a tool against assumed config
produces findings the project never asked for.references/php-tools.md
§ Procedure: Run quality checks. JS/TS →
references/js-ts-tools.md
§ JS/TS Quality Workflow.verify-before-complete rule — no pass claims without fresh output; suppressed runs are surfaced as "delegated to remote CI", never claimedphp-coding rule → PHPStan section — inline ignores, PHPDoc rulescontexts/execution/verification-mechanics.md — Gate zero (local_auto_run) + timing when true (quality tools ONCE at the end, not after each edit)testing-anti-patterns and
process-anti-patterns.md —
test-side rationalizations these tools cannot catch (e.g. "CI is red,
patch first, test later").All PHP commands run inside the Docker container (make console or docker compose exec).
JS/TS commands run on the host or in a Node container, depending on the project setup:
Makefile / Taskfile.yml has targets for linting/testing.docker-compose.yml has a Node service.quality:* wrapper may expose different flags than the native tools — check the project's wrapper before assuming flags.-T flag to avoid TTY issues in non-interactive mode.vendor/bin/phpstan or vendor/bin/ecs directly — use the wrapper.phpstan-baseline.neon — it's auto-managed.tsc --noEmit) for TypeScript projects.--write if the intent is to fix (otherwise it's dry-run only).No reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
Use when reviewing UI for accessibility — WCAG 2.2 AA, keyboard nav, focus, ARIA, contrast, screen-reader semantics — even on 'is this a11y-OK?' or 'mach das barrierefrei'.
The English summary is being prepared. Showing the original description.
Use when defining or auditing the activation event — aha-moment selection, retention correlation, falsifiable definition. Triggers on 'what is our aha moment', 'redefine activation'.
The English summary is being prepared. Showing the original description.
Use when capturing an architectural decision — file naming, next ADR number, Status / Context / Decision / Consequences, index regen; fires even without saying 'ADR'.
The English summary is being prepared. Showing the original description.
Adversarial critique — devil's advocate, stress-test, honest teardown ('poke holes', 'be brutal', 'was hältst du davon'); explicit request only. Routine code or design review → code-review.
The English summary is being prepared. Showing the original description.
Use when reading, creating, or updating agent documentation, module docs, roadmaps, or AGENTS.md. Understands the full .augment/, agents/, and copilot-instructions structure.
The English summary is being prepared. Showing the original description.
Use for an adversarial red-team / blue-team / auditor review of an AI agent's CONFIG + behaviour (rules, skills, MCP, hooks, permissions) — attack-chain → defensive-gap list, not a code audit.
The English summary is being prepared. Showing the original description.