code-structure-cleanup
CommunityRefactor cleanup: extract reusable service logic.
Authormanjunathva2018
Version1.0.0
Installs0
System Documentation
What problem does it solve?
AI agents often take the easiest path: they create new functions instead of reusing existing ones. A feature can work while still leaving behind duplicated logic, inconsistent validation, repeated API calls, and code that future agents struggle to understand.
Run this cleanup pass after a feature works, not before.
Core Features & Use Cases
- Identify duplicated runtime mechanics and move them into reusable service-layer functions/modules.
- Keep domain policy in the calling route/action/component.
- Do not change user-facing behavior; keep diffs small.
Quick Start
Run a cleanup pass on the recently completed feature to extract duplicated logic into a shared service.
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-structure-cleanup Download link: https://github.com/manjunathva2018/urban-invention/archive/main.zip#code-structure-cleanup 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 510,000+ vetted skills library on demand.