refactor
✓동작을 변경하지 않고 유지 관리성을 향상시키기 위한 수술용 코드 리팩토링. 함수 추출, 변수 이름 바꾸기, God 함수 분해, 유형 안전성 향상, 코드 냄새 제거 및 디자인 패턴 적용을 다룹니다. repo-rebuilder보다 덜 과감합니다. 점진적인 개선을 위해 사용됩니다.
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 |
인용 가능한 정보
AI/검색 인용용 안정적인 필드와 명령어.
- 설치 명령어
npx skills add https://github.com/github/awesome-copilot --skill refactor- 카테고리
- </>개발 도구
- 인증됨
- ✓
- 최초 등록
- 2026-02-01
- 업데이트
- 2026-02-18
빠른 답변
refactor이란?
동작을 변경하지 않고 유지 관리성을 향상시키기 위한 수술용 코드 리팩토링. 함수 추출, 변수 이름 바꾸기, God 함수 분해, 유형 안전성 향상, 코드 냄새 제거 및 디자인 패턴 적용을 다룹니다. repo-rebuilder보다 덜 과감합니다. 점진적인 개선을 위해 사용됩니다. 출처: github/awesome-copilot.
refactor 설치 방법은?
터미널 또는 명령줄 도구(Terminal, iTerm, Windows Terminal 등)를 엽니다 이 명령어를 복사하여 실행합니다: npx skills add https://github.com/github/awesome-copilot --skill refactor 설치 후 스킬은 자동으로 AI 코딩 환경에 설정되어 Claude Code나 Cursor에서 사용할 수 있습니다
소스 저장소는 어디인가요?
https://github.com/github/awesome-copilot
상세
- 카테고리
- </>개발 도구
- 출처
- skills.sh
- 최초 등록
- 2026-02-01