handle-pr-comments
하는 일
이 스킬은 GitHub 풀 리퀘스트의 리뷰 댓글을 하나씩 처리하도록 AI를 안내합니다. 리뷰어의 피드백에 효율적으로 답해야 하는 개발자를 위한 것입니다.
사용하는 경우
- ✓리뷰어가 풀 리퀘스트에 여러 댓글을 남겼을 때.
- ✓코드를 바꾸기 전에 각 댓글을 어떻게 처리할지 결정하고 싶을 때.
- ✓수정을 마친 후 리뷰 스레드를 해결하고 싶을 때.
스킬 링크
https://github.com/storybookjs/storybook/blob/next/.agents/skills/handle-pr-comments/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제 풀 리퀘스트의 해결되지 않은 리뷰 댓글을 하나씩 살펴보고, 각각을 어떻게 처리할지 저에게 물어봐 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
AI는 해결되지 않은 댓글을 나열하고, 각 댓글 주변의 코드를 읽은 뒤 수정을 제안합니다. 선택한 옵션을 적용하고, 커밋을 제안하며, 스레드를 해결됨으로 표시합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Handle PR Comments
Evaluate review comments on the PR (from the current branch, or a PR number/URL if given). For each unresolved comment: summarize the feedback, suggest a resolution, ask the user how to resolve it, apply their choice, commit if needed, and resolve the thread.
Find the PR. Use the given number/URL, else derive it from the current branch (
gh pr view). Stop if no PR exists.Fetch unresolved review threads via the GraphQL
reviewThreadsfield on the pull request — request each thread'sid,isResolved,isOutdated,path,line, and comments. Filter toisResolved == false. (Use GraphQL, not REST: only it exposes threadids and resolution state.)Loop one comment at a time. For each: (a) summarize the feedback + file/line, reading surrounding code; (b) suggest a concrete fix; (c) ask via AskQuestion with options — apply suggested fix / apply a different fix / reply only / skip; (d) apply the choice; (e) if applicable, summarize what was changed and ask whether to commit; (f) resolve the thread via the GraphQL
resolveReviewThreadmutation.Report an overview of what was changed, committed, replied to, skipped, and resolved. Include links.
Notes
- Handle real-user comments before addressing AI agents' (Copilot, CodeRabbit).
- Group duplicate comments; when the same/similar issue is mentioned multiple times, handle them all at once.
- Make a separate commit for each change.
자주 묻는 질문
모든 댓글을 물어보지 않고 고치나요?
아닙니다. 스킬은 각 댓글마다 수정을 적용할지, 바꿀지, 건너뛸지를 선택하게 합니다.
AI 리뷰어의 댓글은 어떻게 다루나요?
스킬은 AI 리뷰어의 댓글보다 실제 리뷰어의 댓글을 먼저 처리하라고 말합니다.
풀 리퀘스트가 있어야 하나요?
네. 현재 브랜치 또는 사용자가 준 번호에서 풀 리퀘스트를 찾습니다.
상세 정보
작성자의 원본 설명
Triage and resolve GitHub PR review comments one by one, interactively. Use when the user asks to handle, address, respond to, or resolve PR review comments, or mentions reviewer feedback on a pull request.
repo: storybookjs/storybook
인기도
- GitHub 스타
- 91k
- 순위
- #1319
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
principle-encode-lessons-in-structure
91k반복되는 실수를 같은 알림을 다시 쓰는 대신, 린트 규칙이나 스크립트 같은 자동 검사로 바꾸도록 에이전트를 가르칩니다.
storybook-startup-benchmark
91kStorybook이 시작되어 첫 스토리를 보여 줄 때까지 걸리는 시간을 측정하고, 공정한 비교를 위해 반복 실행하도록 에이전트를 돕습니다.
storybook-upgrade
91k프로젝트의 모든 Storybook 패키지를 선택한 버전으로, 한 번에 한 메이저 버전씩 업그레이드하는 방법을 에이전트에게 보여 줍니다.
update-pr-description
91k풀 리퀘스트의 제목과 설명이 여전히 코드 변경과 맞는지 확인하고, 정확한 수정을 제안하도록 에이전트를 돕습니다.