What problem does it solve?
This Skill helps teams and reviewers rapidly find design patterns, anti-patterns, naming inconsistencies, and duplicated code so that architectural issues and technical debt can be identified and prioritized for refactoring.
Core Features & Use Cases
- Design Pattern Detection: Locate common patterns (Factory, Singleton, Observer, Strategy, etc.), report their locations, and assess implementation quality against best practices.
- Anti-Pattern and Code Smell Identification: Find TODO/FIXME/HACK markers, god classes, circular dependencies, inappropriate intimacy, and feature envy with severity assessments.
- Naming and Consistency Analysis: Evaluate naming conventions across variables, functions, classes, files, and configuration constants and surface deviations with concrete examples.
- Duplication Detection & Architectural Review: Run token-based duplication detection (e.g., jscpd-style) with configurable thresholds and analyze cross-layer boundary violations to flag separation-of-concern breaches.
- Use Case: During a pre-release architecture review, use this Skill to produce a prioritized report of pattern usage, code smells, naming issues, and duplication hotspots to guide refactoring and code ownership.
Quick Start
Ask the agent to scan the repository for design patterns, TODO/FIXME markers, naming inconsistencies, and duplicated code and return a structured report with locations, severity, and remediation suggestions.