refactor-assistant

Official

Intelligent code refactoring

AuthorAIDotNet
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enhances code quality by identifying and rectifying code smells, suggesting design patterns, and ensuring behavioral integrity during refactoring.

Core Features & Use Cases

  • Design Pattern Suggestions: Recommends and applies relevant design patterns like Strategy and Factory.
  • Code Smell Detection: Identifies issues such as long methods and suggests refactoring strategies.
  • Behavior Preservation: Ensures that refactored code maintains its original functionality.
  • Use Case: Improve a complex, hard-to-maintain function by extracting logic into smaller, reusable methods and applying appropriate design patterns.

Quick Start

Use the refactor assistant to refactor the provided TypeScript code using the Strategy pattern.

Dependency Matrix

Required Modules

None required

Components

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: refactor-assistant
Download link: https://github.com/AIDotNet/MoYuCode/archive/main.zip#refactor-assistant

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.