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

defence-before-fix

Sterne0
Forks1
Aktualisiert18. Juni 2026 um 11:29

Defence Before Fix workflow for preventing bug classes through static analysis. Implements the ratcheting pattern: analyse bug -> create PHPStan rule -> TDD -> fix. Use when: - A bug has been found and you want to prevent the entire bug class - "defence before fix", "create a PHPStan rule for this bug" - "detect this pattern with static analysis", "ratchet this bug class" - User wants to encode institutional knowledge as a PHPStan rule This skill orchestrates 4 phases: 1. ANALYSE - Understand the bug pattern 2. DETECT - Create a PHPStan rule to catch the pattern 3. TDD - Write failing tests reproducing specific bugs 4. FIX - Implement fixes, verify rules and tests pass Reference: https://ltscommerce.dev/articles/defence-before-fix-static-analysis

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.

Datei-Explorer
4 Dateien
SKILL.md
readonly