Community코딩 & 개발github.com

코드 리뷰 요청

작업 완료, 주요 기능 구현, 또는 병합 전에 요구사항 충족 여부를 검증하기 위해 사용합니다.

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

이 스킬은 에이전트 주도 개발 과정에서 코드 리뷰를 체계적으로 요청하고 실행할 수 있도록 도와줍니다. `BASE_SHA`와 `HEAD_SHA`를 통해 리뷰 범위를 명확히 하고, 일반 목적의 서브에이전트를 디스패치하여 코드 차이(diff)를 평가하게 합니다. 리뷰 결과는 중요도에 따라 Critical, Important, Minor로 분류되어 즉시 조치하거나 추후 처리할 수 있습니다. 또한 리뷰어가 틀렸을 경우 기술적 근거로 반박하는 방법을 제시하여 건설적인 피드백 루프를 유지합니다. 주요 사용 사례로는 각 작업 완료 후, 주요 기능 구현 후, 병합 전 검증이 있으며, 단순한 작업이라도 리뷰를 생략하지 않도록 주의해야 합니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/alfathafp/portofolio-web-design/tree/HEAD/.agents/skills/requesting-code-review

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

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

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

문서

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

문제가 확산되기 전에 잡아낼 수 있도록 코드 리뷰어 서브에이전트를 디스패치합니다. 리뷰어는 평가를 위해 정확하게 구성된 컨텍스트를 받으며, 세션 기록은 절대 공유되지 않습니다.

핵심 원칙: 자주, 그리고 일찍 리뷰하세요.

리뷰 요청 시점

필수:

  • 서브에이전트 주도 개발에서 각 작업 완료 후
  • 주요 기능 구현 완료 후
  • 메인 브랜치에 병합하기 전

선택 사항이지만 유용함:

  • 막혔을 때 (새로운 시각)
  • 리팩토링 전 (기준점 확인)
  • 복잡한 버그 수정 후

요청 방법

1. Git SHA 확인:

BASE_SHA=$(git rev-parse HEAD~1)  # 또는: git merge-base origin/main HEAD
HEAD_SHA=$(git rev-parse HEAD)

2. 코드 리뷰어 서브에이전트 디스패치:

general-purpose 서브에이전트를 디스패치하고 code-reviewer.md 템플릿을 채웁니다.

자리 표시자:

  • {DESCRIPTION} - 구현한 내용에 대한 간략한 요약
  • {PLAN_OR_REQUIREMENTS} - 수행해야 할 작업
  • {BASE_SHA} - 시작 커밋
  • {HEAD_SHA} - 종료 커밋

3. 피드백에 따른 조치:

  • Critical 문제는 즉시 수정
  • Important 문제는 진행 전에 수정
  • Minor 문제는 이후에 기록
  • 리뷰어가 틀렸다면 근거를 들어 반박

예제

[작업 2: 검증 함수 추가 완료]

사용자: 진행 전에 코드 리뷰를 요청하겠습니다.

BASE_SHA=$(git log --oneline | grep "작업 1" | head -1 | cut -d' ' -f1)
HEAD_SHA=$(git rev-parse HEAD)

[코드 리뷰어 서브에이전트 디스패치]
  DESCRIPTION: 4가지 이슈 유형으로 verifyIndex()와 repairIndex() 추가
  PLAN_OR_REQUIREMENTS: docs/superpowers/plans/deployment-plan.md의 작업 2
  BASE_SHA: a7981ec
  HEAD_SHA: 3df7661

[서브에이전트 응답]:
  장점: 깔끔한 아키텍처, 실제 테스트
  이슈:
    중요: 진행 표시기 없음
    사소: 보고 간격에 매직 넘버(100) 사용
  평가: 진행 가능

사용자: [진행 표시기 수정]
[작업 3으로 계속]

흔한 합리화

변명현실
"리뷰어를 디스패치하지 않고 내가 직접 diff를 검토하면 되지"당신은 조정자입니다. diff를 인라인으로 검토하면 작업을 계속 추진하는 데 필요한 컨텍스트 윈도우를 소모합니다. 리뷰어 서브에이전트를 디스패치하세요: diff와 평가는 리뷰어의 컨텍스트에 존재하고, 결과만 당신에게 돌아옵니다.
"리뷰어가 변경 사항을 이해하려면 전체 세션 기록이 필요해"정확하게 구성된 컨텍스트를 전달하고, 세션 기록은 절대 전달하지 마세요. 리뷰어가 당신의 사고 과정이 아닌 작업 결과물에 집중하게 합니다.

위험 신호

절대 하지 말아야 할 것:

  • "단순하니까" 리뷰를 건너뛰기
  • Critical 문제 무시
  • 수정되지 않은 Important 문제와 함께 진행
  • 타당한 기술적 피드백에 반박하기

