Skip to main content
Jeden Skill in Manus ausführen
mit einem Klick

phpstan-trace

Sterne20
Forks0
Aktualisiert25. Mai 2026 um 06:57

Use when a PHPStan/Larastan type error is NON-TRIVIAL to fix by reading the source alone — the variable crosses multiple scopes (closure, callback, helper), is shaped by a third-party extension (larastan Eloquent magic attributes, webmozart/assert, doctrine generics, dynamic-return-type extensions), lives in a method longer than ~30 lines, involves generics / array shapes / template parameters, or a first read of the source already failed to explain the inferred type. Call the phpstan-trace CLI to retrieve the full type-inference chain BEFORE guessing a fix. Skip for trivial errors where the source obviously explains the type at the error line.

Installation

Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.

SKILL.md
readonly