Refactoring Rules

Community

Improve code quality and maintainability.

Authoriceflower
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the challenge of improving existing code's internal structure without altering its external behavior, making it more understandable, maintainable, and extensible.

Core Features & Use Cases

  • Code Smell Identification: Detects and provides solutions for common code smells at method, class, and coupling levels.
  • Refactoring Techniques: Offers practical guidance and examples for basic and API refactoring techniques like Extract Method, Rename, Move Method, and Separate Query from Modifier.
  • Use Case: A developer is faced with a complex, hard-to-read method. They can consult this Skill to identify potential code smells and apply techniques like "Extract Method" to break it down into smaller, more manageable, and understandable functions.

Quick Start

Apply the 'Extract Method' refactoring technique to simplify a long method.

Dependency Matrix

Required Modules

None required

Components

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: Refactoring Rules
Download link: https://github.com/iceflower/opencode-agents-and-skills/archive/main.zip#refactoring-rules

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.