code-smell-detector

Detect 22 code smells and output severity-scored refactoring reports.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/monicajeon28/GMcruise --skill code-smell-detector-monicajeon28
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-smell-detector
Source: https://github.com/monicajeon28/GMcruise/tree/main/.claude/skills/code-smell-detector
Command: npx skills add https://github.com/monicajeon28/GMcruise --skill code-smell-detector-monicajeon28

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

코드 작성 및 리뷰 시 흔히 발생하는 코드 스멜(장황한 함수, 긴 메서드, 중복 코드 등)을 조기에 식별하고 리팩토링을 제안합니다.

Core Features & Use Cases

  • 22가지 코드 스멜 유형 탐지 및 우선순위 제시
  • 긴 메서드/중복 코드/God Object 등의 패턴 탐지
  • 자동 리팩토링 제안 및 코드 품질 점수 누적

Quick Start

코드 작성/리뷰 시 스멜이 의심되는 부분을 즉시 진단하고 수정 제안을 제공합니다.

Frequently Asked Questions about code-smell-detector

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect code smells in my source code during development?

Code smell detection identifies architectural and design problems like God Objects, long methods, and code duplication automatically during writing and editing. The detector applies on file changes and pull requests, scoring severity and suggesting refactoring steps with specific locations in your code.

What are the 22 types of code smells this detector covers?

The detector covers 22 code smell patterns including God Object, long methods, feature envy, and code duplication. Each pattern is scored by severity and linked to refactoring recommendations based on file, function, and class metric thresholds you can enforce.

Can code smell detection work automatically during code reviews?

Yes, the detector triggers automatically on pull requests and during code reviews. It generates a severity-scored report showing smell locations, their impact on code quality, and immediate remediation steps without manual invocation.

How does this help with code quality metrics and technical debt planning?

The detector enforces configurable thresholds for file, function, and class metrics, accumulating quality scores over time. This data supports technical debt planning by tracking smell density and prioritizing refactoring efforts where impact is highest.

What output does the code smell detector provide?

The detector outputs a severity-scored report identifying each smell's location in your codebase, severity level, and step-by-step refactoring suggestions. Reports integrate into your code review workflow and quality tracking systems.