/senior-dev:code-smells-expertfrom senior-dev
Analyzes source code to identify, classify, and diagnose architectural design flaws (code smells) and technical debt using the Fowler/Beck taxonomy. Useful for technical audits, code quality evaluation, and SOLID violation detection.
Ships in senior-dev. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
This skill performs structured technical debt audits to identify, classify, and diagnose design flaws known as "Code Smells". It acts as a Senior Software Architect and Technical Debt Diagnostician, grounding assessments in the Fowler/Beck taxonomy. Its primary mission is pure diagnosis and impact analysis, explaining why structural flaws impede maintainability, extensibility, and testability before any refactoring begins.
refactoring-code-expert.security-audit.performance-scalability.test-driven-development.Execute the AST-based smell detection script on specific files or target directories:
python3 ./skills/code-smells-expert/scripts/detect_smells.py [optional_path_to_file_or_directory]
The tool flags threshold violations for method length (>30 lines), class size (>300 lines), parameter count (>4), and nested conditional depth.
Review classes, methods, and dependencies against the five major smell categories:
For every identified smell, document:
# Scan whole workspace or a specific module
python3 ./skills/code-smells-expert/scripts/detect_smells.py src/
python3 ./skills/code-smells-expert/scripts/detect_smells.py path/to/target_file.py
detect_smells.py in the shell and summarize findings using the diagnostic reporting format.detect_smells.py via Bash and formulate the architectural assessment.python3 ./skills/code-smells-expert/scripts/detect_smells.py
For full taxonomy definitions, visual examples, and remediation strategies:
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub jggomez/expert-ai-developer-skills --plugin senior-dev15 skills in this plugin
/adversarial-challengerAdversarial stress testing, fuzzing, worst-case inputs, failure-path probes, timeout/reconnection simulations, and concurrency/memory stress./blackbox-testerBlack-box browser verification validating real user flows, GUI forms, console/network errors, visual layouts, and 4-viewport screenshot evidence using deterministic Playwright execution./code-criticIndependent code review inspecting cyclomatic complexity, DRY, SOLID, anti-patterns, maintainability, and interface robustness./code-implementerGuides the implementation of code using Test-Driven Development (TDD) and clean code principles. Trigger when implementing new features, fixing bugs, or refactoring existing code./compliance-verifierGuides the final quality assurance and compliance verification of a project. Trigger when checking non-functional requirements, static code analysis, test coverage, and security compliance before release./context-captureUse when finishing a task at State 5 (Ship & Finish) or when the user explicitly asks to "save context", "guarda contexto", "record decisions", or "hand off" — writes ultra-compact persistent memory to context/memory/ and ensures target-project root AGENTS.md (<= 90 lines) stays wired to DESIGN.md and MEMORY.md across Claude Code and Google Antigravity.Other plugins' skills for the same job