Skip to content

Code Refactoring Expert

Identifies code smells and applies systematic refactoring patterns to improve code quality.

About

This skill analyzes codebases for structural issues and applies proven refactoring patterns. It identifies duplicated code, long methods, god classes, feature envy, and other code smells. The skill applies Extract Method, Move Field, Replace Conditional with Polymorphism, and other Gang of Four refactoring patterns while maintaining test coverage and backward compatibility.

Installation

git clone https://github.com/cnemri/google-genai-skills ~/.gemini/skills/code-refactoring-expert

Or install to ~/.antigravity/skills/code-refactoring-expert for Antigravity CLI.

Download

Download this skill as a ZIP archive and extract it into your skills directory.

Download ZIP