Code Smell Detector
A detector for amplihack anti-patterns that flags over-abstraction, deep inheritance, oversized functions, and tight coupling, with fixes.
- CCM score
- 47 of 100
- skills.sh installs
- 257
- GitHub stars
- 77
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers code review and refactoring against amplihack's simplicity and modular-design principles, with one section per smell
- Includes detection checklists, red-flag lists, and before-and-after examples for over-abstraction, complex inheritance, large functions, and tight coupling
- Flags functions over 50 lines, inheritance deeper than two levels, and abstractions with only one implementation
- Designed for reviewing new modules and refactoring existing code before merge
Install
$ npx -y skills add rysweet/amplihack --skill code-smell-detector -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Code Smell Detector Skill
Purpose
This skill identifies anti-patterns that violate amplihack's development philosophy and provides constructive, specific fixes. It ensures code maintains ruthless simplicity, modular design, and zero-BS implementations.
When to Use This Skill
- Code review: Identify violations before merging
- Refactoring: Find opportunities to simplify and improve code quality
- New module creation: Catch issues early in development
- Philosophy compliance: Ensure code aligns with amplihack principles
- Learning: Understand why patterns are problematic and how to fix them
- Mentoring: Educate team members on philosophy-aligned code patterns
Core Philosophy Reference
Amplihack Development Philosophy focuses on:
- Ruthless Simplicity: Every abstraction must justify its existence
- Modular Design (Bricks & Studs): Self-contained modules with clear connection points
- Zero-BS Implementation: No stubs, no placeholders, only working code
- Single Responsibility: Each module/function has ONE clear job
Code Smells Detected
1. Over-Abstraction
Details
- Repository
- github.com/rysweet/amplihack
- Category
- Code Review & Quality
- First seen
- Jun 3, 2026
Questions
What does the code-smell-detector skill check for?
The code-smell-detector skill identifies anti-patterns that violate amplihack's development philosophy, including over-abstraction, complex inheritance, functions longer than 50 lines, tight coupling, and missing __all__ exports. For each smell it provides a specific fix and an explanation of why the pattern is a problem.
When should I use the code-smell-detector skill?
Use it when reviewing code for quality issues, when refactoring, or when creating a new module so problems are caught early. It also helps teams learn why certain patterns are problematic and how to fix them.
How do I install the code-smell-detector skill?
Run npx -y skills add rysweet/amplihack --skill code-smell-detector -y in your project. Once installed, the agent can review your code and point out smells along with suggested fixes.
Which other skills are in the Code Review & Quality category?
Other skills in the Code Review & Quality category include improve-codebase-architecture, codebase-design, code-review, setup-ts-deep-modules and caveman-review. This skill focuses on amplihack-specific smells such as over-abstraction and large functions.
More from rysweet/amplihack
All 55- Backlog Curator256
- Sociologist Analyst256
- Engineer Analyst254
- Investigation Workflow254
- Pm Architect250
- Historian Analyst249
- Code Visualizer247
- Urban Planner Analyst247
- Debate Workflow245
- Environmentalist Analyst241
- Futurist Analyst240
- Meeting Synthesizer233
- Skill Builder232
- Pr Review Assistant230
- Epidemiologist Analyst229
- Context Management175
- Model Evaluation Benchmark166
- Goal Seeking Agent Pattern162
- Poet Analyst161
- Azure Devops159
- Email Drafter159
- Ethicist Analyst157
- Lsp Setup156
- Session Learning156
Similar to Code Smell Detector
More Code Review & Qualityrefactor-advisorlaolaoshiren/claude-code-skills-zh117 installsSystematic code refactoring advisor that scans for smells, ranks issues by severity, and outlines fixes.
pr-review-assistantrysweet/amplihack230 installsPhilosophy-aware PR reviews that check simplicity, modular design, and zero-BS implementation against amplihack principles.
refactoring-surgeoncuriositech/some_claude_skills264 installsBehavior-preserving refactoring guide that enforces tests first and catalogs code smells with fixes.
philosophy-compliance-workflowrysweet/amplihack141 installsSystematic philosophy compliance review that checks code against amplihack's simplicity and brick principles.
refactorpproenca/dot-skills668 installsStructured refactoring guide of 43 rules across eight prioritized categories, drawn from Fowler's catalog and Clean Code.