What problem does it solve?
Manually reviewing large codebases for design patterns, anti-patterns, naming inconsistencies, code duplication, and architectural boundary violations is time-consuming, inconsistent, and prone to oversight, leading to accumulated technical debt and degraded code quality over time.
Core Features & Use Cases
- Design Pattern Detection: Identifies common design patterns (Factory, Singleton, Observer, Strategy, etc.) across the codebase and evaluates their implementation against established best practices.
- Anti-Pattern & Code Smell Scanning: Flags technical debt indicators including TODO/FIXME/HACK comments, God objects, circular dependencies, and inappropriate class coupling with severity assessments.
- Naming & Duplication Analysis: Evaluates consistency of naming conventions across variables, functions, classes, and files, and detects duplicated code blocks to recommend refactoring into shared utilities.
- Architectural Boundary Review: Checks for layer violations, cross-module dependencies, and abstraction bypasses that break intended architectural principles.
- Use Case: A development team preparing for a major refactor can use this skill to quickly map all existing design patterns, identify high-impact anti-patterns, and get a prioritized list of refactoring tasks to reduce technical debt efficiently.
Quick Start
Use the pattern-recognition-specialist skill to analyze your project's codebase for design patterns, anti-patterns, naming inconsistencies, and code duplication, then generate a structured report with prioritized refactoring recommendations.