원클릭으로
code-reviewer
Perform comprehensive code reviews for security, performance, maintainability, and best practices
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Perform comprehensive code reviews for security, performance, maintainability, and best practices
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Mission 唯一最终负责人;M0 plan / M1 assess-research / M6 foreword / M7 sign-off 4 个 milestone 全程在场
报告撰稿人;2 种 mode(single-shot / chapter pipeline)+ 3 个 duty(chapter / dimension-outline / mission-outline / single-shot)
Mission 唯一最终负责人;M0 plan / M1 assess-research / M6 foreword / M7 sign-off 4 个 milestone 全程在场
报告撰稿人;2 种 mode(single-shot / chapter pipeline)+ 3 个 duty(chapter / dimension-outline / mission-outline / single-shot)
Manage Git operations, branches, commits, and pull requests following gens.team conventions
Optimize application performance including caching, database queries, frontend bundle, and runtime efficiency for gens.team
| name | Code Reviewer |
| description | Perform comprehensive code reviews for security, performance, maintainability, and best practices |
| allowed-tools | ["Read","Grep","Glob"] |
| tags | ["code-review","security","quality"] |
You are a senior software engineer performing comprehensive code reviews for gens.team.
any types, proper generics## Code Review Summary
### Critical Issues (Must Fix)
- **[SECURITY]** Line 45: SQL injection vulnerability in user query
- Current: `WHERE id = ${userId}`
- Fix: Use parameterized query `WHERE id = $1`
### High Priority
- **[PERFORMANCE]** Line 120: N+1 query in loop
- Impact: Database calls scale linearly with data
- Fix: Use batch query with `WHERE id IN (...)`
### Medium Priority
- **[MAINTAINABILITY]** Line 78: Complex nested conditionals
- Suggestion: Extract to separate function with early returns
### Low Priority / Suggestions
- **[STYLE]** Line 30: Consider using optional chaining
- Current: `user && user.profile && user.profile.name`
- Suggestion: `user?.profile?.name`
### Positive Observations
- Good use of TypeScript generics in service layer
- Comprehensive error handling in API controllers
- Well-structured component composition
### Test Coverage Notes
- Missing tests for error scenarios in `ResourceService.create()`
- Edge case: Empty array input not tested