blueprint:bad-pattern
Installation
SKILL.md
Document Anti-Pattern
COMMAND: Document code to avoid and the correct alternative.
Execute
- Parse argument for anti-pattern and correct approach
- Create patterns/bad/ if needed
- Add entry to patterns/bad/anti-patterns.md
- Report what was documented
Input Handling
| Input | Action |
|---|---|
/bad-pattern any type - use unknown |
Document with both bad and good |
/bad-pattern inline SQL |
Ask for correct approach |
/bad-pattern |
Ask what to document |