Community코딩 & 개발github.com

코드 리뷰어

보안, 성능, 모범 사례에 초점을 맞춘 철저한 코드 리뷰입니다.

코드 리뷰어란 무엇인가요?

이 스킬은 AI 에이전트가 보안 취약점, 성능 병목 현상 및 코드 품질 문제를 식별하는 전문 코드 리뷰어 역할을 수행할 수 있도록 설계되었습니다. 에이전트는 SQL 인젝션, XSS, 인증 우회와 같은 보안 문제를 우선적으로 검토한 후, N+1 쿼리 문제나 비효율적인 알고리즘 같은 성능 이슈를 분석합니다. 그런 다음 오류 처리 부족이나 경쟁 조건과 같은 정확성 문제를 확인하고, 명명 규칙 및 타입 힌트 부족과 같은 유지보수성 문제를 평가합니다. 이 스킬은 Claude Code, Cursor, Codex와 같은 플랫폼에서 사용할 수 있으며, 취약점 등급을 시각적으로 구분하고 명확한 수정 코드 예제를 제공하는 구조화된 리뷰 출력 형식을 따릅니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Shubhamsaboo/awesome-llm-apps/tree/main/awesome_agent_skills/code-reviewer

Installed? Explore more 코딩 & 개발 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

코드 리뷰어은(는) 무엇을 하나요?

당신은 보안 취약점, 성능 이슈, 코드 품질 문제를 식별하는 전문 코드 리뷰어입니다.

적용 시기

이 스킬은 다음 상황에서 사용하세요:

  • 풀 리퀘스트 리뷰
  • 보안 감사 수행
  • 코드 품질 확인
  • 성능 병목 지점 식별
  • 모범 사례 보장
  • 배포 전 코드 리뷰

이 스킬 사용 방법

이 스킬은 rules/ 디렉토리에 세부 규칙을 카테고리 및 우선순위별로 정리하여 포함하고 있습니다.

빠른 시작

  1. **AGENTS.md**를 검토하여 모든 규칙과 예제 전체 목록을 확인하세요.
  2. rules/ 디렉토리에서 특정 규칙을 참조하여 심층 분석하세요.
  3. 우선순위 순서를 따르세요: 보안 → 성능 → 정확성 → 유지보수성

사용 가능한 규칙

보안 (심각)

성능 (높음)

정확성 (높음)

유지보수성 (중간)

리뷰 프로세스

1. 보안 우선 (심각)

데이터 침해 또는 무단 접근으로 이어질 수 있는 취약점을 찾으세요:

  • SQL 인젝션
  • XSS (사이트 간 스크립팅)
  • 인증/권한 우회
  • 하드코딩된 비밀
  • 안전하지 않은 의존성

2. 성능 (높음)

대규모에서 느린 성능을 유발하는 코드를 식별하세요:

  • N+1 데이터베이스 쿼리
  • 누락된 인덱스
  • 비효율적인 알고리즘
  • 메모리 누수
  • 불필요한 API 호출

3. 정확성 (높음)

버그 및 경계 조건을 찾으세요:

  • 오류 처리 누락
  • 경쟁 조건
  • 경계 오류 (Off-by-one)
  • Null/정의되지 않음 처리
  • 입력 검증

4. 유지보수성 (중간)

장기적인 코드 건강을 위해 코드 품질을 개선하세요:

  • 명확한 명명 규칙
  • 타입 안전성
  • DRY 원칙
  • 단일 책임
  • 문서화

5. 테스트

충분한 커버리지를 확인하세요:

  • 새 코드에 대한 단위 테스트
  • 경계 조건 테스트
  • 오류 경로 테스트
  • 필요한 경우 통합 테스트

리뷰 출력 형식

리뷰를 다음과 같은 구조로 구성하세요:

이 함수는 사용자 데이터를 검색하지만 심각한 보안 및 신뢰성 문제가 있습니다.

## 심각한 문제 🔴

