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

跳到安装

来源信息

仓库
mimul/axum-rusty
最近来源活动
2026年5月12日 14:58
检测到的 SKILL.md 语言
韩语
星标
5
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。