본문으로 건너뛰기
Skillpedia
일반 코딩91k · #1319

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가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/storybookjs/storybook/blob/next/.agents/skills/handle-pr-comments/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

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.

  1. Find the PR. Use the given number/URL, else derive it from the current branch (gh pr view). Stop if no PR exists.

  2. Fetch unresolved review threads via the GraphQL reviewThreads field on the pull request — request each thread's id, isResolved, isOutdated, path, line, and comments. Filter to isResolved == false. (Use GraphQL, not REST: only it exposes thread ids and resolution state.)

  3. 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 resolveReviewThread mutation.

  4. 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.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