This skill should be used when the user asks to analyze, review, or refactor code for design patterns, code quality, or SOLID principles. Triggers include requests like 'analyze this code for design patterns', 'does this violate OCP/SRP', 'refactor using design patterns', 'which design pattern should I use', 'is this code redundant', 'how to decouple this', or any mention of specific patterns like Factory, Strategy, Observer, Singleton, Builder, Adapter, etc. when the context is about code refactoring or architecture improvement.
This skill should be used when the user asks to analyze, review, or refactor code for design patterns, code quality, or SOLID principles. Triggers include requests like 'analyze this code for design patterns', 'does this violate OCP/SRP', 'refactor using design patterns', 'which design pattern should I use', 'is this code redundant', 'how to decouple this', or any mention of specific patterns like Factory, Strategy, Observer, Singleton, Builder, Adapter, etc. when the context is about code refactoring or architecture improvement.