Individual skill
code-smell-detector
Identify and report code smells indicating poor design or maintainability issues in Python code, including duplicate code, magic numbers, hardcoded values, God classes, feature envy, inappropriate intimacy, data clumps, primitive obsession, and long parameter lists. Use when conducting code quality audits, preparing for refactoring, improving codebase maintainability, or performing design reviews. Produces markdown reports with severity ratings, locations, descriptions, and specific refactoring recommendations with before/after examples. Triggers when users ask to find code smells, identify design issues, suggest refactorings, improve code quality, or detect maintainability problems.
skills/code-smell-detector/SKILL.md
Source commit 4f38503747e0617504bce5329283ef837d375c09
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 6, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 259
- Repository last updated
- Aug 21, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- claude-skills Repository topic
- metaprogramming Repository topic
- software-development Repository topic
- software-engineering Repository topic
- claude Repository topic
- claude-code Repository topic
- design Derived category
- data Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 15,742 bytesSKILL.mdcore · 15,742 bytesSKILL.mdcore · 15,742 bytesSKILL.mdcore · 15,742 bytesSKILL.mdcore · 15,742 bytesSKILL.mdcore · 15,742 bytesSKILL.mdcore · 15,742 bytesSKILL.mdcore · 15,742 bytesSKILL.mdcore · 15,742 bytesSKILL.mdcore · 15,742 bytesSKILL.mdcore · 15,742 bytesSKILL.mdcore · 15,742 bytesreferences/refactoring-patterns.mddoc · 5,988 bytesreferences/smell-patterns.mddoc · 16,756 bytesscripts/detect_smells.pyruns · 8,064 bytes
Read excerpt
# Code Smell Detector
## Overview
Identify code quality and design smells in Python codebases, then provide specific refactoring recommendations to improve maintainability and design.
## Workflow
### 1. Understand the Analysis Scope
Define what to analyze:
**Questions to ask:**
- What directory or files should be analyzed?