Install any skill in seconds. Free to start, no credit card required.
Get Started Free →wasabeef/안전한-단계적-리팩토링과-solid-평가
안전한 단계적 리팩토링과 SOLID 평가. 「리팩토링해줘」「코드 개선해줘」「정리해줘」「구조 개선해줘」등으로 기동.
Passed 24 of 25 test cases with the skill, and 12 of 25 without it.
and 18 more in the full report
12 fixed12 passed either way1 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 12 test cases the skill fixed. Same model, same prompt, with and without the skill.
영향도는 낮지만 수정 비용이 커서 당장 수정하기 어려운 내부 복잡 로직이 있습니다. 기술 부채 대응 매트릭스에서 이 항목이 속하는 우선순위 등급과 대응 기한, 권장 조치 방안을 알려주세요.
| Checked | Without skill | With skill |
|---|---|---|
| Sets response deadline for Watch priority debt to within 3 months. | Missed | Passed |
| Recommends monitoring metrics and acting if conditions worsen. | Passed | Passed |
The instructions your model reads when the skill loads.
안전하고 단계적인 코드 리팩터링을 실시하며, SOLID 원칙의 준수 상황을 정량적으로 평가합니다. 기술적 부채를 가시화하고, 개선의 우선순위를 명확히 합니다.
# 복잡한 코드의 특정과 리팩터링 계획
find . -name "*.js" -exec wc -l {} + | sort -rn | head -10
「큰 파일을 리팩터링해서 복잡도를 삭감해 주세요」
# 중복 코드의 검출과 통합
grep -r "function processUser" . --include="*.js"
「중복된 함수를 Extract Method로 공통화해 주세요」
# SOLID 원칙 위반의 검출
grep -r "class.*Service" . --include="*.js" | head -10
「이러한 클래스가 단일 책임의 원칙에 따르고 있는지 평가해 주세요」
# 긴 메서드의 검출
grep -A 50 "function" src/*.js | grep -B 50 -A 50 "return" | wc -l
"50 행 이상의 메서드를 Extract Method로 분할해 주세요"
# 조건 분기의 복잡도
grep -r "if.*if.*if" . --include="*.js"
"중첩된 조건문을 Strategy 패턴으로 개선해 주세요"
# 코드의 냄새 검출
grep -r "TODO\|FIXME\|HACK" . --exclude-dir=node_modules
"기술적 부채가 되고 있는 코멘트를 해결해 주세요"
test cases passed, vs 12 / 25 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.