acc-find-logic-errors
Installation
SKILL.md
Logic Error Detection
Analyze PHP code for logic errors that cause incorrect behavior.
Detection Patterns
1. Incorrect Comparison Operators
// BUG: Assignment instead of comparison
if ($status = 'active') { } // Should be ===
// BUG: Wrong comparison type
if ($count == '0') { } // '0' is truthy in string comparison
// BUG: Yoda condition error
if ('active' = $status) { } // Assignment error