·refactor
</>

refactor

github/awesome-copilot

Chirurgisches Code-Refactoring zur Verbesserung der Wartbarkeit ohne Verhaltensänderung. Behandelt das Extrahieren von Funktionen, das Umbenennen von Variablen, das Aufschlüsseln von Gottfunktionen, das Verbessern der Typsicherheit, das Beseitigen von Codegerüchen und das Anwenden von Entwurfsmustern. Weniger drastisch als Repo-Rebuilder; Verwendung für schrittweise Verbesserungen.

722Installationen·31Trend·@github

Installation

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

SKILL.md

Improve code structure and readability without changing external behavior. Refactoring is gradual evolution, not revolution. Use this for improving existing code, not rewriting from scratch.

| Extract Method | Turn code fragment into method | | Extract Class | Move behavior to new class | | Extract Interface | Create interface from implementation | | Inline Method | Move method body back to caller | | Inline Class | Move class behavior to caller | | Pull Up Method | Move method to superclass | | Push Down Method | Move method to subclass |

| Rename Method/Variable | Improve clarity | | Introduce Parameter Object | Group related parameters | | Replace Conditional with Polymorphism | Use polymorphism instead of switch/if | | Replace Magic Number with Constant | Named constants | | Decompose Conditional | Break complex conditions | | Consolidate Conditional | Combine duplicate conditions |

Original anzeigen

Fakten (zitierbereit)

Stabile Felder und Befehle für KI/Such-Zitate.

Installationsbefehl
npx skills add https://github.com/github/awesome-copilot --skill refactor
Kategorie
</>Entwicklung
Verifiziert
Erstes Auftreten
2026-02-01
Aktualisiert
2026-02-18

Schnelle Antworten

Was ist refactor?

Chirurgisches Code-Refactoring zur Verbesserung der Wartbarkeit ohne Verhaltensänderung. Behandelt das Extrahieren von Funktionen, das Umbenennen von Variablen, das Aufschlüsseln von Gottfunktionen, das Verbessern der Typsicherheit, das Beseitigen von Codegerüchen und das Anwenden von Entwurfsmustern. Weniger drastisch als Repo-Rebuilder; Verwendung für schrittweise Verbesserungen. Quelle: github/awesome-copilot.

Wie installiere ich refactor?

Öffnen Sie Ihr Terminal oder Kommandozeilen-Tool (Terminal, iTerm, Windows Terminal, etc.) Kopieren Sie diesen Befehl und führen Sie ihn aus: npx skills add https://github.com/github/awesome-copilot --skill refactor Nach der Installation wird der Skill automatisch in Ihrer KI-Programmierumgebung konfiguriert und ist bereit zur Verwendung in Claude Code oder Cursor

Wo ist das Quell-Repository?

https://github.com/github/awesome-copilot