code-smells/dispensables
CommunityEliminate dispensable code for clearer systems.
Software Engineering#typescript#refactoring#duplication#code-review#clean-code#dead-code#code-smells
Authorjohnnystefan
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Keeps codebases lean by detecting the six dispensable smells—comment deodorants, duplicate logic, lazy or data classes, dead code, and speculative generality—so that every commit remains meaningful and easy to understand.
Core Features & Use Cases
- Dispensable detection: Leverages the six smell categories to scan TypeScript services for hidden redundancy, unused structures, and overly commented logic during reviews.
- Treatment playbook: Provides guided tactics like extract method, inline class, and encapsulate field to refactor dispensables without breaking behavior.
- Use Case: During a monorepo pull request, invoke this skill to audit the changed files, highlight dispensable artifacts, and suggest focused cleanup steps.
Quick Start
Ask the agent to inspect the latest TypeScript changes for dispensable elements and propose refactors.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: code-smells/dispensables Download link: https://github.com/johnnystefan/test-saas-business/archive/main.zip#code-smells-dispensables Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.