refactor-convention
CommunityCode refactoring principles and workflow.
AuthorChengxufeng1994
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides a standardized, principle-driven workflow for refactoring code, addressing common issues like code smells, poor design, and violation of software engineering principles.
Core Features & Use Cases
- Universal Refactoring Workflow: Guides users through diagnosing, planning, and executing code refactoring.
- Principle Enforcement: Emphasizes SOLID, KISS, YAGNI, DRY, and GoF patterns for cleaner, more maintainable code.
- Use Case: When faced with a complex, hard-to-maintain function, use this Skill to systematically break it down, apply design patterns, and ensure testability and extensibility.
Quick Start
Use the refactor-convention skill to refactor the provided code snippet.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: refactor-convention Download link: https://github.com/Chengxufeng1994/dotfiles/archive/main.zip#refactor-convention 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 223,000+ vetted skills library on demand.