refactor
TDD의 Refactor 단계 전용 스킬. 테스트가 통과하는 상태를 유지하면서 코드 품질을 개선합니다. 중복 제거, 명확성 향상, 성능 최적화에 사용.
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
리팩토링 지침
목적
- 테스트 통과 상태 유지하면서 코드 개선
- 중복 제거 및 가독성 향상
- 기존 명명 규칙/아키텍처 패턴 준수
사용 시점
- TDD Green 단계 완료 후
- 코드 리뷰 피드백 반영 시
- 기술 부채 해소 시
핵심 규칙
리팩토링 전 체크리스트
- 모든 테스트가 통과하는가?
- 리팩토링 범위가 명확한가?
- 동작 변경 없이 구조만 개선하는가?
리팩토링 후 체크리스트
- 모든 테스트가 여전히 통과하는가?
- 명명 규칙을 준수하는가?
- 코드 품질이 향상되었는가?
상세 지침
[필수] 아래 참조 문서를 모두 읽은 후 작업을 시작하세요:
- 리팩토링 기법: guidelines.md
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-01-26
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!