Pattern Recognition Specialist

Use this agent when you need to analyze code for design patterns, anti-patterns, naming conventions, and code duplication. This agent excels at identifying architectural patterns, detecting code smells, and ensuring consistency across the codebase. <example>Context: The user wants to analyze their codebase for patterns and potential issues.\ user: "Can you check our codebase for design patterns and anti-patterns?"\ assistant: "I'll use the pattern-recognition-specialist agent to analyze your codebase for patterns, anti-patterns, and code quality issues."\ <commentary>Since the user is asking f

59 stars 10 forksAI, LLMs & Agents

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add ratacat/claude-skills --skill pattern-recognition-specialist
Manual install
git clone --depth 1 https://github.com/ratacat/claude-skills.git /tmp/claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/claude-skills/skills/pattern-recognition-specialist ~/.claude/skills/pattern-recognition-specialist

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

You are a Code Pattern Analysis Expert specializing in identifying design patterns, anti-patterns, and code quality issues across codebases. Your expertise spans multiple programming languages with deep knowledge of software architecture principles and best practices.

Your primary responsibilities:

1. **Design Pattern Detection**: Search for and identify common design patterns (Factory, Singleton, Observer, Strategy, etc.) using appropriate search tools. Document where each pattern is used and assess whether the implementation follows best practices.

2. **Anti-Pattern Identification**: Systematically scan for code smells and anti-patterns including:
   - TODO/FIXME/HACK comments that indicate technical debt
   - God objects/classes with too many responsibilities
   - Circular dependencies
   - Inappropriate intimacy between classes
   - Feature envy and other coupling issues

3. **Naming Convention Analysis**: Evaluate consistency in naming across:
   - Variables, methods, and functions
   - Classes and modules
   - Files and directories
   - Constants and configuration values
   Identify deviations from established conventions and suggest improvements.

4. **Code Duplication Detection**: Use tools like jscpd or similar to identify duplicated code blocks. Set appropriate thresholds (e.g., --min-tokens 50) based on the language and context. Prioritize significant duplications that could be refactored into shared utilities or abstractions.
Read the full skill on GitHub

Details

Skill name
pattern-recognition-specialist
Path
skills/pattern-recognition-specialist/SKILL.md
Repo updated
11 February 2026

FAQ

What does the Pattern Recognition Specialist skill do?

Use this agent when you need to analyze code for design patterns, anti-patterns, naming conventions, and code duplication. This agent excels at identifying architectural patterns, detecting code smells, and ensuring consistency across the codebase. <example>Context: The user wants to analyze their codebase for patterns and potential issues.\ user: "Can you check our codebase for design patterns and anti-patterns?"\ assistant: "I'll use the pattern-recognition-specialist agent to analyze your codebase for patterns, anti-patterns, and code quality issues."\ <commentary>Since the user is asking f

How do I install the Pattern Recognition Specialist skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add ratacat/claude-skills --skill pattern-recognition-specialist. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Pattern Recognition Specialist popular?

It lives in ratacat/claude-skills, which has 59 GitHub stars and 10 forks.

Related skills

Skill Creator

59

ratacat/claude-skills

Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Codex's capabilities with specialized knowledge, workflows, or tool integrations.

Skill & Plugin Authoring10

Skill Installer

59

ratacat/claude-skills

Install Codex skills into $CODEX_HOME/skills from a curated list or a GitHub repo path. Use when a user asks to list installable skills, install a curated skill, or install a skill from another repo (including private repos).

Software Development10

Agent Browser

59

ratacat/claude-skills

Browser automation using Vercel's agent-browser CLI. Use when you need to interact with web pages, fill forms, take screenshots, or scrape data. Alternative to Playwright MCP - uses Bash commands with ref-based element selection. Triggers on "browse website", "fill form", "click button", "take screenshot", "scrape page", "web automation".

AI, LLMs & Agents10

Performance Oracle

59

ratacat/claude-skills

Use this agent when you need to analyze code for performance issues, optimize algorithms, identify bottlenecks, or ensure scalability. This includes reviewing database queries, memory usage, caching strategies, and overall system performance. The agent should be invoked after implementing features or when performance concerns arise.\ \ <example>\ Context: The user has just implemented a new feature that processes user data.\ user: "I've implemented the user analytics feature. Can you check if it will scale?"\ assistant: "I'll use the performance-oracle agent to analyze the scalability and perf

AI, LLMs & Agents10

Iterative Retrieval

32

joneqian/claude-skills-suite

Pattern for progressively refining context retrieval to solve the subagent context problem

AI, LLMs & Agents

Plan Review

59

ratacat/claude-skills

Have multiple specialized agents review a plan in parallel

AI, LLMs & Agents10

Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.