This skill checks code for common problems and suggests simple improvements.
Instructions
Review the files provided (or only changed files if a diff is provided).
Find code smells like:
long functions/components
duplicated code
unclear names
too much logic in one file
deep nesting and complex conditions
unused code
Do not change behavior.
Suggest small, safe fixes.
Expected output
Short summary
List of smells (file + where)
3–7 fix suggestions
1---2name: detect-code-smells3description: Find common code smells and suggest small fixes without changing behavior.4---56# Skill: Detect Code Smell78## Overview910This skill checks code for common problems and suggests simple improvements.1112## Instructions1314- Review the files provided (or only changed files if a diff is provided).15- Find code smells like:16 - long functions/components17 - duplicated code18 - unclear names19 - too much logic in one file20 - deep nesting and complex conditions21 - unused code22- Do not change behavior.23- Suggest small, safe fixes.2425## Expected output2627- Short summary28- List of smells (file + where)29- 3–7 fix suggestions
Run npx get-skill add dvasyliev/detect-code-smells in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Find common code smells and suggest small fixes without changing behavior. It is listed under Coding & Dev Tools on SkillMD.
SkillMD's automated safety review verdict for this skill is PASS. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
dvasyliev (@dvasyliev) published this skill. Their other Agent Skills are listed on their SkillMD profile.