pattern-recognition-specialist

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

49|4|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/gvkhosla/compound-engineering-pi --skill pattern-recognition-specialist-gvkhosla
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pattern-recognition-specialist
Source: https://github.com/gvkhosla/compound-engineering-pi/tree/main/skills/pattern-recognition-specialist
Command: npx skills add https://github.com/gvkhosla/compound-engineering-pi --skill pattern-recognition-specialist-gvkhosla

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps maintain codebase consistency and quality by identifying design patterns, anti-patterns, naming convention violations, and duplicated code.

Core Features & Use Cases

  • Design Pattern Detection: Finds common patterns like Factory, Singleton, Observer, etc.
  • Anti-Pattern Identification: Detects code smells, TODOs, and architectural boundary violations.
  • Naming Convention Analysis: Checks for consistent naming across variables, functions, classes, etc.
  • Code Duplication Detection: Identifies redundant code blocks that can be refactored.
  • Use Case: After a new feature is implemented, use this Skill to ensure it adheres to established coding standards and patterns, preventing technical debt.

Quick Start

Analyze the current project for design patterns and code quality issues.

Frequently Asked Questions about pattern-recognition-specialist

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

FAQPage Schema
How do I detect design patterns and anti-patterns in my codebase?

To detect design patterns and anti-patterns, the Skill systematically scans your codebase to identify structural implementations like Factory or Singleton, while checking for architectural smells and boundary violations. It uses Grep or ast-grep for pattern matching.

Can code duplication detection help refactor redundant code blocks?

Code duplication detection identifies redundant code blocks suitable for refactoring by scanning the project with jscpd. This process highlights duplicated logic, allowing you to consolidate redundant blocks and reduce technical debt.

What is naming convention analysis and how does it maintain code quality?

Naming convention analysis maintains code quality by checking for consistent naming across variables, functions, and classes. It scans for deviations from established best practices, ensuring codebase consistency and preventing technical debt accumulation.

Do I need Grep or ast-grep to check for architectural smells and TODOs?

You need Grep or ast-grep to check for architectural smells and TODOs because the Skill requires these pattern matching tools to systematically scan codebases. jscpd is also required specifically for detecting duplicated code segments.

When should I analyze code for code smells and naming convention violations?

You should analyze code for smells and naming violations after implementing a new feature. This ensures the new code adheres to established coding standards and design patterns, effectively preventing technical debt before it accumulates.