SKILL22.4K installs40.5K

Refactor

Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.

Type
Skill
Author
github
Category
Code Review
GitHub stars
40.5K
Installs
22.4K
Last updated
November 2, 2026

Install

npx skills add https://github.com/github/awesome-copilot --skill refactor

Use cases


Frequently Asked Questions

Does refactoring here change behavior?

No, the skill is described as surgical and behavior-preserving.

How does it differ from repo-rebuilder?

It is described as less drastic, intended for gradual improvements rather than a full rebuild.

What kinds of changes does it make?

Extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns.


About this skill

Performs targeted, behavior-preserving refactors that improve maintainability without changing what the code does. It handles extracting functions, renaming variables, breaking down god functions, tightening type safety, eliminating code smells, and applying design patterns. The description positions it as less drastic than a full repo rebuild, so it fits gradual cleanup work.

Summary written with AI assistance from the project's public description.


Categories


More from github


Similar Skills