golang-refactor
CommunityRefactor Go code with expert guidance.
AuthorChengxufeng1994
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses complex code refactoring needs in Go, aiming to improve code quality, maintainability, and adherence to software design principles.
Core Features & Use Cases
- Structured Refactoring: Applies SOLID, KISS, YAGNI, DRY, and GoF Design Patterns for robust code improvement.
- Code Smell Detection: Identifies and rectifies issues like God Objects, excessive coupling, and duplicated logic.
- OOA/OOD Analysis: Provides object-oriented analysis and design for better software architecture.
- Use Case: Refactor a large, monolithic Go function with many parameters and mixed responsibilities into smaller, testable, and more maintainable units following SOLID principles.
Quick Start
Use the golang-refactor skill to refactor the file '/path/to/your/code.go'.
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: golang-refactor Download link: https://github.com/Chengxufeng1994/dotfiles/archive/main.zip#golang-refactor 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.