refactor
Improve code structure and readability by addressing code smells and applying design patterns with safe processes.
Install
npx skills add https://github.com/github/awesome-copilot --skill refactorStats
| Total installs | 11,092 |
| Weekly installs | 11.1K |
| GitHub stars | 27.4K |
| First seen | Jan 23, 2026 |
| Source | @github/awesome-copilot |
Summary
- Covers 10 common code smells: long methods, duplication, large classes, long parameter lists, feature envy, primitive obsession, magic numbers, nested conditionals, dead code, and inappropriate intimacy
- Includes extract method, extract class, and introduce type safety patterns with before/after examples
- Provides design pattern refactoring strategies: Strategy, Chain of Responsibility, and others for replacing conditional logic
- Emphasizes safe refactoring process: prepare with tests, make small changes, verify with tests, commit incrementally
Tags
Related skills
| Skill | Installs | vs refactor |
|---|---|---|
| security-best-practices | 14,114 | +3,022 |
| architecture-patterns | 10,017 | -1,075 |
| typescript-advanced-types | 18,602 | +7,510 |
| python-testing-patterns | 10,474 | -618 |
| git-commit | 18,686 | +7,594 |
FAQ
- How many installs does refactor have?
- refactor has 11,092 total installs and 11.1K installs this week.
- Where is refactor hosted?
- refactor is published by @github/awesome-copilot at https://github.com/github/awesome-copilot.
- How many GitHub stars does refactor have?
- refactor has 27.4K GitHub stars.
- When was refactor first indexed?
- OrangeBot.AI first indexed refactor on Jan 23, 2026.
- How do I install refactor?
- Run: npx skills add https://github.com/github/awesome-copilot --skill refactor