·detect-code-smells
{}

detect-code-smells

Detects code smells in PHP codebases. Identifies God Class, Feature Envy, Data Clumps, Long Parameter List, Long Method, Primitive Obsession, Message Chains, Inappropriate Intimacy. Generates actionable reports with refactoring recommendations.

10Installs·1Trend·@dykyi-roman

Installation

$npx skills add https://github.com/dykyi-roman/awesome-claude-code --skill detect-code-smells

How to Install detect-code-smells

Quickly install detect-code-smells AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/dykyi-roman/awesome-claude-code --skill detect-code-smells
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: dykyi-roman/awesome-claude-code.

SKILL.md

View raw

This skill analyzes PHP codebases for code smells (symptoms of deeper problems) and generates detailed reports with severity levels and refactoring recommendations.

| God Class | Class doing too much | >500 LOC, >15 methods | CRITICAL | | Feature Envy | Method uses another class more | Foreign calls > own calls | WARNING | | Data Clumps | Same fields appear together | 3+ repeated params/fields | WARNING | | Long Parameter List | Method with many params | >4 parameters | WARNING |

| Long Method | Method doing too much | >50 LOC | WARNING | | Primitive Obsession | Primitives instead of objects | string $email, int $money | INFO | | Message Chains | Long getter chains | ->get()->get()->get() | WARNING | | Inappropriate Intimacy | Classes knowing too much | Direct field access | WARNING |

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/dykyi-roman/awesome-claude-code --skill detect-code-smells
Category
{}Data Analysis
Verified
First Seen
2026-02-22
Updated
2026-03-10

Browse more skills from dykyi-roman/awesome-claude-code

Quick answers

What is detect-code-smells?

Detects code smells in PHP codebases. Identifies God Class, Feature Envy, Data Clumps, Long Parameter List, Long Method, Primitive Obsession, Message Chains, Inappropriate Intimacy. Generates actionable reports with refactoring recommendations. Source: dykyi-roman/awesome-claude-code.

How do I install detect-code-smells?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/dykyi-roman/awesome-claude-code --skill detect-code-smells Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/dykyi-roman/awesome-claude-code