code-review-checklist
하는 일
이 스킬은 AI에게 코드 변경을 검토하는 실용적인 체크리스트를 줍니다. 정확성, 보안, 속도, 코드 품질, 테스트, 문서를 다룹니다. 꼼꼼한 검토를 원하는 개발자를 위한 스킬입니다.
사용하는 경우
- ✓병합 전에 풀 리퀘스트나 코드 변경을 검토해 달라고 요청할 때.
- ✓인젝션이나 노출된 비밀 정보 같은 보안 문제를 확인하고 싶을 때.
- ✓AI가 작성한 코드를 검토하며 프롬프트 인젝션이나 안전하지 않은 출력을 찾고 싶은 경우.
스킬 링크
https://github.com/vudovn/ag-kit/blob/main/.agents/skills/code-review-checklist/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“병합하기 전에 이 코드 변경에서 보안 문제와 버그가 있는지 검토해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
이 스킬은 영역별 질문 목록을 따라 AI가 코드를 하나씩 확인하게 합니다. 통과하지 못한 항목은 보고합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Code Review Checklist
Quick Review Checklist
Correctness
- Code does what it's supposed to do
- Edge cases handled
- Error handling in place
- No obvious bugs
Security
- Input validated and sanitized
- No SQL/NoSQL injection vulnerabilities
- No XSS or CSRF vulnerabilities
- No hardcoded secrets or sensitive credentials
- AI-Specific: Protection against Prompt Injection (if applicable)
- AI-Specific: Outputs are sanitized before being used in critical sinks
Performance
- No N+1 queries
- No unnecessary loops
- Appropriate caching
- Bundle size impact considered
Code Quality
- Clear naming
- DRY - no duplicate code
- SOLID principles followed
- Appropriate abstraction level
Testing
- Unit tests for new code
- Edge cases tested
- Tests readable and maintainable
Documentation
- Complex logic commented
- Public APIs documented
- README updated if needed
AI & LLM Review Patterns
Logic & Hallucinations
- Chain of Thought: Does the logic follow a verifiable path?
- Edge Cases: Did the AI account for empty states, timeouts, and partial failures?
- External State: Is the code making safe assumptions about file systems or networks?
Prompt Engineering Review
// ❌ Vague prompt in code
const response = await ai.generate(userInput);
// ✅ Structured & Safe prompt
const response = await ai.generate({
system: "You are a specialized parser...",
input: sanitize(userInput),
schema: ResponseSchema
});
Anti-Patterns to Flag
// ❌ Magic numbers
if (status === 3) { ... }
// ✅ Named constants
if (status === Status.ACTIVE) { ... }
// ❌ Deep nesting
if (a) { if (b) { if (c) { ... } } }
// ✅ Early returns
if (!a) return;
if (!b) return;
if (!c) return;
// do work
// ❌ Long functions (100+ lines)
// ✅ Small, focused functions
// ❌ any type
const data: any = ...
// ✅ Proper types
const data: UserData = ...
Review Comments Guide
// Blocking issues use 🔴
🔴 BLOCKING: SQL injection vulnerability here
// Important suggestions use 🟡
🟡 SUGGESTION: Consider using useMemo for performance
// Minor nits use 🟢
🟢 NIT: Prefer const over let for immutable variable
// Questions use ❓
❓ QUESTION: What happens if user is null here?
자주 묻는 질문
체크리스트는 어떤 영역을 다루나요?
정확성, 보안, 성능, 코드 품질, 테스트, 문서를 다룹니다.
AI 기능에 대한 점검도 있나요?
네. 프롬프트 인젝션 항목과, 사용하기 전에 AI 출력을 정제하는 항목이 있습니다.
테스트도 확인하나요?
네. 새 코드에 단위 테스트가 있는지, 경계 사례를 테스트했는지 확인합니다.
상세 정보
작성자의 원본 설명
Code review guidelines covering code quality, security, and best practices.
repo: vudovn/ag-kit
인기도
- GitHub 스타
- 8.2k
- 순위
- #12527
- 라이선스
- MIT
- 업데이트
- 2026. 10. 18.
댓글
- …
이 저장소의 다른 스킬
batch-operations
8.2k에이전트가 함수 이름 바꾸기나 오래된 import 교체처럼 같은 변경을 여러 파일에 한꺼번에 적용하도록 돕습니다.
brainstorming
8.2k에이전트가 새로운 것이나 복잡한 것을 만들기 전에 명확한 질문을 하도록 가르쳐 목표를 먼저 이해하게 합니다.
code-review-graph
8.2k에이전트가 구조 지도를 이용해 큰 프로젝트의 코드를 검토하도록 돕고, 변경과 관련된 파일만 읽게 합니다.
context-compression
8.2k에이전트가 끝난 작업을 요약하고 핵심 결정은 남겨 긴 채팅 세션을 줄이도록 가르쳐 집중력을 유지하게 합니다.