Skip to main content
Execute qualquer Skill no Manus
com um clique

defence-before-fix

Estrelas0
Forks1
Atualizado18 de junho de 2026 às 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

Instalação

Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.

Explorador de arquivos
4 arquivos
SKILL.md
readonly