Skip to main content

code-review

Comprehensive code review focusing on quality, security, performance, and testing. Use when user says 'review', 'code review', 'check my code', or before merging PRs.

소스 정보

저장소
shipshitdev/v0
최근 소스 활동
2026년 4월 23일 11:55
감지된 SKILL.md 언어
영어
스타
1
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
2 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
code-review
description
Comprehensive code review focusing on quality, security, performance, and testing. Use when user says 'review', 'code review', 'check my code', or before merging PRs.
metadata
{"version":"1.0.0","tags":"code-review, quality, security, testing, best-practices"}
# Code Review Comprehensive code review focusing on quality, security, performance, and testing. ## Quick Review ```bash git status git diff HEAD~1 git log --oneline -5 git branch --show-current ``` ## Critical Checklist ### 1. Security and Data Isolation - ALL queries filter by tenant/organization (if multi-tenant) - ALL queries filter soft-deleted records (if applicable) - No cross-tenant data access - Auth guards on protected routes - Input validation via DTOs/schemas ### 2. TypeScript - No `any` types — define proper interfaces - Interfaces/props in dedicated files, not inline - Return types on all functions - No `console.log` — use project logger ### 3. Pattern Compliance - Follows existing codebase patterns (check 3+ similar implementations) - Path aliases over relative imports - Consistent with project conventions ### 4. Database - Tenant/organization filter in ALL queries (if applicable) - Soft delete filter in ALL queries (if applicable) - Projections for large documents - Indexes exist for query patterns - No N+1 queries ### 5. Error Handling - Try/catch blocks present - Framework-specific exceptions (not generic Error) - Errors logged via logger service - Generic messages to client (no internals exposed) ### 6. Testing - Unit tests exist and pass - All public methods tested - Error cases tested - Coverage > 70% for new code ### 7. Frontend - Cleanup in useEffect with async calls (AbortController) - Loading and error states handled - Semantic HTML with ARIA labels ### 8. API - API documentation decorators present - Proper HTTP status codes - DTOs for request/response ## Approval Criteria ### Block Merge - Security issues present - Missing tenant/organization filtering (if required) - `any` types used - Tests failing - Build failing ### Request Changes - Coverage < 70% - Missing documentation - Performance concerns - Pattern violations ### Approve - All security checks pass - Tests passing with good coverage - Follows codebase patterns
GitHub에서 보기