pattern-detector

Community

Detect code patterns & anti-patterns.

AuthorCuriousLearner
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps developers identify and understand design patterns and anti-patterns within their codebase, leading to more robust, maintainable, and efficient software.

Core Features & Use Cases

  • Design Pattern Identification: Recognizes common creational, structural, and behavioral design patterns.
  • Anti-Pattern Detection: Flags problematic code structures like God Objects, Spaghetti Code, and Magic Numbers.
  • Recommendation Engine: Provides actionable advice on refactoring anti-patterns and suggests appropriate patterns for specific use cases.
  • Use Case: A developer suspects their UserService class is becoming too large and complex. They can use this Skill to analyze the code, confirm if it exhibits the "God Object" anti-pattern, and receive suggestions on how to break it down into smaller, single-responsibility services.

Quick Start

Analyze the current directory for design patterns and anti-patterns.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: pattern-detector
Download link: https://github.com/CuriousLearner/devkit/archive/main.zip#pattern-detector

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.