Agent skill

code-smell-detector

Automated detection of code smells and anti-patterns to identify refactoring opportunities

a5c-aigithub.com/a5c-aiGitHub ↗
claude-codecodexcan modify filesMIT
Install
npx skills add a5c-ai/babysitter --skill code-smell-detector --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 4 KB
Bundled scripts: none
Allowed tools: BashReadWriteGrepGlobEdit
Path: library/specializations/code-migration-modernization/skills/code-smell-detector/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,642
Language: JavaScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Code Smell Detector Skill Automated detection of code smells, anti-patterns, and design issues that indicate deeper problems in the codebase. This skill identifies refactoring opportunities and prioritizes them by impact. ## Purpose Enable systematic detection of code smells for: - Refactoring prioritization - Technical debt identification - Code quality improvement - Migration preparation - Design pattern violations ## Capabilities ### 1. Long Method Detection - Identify methods exceeding line thresholds - Analyze parameter counts - Detect high cyclomatic complexity - Suggest extraction candidates ### 2. Large Class Identification - Detect classes with too many responsibilities - Identify god classes - Analyze class cohesion - Suggest decomposition strategies ### 3. Feature Envy Analysis - Find methods using other classes' data excessively - Identify misplaced functionality - Suggest method relocation - Map cross-class dependencies ### 4. Primitive Obsession Detection - Identify overuse of primitives - Find missing value objects - Detect stringly-typed code - Suggest domain type extraction ### 5. Parallel Inheritance Hierarchy - Detect mirrored class hierarchies - Identify inher

What's inside
Steps it walks through
  1. Purpose
  2. Capabilities
  3. 1. Long Method Detection
  4. 2. Large Class Identification
  5. 3. Feature Envy Analysis
  6. 4. Primitive Obsession Detection
  7. 5. Parallel Inheritance Hierarchy
  8. 6. Shotgun Surgery Detection
  9. 7. God Class Identification
  10. Tool Integrations
  11. Output Schema
  12. Integration with Migration Processes
  13. Related Skills
  14. Related Agents
Ships with 1 file
  • README.md
More from babysitter
All skills →
About this skill
What does the code-smell-detector skill do?

Automated detection of code smells and anti-patterns to identify refactoring opportunities

How do I install it?

Run `npx skills add a5c-ai/babysitter --skill code-smell-detector --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From a5c-ai/babysitter, a repository with 1,642 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going