Skip to main content

refactor

/refactor 커맨드로 실행되는 Rust 코드 리팩토링 자동화 스킬. `.claude/rules/coding-style.md` 19개 섹션을 권위 문서로 삼아 Behavior Preserving·Domain First·Small Safe Steps 원칙을 적용한다. 지원 옵션: /refactor 프로젝트 전체 리팩토링 /refactor [scope] 모듈·디렉토리·파일·glob 패턴 단위 리팩토링 /refactor [scope] --goal <goal> 목표 지정 (readability|maintainability|testability|domain-model|complexity) /refactor [scope] --level <level> 강도 지정 (safe|moderate|aggressive) /refactor [scope] --with-tests characterization·regression·edge case 테스트 함께 작성 /refactor [scope] --dry-run 실제 수정 없이 code smell·영향 범위·위험도 분석만 출력 실행 흐름 (6단계): STEP 0 사전 조건 브랜치 확인·빌드+테스트 baseline STEP 1 준비 목표·옵션·scope 정의 STEP 2 범위 식별 변경 범위·기존 테스트 확인 STEP 3 일괄 점검 coding-style.md §1~19 체크리스트·Code Smell 분석(Rust 특화 포함) STEP 4 전략 수립 리스크 분석(High/Medium/Low 분기)·goal×level→항목 매핑으로 전략 선택 STEP 5 수행 선택 항목 순서대로 리팩토링→테스트→커밋 반복 브랜치: feature/refactor-{모듈명} / --dry-run 시 이 단계 없이 종료 STEP 6 검증 cargo cl

Zur Installation springen

Quellinformationen

Repository
mimul/axum-rusty
Letzte Quellaktivität
12. Mai 2026 um 14:58
Erkannte Sprache von SKILL.md
Koreanisch
Sterne
5
Forks
0

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.