스킬 clean-code-reviewer
🔍
clean-code-reviewer
안전 ⚙️
외부 명령어🌐
네트워크 접근
使用 Clean Code 原則審查程式碼品質
程式碼審查有助於在維護性問題變成技術債務之前加以識別。本技能為 AI 助手提供系統化的指南,以評估程式碼的七個關鍵維度,包括命名、函式、重複和專案慣例。
지원: Claude Codex Code(CC)
1
스킬 ZIP 다운로드
2
Claude에서 업로드
설정 → 기능 → 스킬 → 스킬 업로드로 이동
3
토글을 켜고 사용 시작
테스트해 보기
"clean-code-reviewer" 사용 중입니다. Review my codebase for code quality issues
예상 결과:
- Found 3 high severity issues:
- • users.ts:23 - Vague naming: 'temp' instead of 'temporaryFilePath'
- • orders.ts:45 - Function exceeds 100 lines (145 lines)
- • utils.ts:89 - Duplicate validation logic (similar to utils.ts:112)
- Medium severity: 2 magic numbers without constants
- Low severity: 1 import ordering issue
보안 감사
안전v4 • 1/17/2026
All 121 static findings are FALSE POSITIVES. This skill contains only documentation (markdown files) with educational code examples. The static analyzer misidentified TypeScript/JavaScript code examples inside markdown code fences as security threats. No executable code, network calls, or file system operations exist.
5
스캔된 파일
2,019
분석된 줄 수
2
발견 사항
4
총 감사 수
위험 요인
⚙️ 외부 명령어 (3)
🌐 네트워크 접근 (1)
감사자: claude 감사 이력 보기 →
품질 점수
41
아키텍처
100
유지보수성
81
콘텐츠
22
커뮤니티
100
보안
91
사양 준수
만들 수 있는 것
提交前程式碼審查
審查合併請求以早期發現維護性問題
舊程式碼評估
系統性評估現有程式碼庫的技術債務並優先重構
自動化程式碼回饋
在開發工作流程中提供一致的程式碼品質回饋
이 프롬프트를 사용해 보세요
基本審查
Use /clean-code-reviewer to analyze my code and identify issues with naming, functions, and code duplication.
模組審查
Use /clean-code-reviewer --scope=components to review all UI components for naming and structure issues.
慣例檢查
Use /clean-code-reviewer --dimension=conventions to verify import ordering and naming consistency.
平行團隊審查
Split the codebase using /clean-code-reviewer with parallel agents by language (TypeScript, Python, Go).
모범 사례
- 提供程式碼庫上下文和 CLAUDE.md 或 AGENTS.md 以了解專案特定慣例
- 使用嚴重性等級來優先處理開發團隊的問題
- 對於大型程式碼庫,結合按維度和按模組的平行代理程式
피하기
- 要求功能變更而非實作改進
- 忽視文件中定義的專案特定慣例
- 將每個問題都標記為高嚴重性會削弱重要發現的影響力
자주 묻는 질문
此技能支援哪些語言?
提供了 TypeScript、JavaScript、Python 和 Go 的範例。原則廣泛適用。
此技能會執行程式碼嗎?
不,這是基於程式碼模式和慣例的靜態分析審查。
如何確定嚴重性等級?
高影響會立即影響可維護性,中等表示有改進空間,低是選用性的。
可以自訂閾值嗎?
可以,請參考 CLAUDE.md 或 AGENTS.md 中的專案慣例進行自訂。
它會檢查安全問題嗎?
不,重點在於程式碼品質和可維護性,而非安全漏洞。
如何處理大型程式碼庫?
使用按維度、模組、語言或檔案類型分割的平行代理程式來提高效率。