pattern-recognition-specialist

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

5|Updated Oct 22, 2025
One-click install
npx skills add https://github.com/marchatton/agent-skills --skill pattern-recognition-specialist-marchatton
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pattern-recognition-specialist
Source: https://github.com/marchatton/agent-skills/tree/main/.agents/skills/05-review/pattern-recognition-specialist
Command: npx skills add https://github.com/marchatton/agent-skills --skill pattern-recognition-specialist-marchatton

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps identify design patterns, anti-patterns, naming inconsistencies, and code duplication within a codebase, improving code quality and maintainability.

Core Features & Use Cases

  • Design Pattern Detection: Identifies common software design patterns.
  • Anti-Pattern Identification: Detects code smells, technical debt indicators, and architectural violations.
  • Naming Convention Analysis: Ensures consistency in naming across code elements.
  • Code Duplication Detection: Finds and reports duplicated code blocks.
  • Use Case: A development team can use this Skill to perform a comprehensive code review, ensuring adherence to best practices and identifying areas for refactoring before a major release.

Quick Start

Analyze the current project's codebase for design patterns and code smells.

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 anti-patterns and code smells in my codebase?

This Skill detects anti-patterns and code smells by applying structural matching tools to analyze your codebase for architectural violations and technical debt indicators. It identifies inconsistencies and reports areas that require refactoring to improve maintainability.

What is the best way to find duplicated code blocks for refactoring?

Finding duplicated code blocks for refactoring is done using integrated duplication detection. This Skill utilizes jscpd to scan your codebase, automatically locating and reporting repeated code structures to help you consolidate technical debt.

Can I analyze naming conventions across my entire software project?

You can analyze naming conventions across your software project using this Skill. It performs naming convention analysis to ensure consistency across code elements, applying pattern matching to verify adherence to established naming rules.

Does this code review tool require ast-grep and Grep to identify design patterns?

Yes, identifying design patterns requires Grep and ast-grep tools. This Skill depends on Grep for standard pattern matching and ast-grep for structural code matching to accurately detect common software design patterns within your codebase.

When should I run a code duplication and anti-pattern analysis during development?

You should run code duplication and anti-pattern analysis before a major release or during comprehensive code reviews. This ensures adherence to best practices, identifies technical debt early, and highlights areas for refactoring to improve code quality.