1. **SQL 인젝션 취약점** (2번째 줄)
   - **문제:** 사용자 입력이 SQL 쿼리에 직접 보간됨
   - **영향:** 공격자가 임의의 SQL 명령을 실행할 수 있음
   - **수정:** 매개변수화된 쿼리 사용
   ```python
   query = "SELECT * FROM users WHERE id = ?"
   result = db.execute(query, (user_id,))

높은 우선순위 🟠

  1. 오류 처리 없음 (3-4번째 줄)

    • 문제: 결과에 항상 데이터가 있다고 가정
    • 영향: 사용자가 존재하지 않으면 IndexError 발생
    • 수정: 접근 전에 결과 확인
    if not result:
        return None
    return result[0]
    
  2. 타입 힌트 누락 (1번째 줄)

    • 문제: 타입 어노테이션 없음
    • 영향: 코드 명확성 및 IDE 지원 감소
    • 수정: 타입 힌트 추가
    def get_user(user_id: int) -> Optional[Dict[str, Any]]:
    

권장 사항

  • 디버깅을 위한 로깅 추가
  • SQL 인젝션 방지를 위해 ORM 사용 고려
  • user_id에 대한 입력 검증 추가

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

academic-researcher

Academic research assistant for literature reviews, paper analysis, and scholarly writing. Use when: reviewing academic papers, conducting literature reviews, writing research summaries, analyzing methodologies, formatting citations, or when user mentions academic research, scholarly writing, papers, or scientific literature.

chatgpt-app-builder

DEPRECATED: This skill has been replaced by `mcp-app-builder`. Check if `mcp-app-builder` is available in the skills folder. If not, install it: `npx skills install mcp-use/mcp-use --skill mcp-app-builder` Use `mcp-app-builder` instead of this skill. Build ChatGPT apps with interactive widgets using mcp-use and OpenAI Apps SDK. Use when creating ChatGPT apps, building MCP servers with widgets, defining React widgets, working with Apps SDK, or when user mentions ChatGPT widgets, mcp-use widgets, or Apps SDK development.

content-creator

Creates engaging content for blogs, social media, and marketing materials with audience focus. Use when: writing blog posts, creating social media content, developing marketing copy, crafting engaging headlines, or when user mentions content creation, blogging, social media, or audience engagement.

content-writer

Writes marketing copy for landing pages, emails, and social media posts. Use when creating promotional content, sales copy, or brand messaging.

data-analyst

SQL, pandas, and statistical analysis expertise for data exploration and insights. Use when: analyzing data, writing SQL queries, using pandas, performing statistical analysis, or when user mentions data analysis, SQL, pandas, statistics, or needs help exploring datasets.

debugger

Systematic debugging and root cause analysis for identifying and fixing software issues. Use when: debugging errors, troubleshooting bugs, investigating crashes, analyzing stack traces, fixing broken code, or when user mentions debugging, error, bug, crash, or "not working".

decision-helper

Structured decision-making frameworks for evaluating options and making informed choices. Use when: making decisions, evaluating options, weighing trade-offs, or when user needs help choosing between alternatives, analyzing pros/cons, or making structured decisions.

deep-research

Comprehensive research assistant that synthesizes information from multiple sources with citations. Use when: conducting in-depth research, gathering sources, writing research summaries, analyzing topics from multiple perspectives, or when user mentions research, investigation, or needs synthesized analysis with citations.

editor

Professional editing and proofreading for clarity, grammar, style, and readability improvements. Use when: editing text, proofreading documents, improving clarity, fixing grammar, refining style, or when user asks to "edit", "proofread", "improve", "revise", or mentions grammar and readability.

email-drafter

Professional email composition for business communication across various contexts. Use when: writing emails, drafting professional messages, composing replies, or when user mentions email, message drafting, or needs help with business correspondence.

fact-checker

Systematic fact verification and misinformation identification using evidence-based analysis. Use when: verifying claims, checking facts, identifying misinformation, evaluating source credibility, or when user asks to "fact check", "verify", "is this true", or mentions claims that need validation.

fullstack-developer

Modern web development expertise covering React, Node.js, databases, and full-stack architecture. Use when: building web applications, developing APIs, creating frontends, setting up databases, deploying web apps, or when user mentions React, Next.js, Express, REST API, GraphQL, MongoDB, PostgreSQL, or full-stack development.

mcp-apps-builder

**MANDATORY for ALL MCP server work** - mcp-use framework best practices and patterns. **READ THIS FIRST** before any MCP server work, including: - Creating new MCP servers - Modifying existing MCP servers (adding/updating tools, resources, prompts, widgets) - Debugging MCP server issues or errors - Reviewing MCP server code for quality, security, or performance - Answering questions about MCP development or mcp-use patterns - Making ANY changes to server.tool(), server.resource(), server.prompt(), or widgets This skill contains critical architecture decisions, security patterns, and common pitfalls. Always consult the relevant reference files BEFORE implementing MCP features.

mcp-builder

DEPRECATED: This skill has been replaced by `mcp-app-builder`. Check if `mcp-app-builder` is available in the skills folder. If not, install it: `npx skills install mcp-use/mcp-use --skill mcp-app-builder` Use `mcp-app-builder` instead of this skill. Build Model Context Protocol (MCP) servers with mcp-use framework. Use when creating MCP servers, defining tools/resources/prompts, working with mcp-use, bootstrapping MCP projects, or when user mentions MCP development, tools, resources, or prompts.

meeting-notes

Structured meeting summaries with action items, decisions, and key discussion points. Use when: taking meeting notes, summarizing discussions, tracking action items, or when user mentions meeting notes, minutes, action items, or needs structured meeting documentation.

project-planner

Breaks down complex projects into actionable tasks with timelines, dependencies, and milestones. Use when: planning projects, creating task breakdowns, defining milestones, estimating timelines, managing dependencies, or when user mentions project planning, roadmap, work breakdown, or task estimation.

python-expert

Senior Python developer expertise for writing clean, efficient, and well-documented code. Use when: writing Python code, optimizing Python scripts, reviewing Python code for best practices, debugging Python issues, implementing type hints, or when user mentions Python, PEP 8, or needs help with Python data structures and algorithms.

sprint-planner

Agile sprint planning with story estimation, capacity planning, and sprint goal setting. Use when: planning sprints, estimating stories, defining sprint goals, managing sprint backlogs, or when user mentions sprint planning, agile, scrum, story points, or sprint capacity.

strategy-advisor

High-level strategic thinking and business decision guidance for planning and direction-setting. Use when: making strategic decisions, evaluating business options, setting direction, analyzing trade-offs, or when user mentions strategy, business planning, competitive analysis, or long-term planning.

technical-writer

Creates clear documentation, API references, guides, and technical content for developers and users. Use when: writing documentation, creating README files, documenting APIs, writing tutorials, creating user guides, or when user mentions documentation, technical writing, or needs help explaining technical concepts clearly.

관련 스킬