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.
Writes or edits PHP code — controllers, classes, type hints, SOLID refactors, modern idioms — even without naming PHP. NOT for writing tests (use pest-testing) or explaining PHP concepts.
The English summary is being prepared. Showing the original description.
See how to installReview the instructions the agent will receive before you install.
This skill applies to ALL code generation and editing tasks. Every other skill builds on top of this one.
Do NOT use when:
code-review skill)quality-tools skill)AGENTS.md and .github/copilot-instructions.md for project-specific rules.app/Modules/*/), check app/Modules/{Module}/agents/ for module docs../agents/ for project-specific architecture.ecs.php / rector.php (if they exist) — code accordingly.Makefile or Taskfile.yml for available build/test/quality targets.artisan exists → Laravel project (Pest, Modules if present)artisan + composer.json → Standalone PHP / Composer projectAGENTS.md and ./agents/ for conventions→ See php-coding rule (always loaded) for PHP coding standards.
→ See guideline php/general.md for detailed PHP conventions.
→ See guideline php/controllers.md, php/eloquent.md, etc. for domain-specific conventions.
Before writing a second match/switch arm, a second if/elseif
branch, or a second class hardcoded to one enum/string value (e.g.
Provider::FOO->value, 'stripe', a case Type::CSV), STOP and run the
Strategy sniff test.
Trigger keywords in the task or surrounding code:
Provider, Type, Channel, Format,
Driver, Kindmatch ($x) / switch ($x) blocks on the same valueStripeImportService,
CsvExporter, Ks21Job next to GeoCaptureJob with the same shapeprivate const SUPPORTED_FOO = [Type::A, Type::B]→ Run the sniff test in
docs/guidelines/php/patterns/strategy.md.
Two "yes" answers → propose Strategy + Registry before adding the new
branch. Three "yes" → it is already overdue and the refactor is the change.
This gate fires per task, not per file — once you've passed the sniff test for a given discriminator, do not re-ask on the next branch.
dd(), var_dump(), print_r() remain.curl or an actingAs() HTTP test under api/; assert response shape and side effects.livewire test, a Playwright spec, or a browser screenshot snapshot.pest --filter=…) and the relevant phpstan / rector checks before claiming done.Math helper for ALL calculations — never raw PHP arithmetic.MonitoringHelper::captureException() for Sentry reporting.+, -, *, /) for business calculations — use Math helper.var_dump(), print_r(), dd() — disallowed by PHPStan.When PHPStan, Rector, or a test goes red after a change, do not retry blindly by toggling type hints, adding @phpstan-ignore, or shuffling arguments until it passes. Diagnose the root cause first — read the error, trace the symbol, then apply a targeted fix. Trial-and-error type narrowing hides real type errors.
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.