Code Review Skill
This skill performs code reviews following the team's quality assurance guidelines.
Source of Truth
When to Activate
This skill activates in these scenarios:
- Explicit request: User asks for code review directly
- After code writing: User asks "이거 괜찮아?", "확인해줘", "문제 없어?" after Claude wrote code
- Change verification: User wants to check staged/unstaged changes
- PR preparation: Before committing, user wants quality check
Review Principles
When reviewing code, follow these core principles:
- Actionable feedback: Every issue must have a clear fix suggestion
- Prioritized issues: Critical issues first, then improvements
- Balanced perspective: Acknowledge good practices, not just problems
- Educational tone: Explain WHY something is an issue
Instructions
Step 1: Understand the Scope
Identify what code to review:
- Just written code: Review the changes Claude just made in this conversation
- Specific file(s): Files provided by user
- Recent changes:
git diff for unstaged, git diff --cached for staged
- PR/commit changes:
git show <commit>
Read the code thoroughly before commenting
Step 2: Analyze Code
Check for issues in these categories:
| Category |
Priority |
Examples |
| Security |
🔴 Critical |
SQL injection, XSS, secrets in code |
| Bugs |
🔴 Critical |
Logic errors, null references, race conditions |
| Performance |
🟡 Medium |
N+1 queries, unnecessary loops, memory leaks |
| Maintainability |
🟡 Medium |
Long functions, unclear names, missing docs |
| Style |
🟢 Low |
Formatting, conventions, minor improvements |
Step 3: Apply Self-Review Checklist
Before providing feedback, verify against this checklist:
Step 4: Format Review Output
Use this structured format for review results:
## 코드 리뷰 결과
### 📊 전체 평가
- **품질**: [상/중/하]
- **주요 이슈**: [N개 발견]
- **긴급도**: [즉시 수정 필요/개선 권장/양호]
### 🔴 Critical Issues (우선순위: 높음)
**[Issue Title]** (`file:line`)
- **Problem**: [명확한 문제 설명]
- **Impact**: [영향 범위와 위험도]
- **Fix**: [구체적인 수정 방법]
\`\`\`[language]
// Bad
[problematic code]
// Good
[fixed code]
\`\`\`
### 🟡 Improvements (우선순위: 중간)
1. **[Issue Title]** (`file:line`)
- [문제 설명]
- [개선 방법]
### 🟢 Good Practices
- ✅ [잘 작성된 부분 1]
- ✅ [잘 작성된 부분 2]
### ✅ Action Items
1. [ ] [우선순위별 작업 목록]
2. [ ] [...]
Simplified Output (for small changes)
When reviewing small changes or code just written, use a lighter format:
## 리뷰 결과
✅ **양호** - 주요 문제 없음
### 확인 사항
- ✅ [확인된 항목 1]
- ✅ [확인된 항목 2]
### 개선 제안 (선택)
- 💡 [사소한 개선 사항]
Issue Templates
Security Issue
**[보안 취약점 유형]** (`file:line`)
- **Problem**: [취약점 설명]
- **Impact**: [공격 시나리오와 피해 범위]
- **Fix**: [수정 방법]
- **Reference**: [OWASP 또는 관련 문서 링크]
Performance Issue
**[성능 문제 유형]** (`file:line`)
- **Problem**: [현재 성능 문제]
- **Impact**: [예상 성능 저하]
- **Fix**: [최적화 방법]
Maintainability Issue
**[유지보수 문제 유형]** (`file:line`)
- **Problem**: [현재 코드의 문제점]
- **Impact**: [향후 유지보수 어려움]
- **Fix**: [리팩토링 제안]
Quality Ratings
품질 평가 기준
| Rating |
Criteria |
| 상 (High) |
No critical issues, minor improvements only, follows best practices |
| 중 (Medium) |
No critical issues, some improvements needed, mostly follows conventions |
| 하 (Low) |
Critical issues found, significant refactoring needed |
긴급도 평가 기준
| Urgency |
Criteria |
| 즉시 수정 필요 |
Security vulnerabilities, data loss risk, production bugs |
| 개선 권장 |
Performance issues, code smells, missing tests |
| 양호 |
Only minor style/formatting suggestions |
Response Language
- Review comments: Korean (한국어)
- Code examples: English (comments, variable names)
- Technical terms: Keep in English (e.g., SQL injection, N+1, refactoring)
See Also
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: review-113description: Performs code review following team's quality assurance guidelines. Use when the user asks to "review code", "check this code", "리뷰해줘", "코드 리뷰", "코드 검토", "이 코드 봐줘", "이거 괜찮아?", "확인해줘", "문제 없어?", or after writing code when they want feedback on the changes just made. Use when this capability is needed.4---56# Code Review Skill78This skill performs code reviews following the team's quality assurance guidelines.910## Source of Truth1112- **Review Format**: [`output-formats.md`](../guides/output-formats.md)13- **Quality Standards**: [`quality-assurance.md`](../guides/quality-assurance.md)14- **Security Guidelines**: [`security.md`](../guides/security.md)1516## When to Activate1718This skill activates in these scenarios:19201. **Explicit request**: User asks for code review directly212. **After code writing**: User asks "이거 괜찮아?", "확인해줘", "문제 없어?" after Claude wrote code223. **Change verification**: User wants to check staged/unstaged changes234. **PR preparation**: Before committing, user wants quality check2425## Review Principles2627When reviewing code, follow these core principles:2829- **Actionable feedback**: Every issue must have a clear fix suggestion30- **Prioritized issues**: Critical issues first, then improvements31- **Balanced perspective**: Acknowledge good practices, not just problems32- **Educational tone**: Explain WHY something is an issue3334## Instructions3536### Step 1: Understand the Scope37381. Identify what code to review:39 - **Just written code**: Review the changes Claude just made in this conversation40 - **Specific file(s)**: Files provided by user41 - **Recent changes**: `git diff` for unstaged, `git diff --cached` for staged42 - **PR/commit changes**: `git show <commit>`43442. Read the code thoroughly before commenting4546### Step 2: Analyze Code4748Check for issues in these categories:4950| Category | Priority | Examples |51| --------------- | ----------- | ---------------------------------------------- |52| Security | 🔴 Critical | SQL injection, XSS, secrets in code |53| Bugs | 🔴 Critical | Logic errors, null references, race conditions |54| Performance | 🟡 Medium | N+1 queries, unnecessary loops, memory leaks |55| Maintainability | 🟡 Medium | Long functions, unclear names, missing docs |56| Style | 🟢 Low | Formatting, conventions, minor improvements |5758### Step 3: Apply Self-Review Checklist5960Before providing feedback, verify against this checklist:6162- [ ] All tests pass (if applicable)63- [ ] Edge cases handled64- [ ] Performance impact considered65- [ ] No security vulnerabilities66- [ ] Error messages are user-friendly67- [ ] No commented-out code68- [ ] No debug statements (console.log, print, etc.)6970### Step 4: Format Review Output7172Use this structured format for review results:7374```markdown75## 코드 리뷰 결과7677### 📊 전체 평가7879- **품질**: [상/중/하]80- **주요 이슈**: [N개 발견]81- **긴급도**: [즉시 수정 필요/개선 권장/양호]8283### 🔴 Critical Issues (우선순위: 높음)8485**[Issue Title]** (`file:line`)8687- **Problem**: [명확한 문제 설명]88- **Impact**: [영향 범위와 위험도]89- **Fix**: [구체적인 수정 방법]9091\`\`\`[language]92// Bad93[problematic code]9495// Good96[fixed code]97\`\`\`9899### 🟡 Improvements (우선순위: 중간)1001011. **[Issue Title]** (`file:line`)102 - [문제 설명]103 - [개선 방법]104105### 🟢 Good Practices106107- ✅ [잘 작성된 부분 1]108- ✅ [잘 작성된 부분 2]109110### ✅ Action Items1111121. [ ] [우선순위별 작업 목록]1132. [ ] [...]114```115116## Simplified Output (for small changes)117118When reviewing small changes or code just written, use a lighter format:119120```markdown121## 리뷰 결과122123✅ **양호** - 주요 문제 없음124125### 확인 사항126127- ✅ [확인된 항목 1]128- ✅ [확인된 항목 2]129130### 개선 제안 (선택)131132- 💡 [사소한 개선 사항]133```134135## Issue Templates136137### Security Issue138139```markdown140**[보안 취약점 유형]** (`file:line`)141142- **Problem**: [취약점 설명]143- **Impact**: [공격 시나리오와 피해 범위]144- **Fix**: [수정 방법]145- **Reference**: [OWASP 또는 관련 문서 링크]146```147148### Performance Issue149150```markdown151**[성능 문제 유형]** (`file:line`)152153- **Problem**: [현재 성능 문제]154- **Impact**: [예상 성능 저하]155- **Fix**: [최적화 방법]156```157158### Maintainability Issue159160```markdown161**[유지보수 문제 유형]** (`file:line`)162163- **Problem**: [현재 코드의 문제점]164- **Impact**: [향후 유지보수 어려움]165- **Fix**: [리팩토링 제안]166```167168## Quality Ratings169170### 품질 평가 기준171172| Rating | Criteria |173| ----------- | ------------------------------------------------------------------------ |174| 상 (High) | No critical issues, minor improvements only, follows best practices |175| 중 (Medium) | No critical issues, some improvements needed, mostly follows conventions |176| 하 (Low) | Critical issues found, significant refactoring needed |177178### 긴급도 평가 기준179180| Urgency | Criteria |181| -------------- | --------------------------------------------------------- |182| 즉시 수정 필요 | Security vulnerabilities, data loss risk, production bugs |183| 개선 권장 | Performance issues, code smells, missing tests |184| 양호 | Only minor style/formatting suggestions |185186## Response Language187188- **Review comments**: Korean (한국어)189- **Code examples**: English (comments, variable names)190- **Technical terms**: Keep in English (e.g., SQL injection, N+1, refactoring)191192## See Also193194- [output-formats.md](../guides/output-formats.md) - Review output format template195- [quality-assurance.md](../guides/quality-assurance.md) - Quality standards and checklists196- [security.md](../guides/security.md) - Security guidelines197- [technical-standards.md](../guides/technical-standards.md) - Code quality requirements198199---200> Converted and distributed by [TomeVault](https://tomevault.io/claim/ujuc) — claim your Tome and manage your conversions.201<!-- tomevault:4.0:skill_md:2026-04-15 -->