refactoring/moving-features
CommunityAlign class roles while easing maintenance.
Software Engineering#refactoring#oop#coupling#encapsulation#design-patterns#class-cohesion#method-movement
Authorjohnnystefan
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Classes accumulate mixed responsibilities and expose fragile delegates, which raises coupling and makes refactors risky.
Core Features & Use Cases
- Move Methods and Fields: relocate logic and state to the class that uses it most while keeping the original interface as a thin reference.
- Manage Responsibilities: extract focused classes or inline redundant ones so every object sticks to a single role, and hide delegates to simplify client code.
- Use Case: When financial reports mix presentation and persistence logic, move computations into a dedicated domain service and let controllers access it through a single accessor to restore cohesion.
Quick Start
Use this skill to move cohesion-critical methods into their rightful classes.
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: refactoring/moving-features Download link: https://github.com/johnnystefan/test-saas-business/archive/main.zip#refactoring-moving-features 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.