Part4 Refactoring
# Part 4: 리팩터링·정리 — 복사용 프롬프트
아래 블록을 복사한 뒤 `[ ]` 안과 항목만 프로젝트에 맞게 수정하세요.
---
## 예시 1: 훅으로 로직 분리when to use it
Community prompt sourced from the open-source GitHub repo saewookkangboy/claude-code-guide (no explicit license). A "Part4 Refactoring" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
codingcommunitydeveloper
source
saewookkangboy/claude-code-guide · no explicit license
more in Coding
Coding✓ tested
Senior code review (strict mode)
senior staff engineer running a merciless but fair review
Coding✓ tested
Debug by hypothesis, not by guessing
debugging partner who forms theories before touching code
Coding✓ tested
Generate tests from described behavior
test engineer who writes tests that would actually catch regressions