Pattern Detection When to use this skill - Code review : Proactively detect problematic patterns - Security review : Scan for vulnerability patterns - Refactoring : Identify duplicate code - Monitoring : Alert on anomalies Instructions Step 1: Detect code smell patterns Detect long functions : Duplicate code patterns : Magic numbers : Step 2: Security vulnerability patterns SQL Injection risks : Hard-coded secrets : Dangerous function usage : Step 3: Code structure patterns Import analysis : TODO/FIXME patterns : Error handling patterns : Step 4: Data anomaly patterns Regex patterns : Statist…