리뷰어가 틀렸다면:

  • 기술적 근거를 들어 반박
  • 코드/테스트로 작동함을 증명
  • 명확한 설명 요청

템플릿 보기: code-reviewer.md

Individual skills in this repo

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

alfathafp/portofolio-web-design

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).

alfathafp/portofolio-web-design

Tests in real browsers via Chrome DevTools MCP. Use when building or debugging anything that runs in a browser. Use when you need to inspect the DOM, capture console errors, analyze network requests, profile performance, or verify visual output with real runtime data. Requires the chrome-devtools MCP server to be configured.

alfathafp/portofolio-web-design

Automates CI/CD pipeline setup. Use when setting up or modifying build and deployment pipelines. Use when you need to automate quality gates, configure test runners in CI, or establish deployment strategies.

alfathafp/portofolio-web-design

Conducts multi-axis code review. Use before merging any change. Use when reviewing code written by yourself, another agent, or a human. Use when you need to assess code quality across multiple dimensions before it enters the main branch. Use when asked to review a diff or a pull request, even when the diff is pasted inline.

alfathafp/portofolio-web-design

Simplifies code for clarity. Use when refactoring code for clarity without changing behavior. Use when code works but is harder to read, maintain, or extend than it should be. Use when reviewing code that has accumulated unnecessary complexity.

alfathafp/portofolio-web-design

Establishes a project's quality bar as a written contract and stops agents quietly lowering it. Interviews the user on which dimensions matter, supplies sane default thresholds when they have no number in mind, records everything in CONSTRAINTS.md, and watches the diff for a weakened bar — new @ts-ignore or eslint-disable suppressions, skipped or deleted tests, assertions stripped out, unimplemented stubs, thresholds edited down. Use when no quality bar is written down, when the user says "set up constraints" or "define our standards", when the user wants dimensions they care about — accessibility, web performance, coverage — set up as enforced constraints, when an agent keeps silencing checks or skipping tests to get to green, when you need a coverage or performance threshold and don't know what number to pick, or when an agent writes more code than anyone will read.

alfathafp/portofolio-web-design

Optimizes agent context setup. Use when starting a new session, when agent output quality degrades, when switching between tasks, or when you need to configure rules files and context for a project.

alfathafp/portofolio-web-design

Guides systematic root-cause debugging. Use when tests fail, builds break, something that worked yesterday broke, behavior doesn't match expectations, or you encounter any unexpected error. Use when you need to figure out what broke and why — a systematic approach to finding and fixing the root cause rather than guessing.

alfathafp/portofolio-web-design

Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".

alfathafp/portofolio-web-design

Manages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset existing code.

alfathafp/portofolio-web-design

Use when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.

alfathafp/portofolio-web-design

Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies

alfathafp/portofolio-web-design

Records decisions and documentation. Use when you need to document an architecture decision (ADR) or the reasoning behind a design choice, when changing public APIs, shipping features, or when you need to record context that future engineers and agents will need to understand the codebase.

alfathafp/portofolio-web-design

Subjects every non-trivial decision to a fresh-context adversarial review before it stands. Use when you want every assumption cross-examined before proceeding, when stress-testing a plan for hidden failure modes, when correctness matters more than speed, when working in unfamiliar code, when stakes are high (production auth, security-sensitive logic, a high-stakes migration, irreversible operations), or any time a confident output would be cheaper to verify now than to debug later.

alfathafp/portofolio-web-design

Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available

alfathafp/portofolio-web-design

Use when implementation is complete, all tests pass, and you need to decide how to integrate the work

alfathafp/portofolio-web-design

Builds production-quality, accessible, responsive user-facing UIs. Use when building or modifying interfaces and pages, creating components, implementing layouts, meeting WCAG accessibility requirements, managing state, or when the output needs to look and feel production-quality rather than AI-generated.

alfathafp/portofolio-web-design

Structures git workflow practices. Use when making any code change. Use when committing, branching, resolving conflicts, splitting uncommitted work in a messy working tree into clean atomic commits, opening or reviewing a pull request (PR), pushing to a remote, or when you need to organize work across multiple parallel streams. Use when cutting a release, choosing a semantic version bump, tagging, or writing a changelog.

alfathafp/portofolio-web-design

Refines raw ideas into sharp, actionable concepts through structured divergent and convergent thinking. Use when an idea is still vague, when you need to stress-test assumptions before committing to a plan, or when you want to expand options before converging on one. Triggers on "ideate", "refine this idea", or "stress-test my plan".

alfathafp/portofolio-web-design

Guides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating REST or GraphQL endpoints, defining type contracts between modules, or establishing boundaries between frontend and backend.

관련 스킬