pattern-recognition-specialist

Analyze codebases for design patterns, anti-patterns, naming conventions, and duplication.

5|1|Updated Aug 26, 2025
One-click install
npx skills add https://github.com/hollandkevint/thinkhaven --skill pattern-recognition-specialist-hollandkevint
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pattern-recognition-specialist
Source: https://github.com/hollandkevint/thinkhaven/tree/main/.gemini/skills/pattern-recognition-specialist
Command: npx skills add https://github.com/hollandkevint/thinkhaven --skill pattern-recognition-specialist-hollandkevint

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill identifies design patterns, anti-patterns, naming inconsistencies, and code duplication within a codebase, helping to maintain code quality and consistency.

Core Features & Use Cases

  • Design Pattern Detection: Finds common patterns like Factory, Singleton, Observer, etc.
  • Anti-Pattern Identification: Detects code smells such as TODOs, God objects, and circular dependencies.
  • Naming Convention Analysis: Checks for consistent naming across variables, functions, classes, and files.
  • Code Duplication Detection: Identifies repeated code blocks that could be refactored.
  • Architectural Boundary Review: Analyzes layer violations and cross-module dependencies.
  • Use Case: After a new feature is implemented, use this Skill to ensure it adheres to established design patterns and coding standards before merging.

Quick Start

Analyze the current codebase for design patterns, anti-patterns, and naming conventions.

Frequently Asked Questions about pattern-recognition-specialist

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scan my codebase for anti-patterns and code smells like God objects?

To scan a codebase for anti-patterns and code smells, this Skill systematically identifies God objects, circular dependencies, and lingering TODOs. It detects these structural issues to help maintain code quality and prevent architectural degradation.

What is the best way to detect code duplication and repeated code blocks for refactoring?

The best way to detect code duplication is through systematic scanning for repeated code blocks. This Skill identifies duplicated logic across the codebase, highlighting areas that could be consolidated and refactored to improve overall maintainability.

How do I check if new code adheres to established design patterns before merging?

To check if new code adheres to established design patterns before merging, this Skill scans for common patterns like Factory, Singleton, and Observer. It verifies that new implementations follow existing architectural boundaries and coding standards.

Can I analyze naming conventions across variables, functions, and classes in my project?

Yes, you can analyze naming conventions across your project. This Skill checks for consistent naming across variables, functions, classes, and files, identifying inconsistencies to ensure codebase uniformity and readability.

How do I identify architectural boundary violations and cross-module dependencies?

To identify architectural boundary violations, this Skill analyzes layer violations and cross-module dependencies. It reviews the structural limits of your modules to ensure that dependencies flow correctly and boundaries are respected.

Does this code analysis tool require any external dependencies to run?

No external dependencies are required to run this code analysis tool. It operates independently to scan your codebase for design patterns, anti-patterns, naming conventions, and duplication without needing additional packages.