library/specializations/code-migration-modernization/skills/code-smell-detector/SKILL.md
Automated detection of code smells and anti-patterns to identify refactoring opportunities
npx skillsauth add a5c-ai/babysitter code-smell-detectorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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.
Enable systematic detection of code smells for:
| Tool | Purpose | Integration Method | |------|---------|-------------------| | SonarQube | Code smell detection | MCP Server / API | | PMD | Java smell detection | CLI | | IntelliJ IDEA | IDE-based analysis | CLI / Export | | Designite | Design smell detection | CLI | | ast-grep | Pattern-based detection | MCP Server / CLI | | ESLint | JavaScript smell rules | CLI |
{
"analysisId": "string",
"timestamp": "ISO8601",
"target": {
"path": "string",
"filesAnalyzed": "number"
},
"smells": [
{
"type": "string",
"severity": "high|medium|low",
"file": "string",
"line": "number",
"element": "string",
"description": "string",
"metrics": {},
"refactoringSuggestion": "string",
"estimatedEffort": "string"
}
],
"summary": {
"totalSmells": "number",
"byType": {},
"bySeverity": {},
"hotspots": []
}
}
static-code-analyzer: Broader quality analysisrefactoring-assistant: Smell remediationdead-code-eliminator: Unused code removalcode-transformation-executor: Executes refactoringstechnical-debt-auditor: Prioritizes debt remediationdevelopment
Model documentation skill for generating model cards following Google's model card framework.
development
MLflow integration skill for experiment tracking, model registry, and artifact management. Enables LLMs to log experiments, compare runs, manage model lifecycle, and retrieve artifacts through the MLflow API.
data-ai
LIME-based local explanation skill for individual predictions across tabular, text, and image data.
devops
Kubeflow Pipelines skill for ML workflow orchestration, component management, and Kubernetes-native ML.