Software Development·v1.0.0·JayRHa/AgentSkills

Refactoring Guide

Applies safe, incremental, behavior-preserving refactorings (extract function/variable, rename, inline, decompose conditionals, remove duplication, replace conditional with polymorphism, introduce parameter object) using a test-protected, small-step workflow. Use this skill when the user asks to "refactor", "clean up", "simplify", "extract a method/function", "rename", "remove duplication", "reduce nesting", "break up a god class/long function", "improve readability", "untangle" code, "make this testable", "reduce complexity", or "tidy up" without changing what the code does. Covers code smell detection, choosing the right refactoring, and verifying behavior is unchanged.

Install this skill

Add the catalog as a Grok Bot marketplace source, then install the skill.

grok plugin marketplace add jaskirat1616/grok-skills

Or copy SKILL.md to ~/.grok/skills/refactoring-guide/SKILL.md

SKILL.mdskills/refactoring-guide/SKILL.md
Loading…