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

github-pr-comments

하는 일

이 스킬은 풀 리퀘스트의 인라인 리뷰 댓글을 코드 문맥과 함께 가져옵니다. 그다음 요청된 변경을 하나씩 적용합니다. 리뷰 피드백에 빠르게 대응해야 하는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓리뷰어가 풀 리퀘스트에 인라인 댓글을 여러 개 남겼을 때.
  • ✓댓글에 제안된 변경이 있고 그대로 적용하고 싶을 때.
  • ✓리뷰 댓글을 하나도 놓치지 않으려 할 때.

스킬 링크

https://github.com/tailcallhq/forgecode/blob/main/.forge/skills/github-pr-comments/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

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

Use this skill to help me: https://github.com/tailcallhq/forgecode/blob/main/.forge/skills/github-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분.

작동 방식

에이전트는 각 댓글과 그 코드를 나열하는 스크립트를 실행합니다. 댓글마다 작업을 만들고, 변경을 적용한 뒤 프로젝트의 검사 명령을 실행합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Resolve Code Review Comments

1. Fetch all comments

Run the bundled script to get every inline comment with its diff hunk:

bash .forge/skills/resolve-code/scripts/pr-comments.sh [PR_NUMBER]

Omit PR_NUMBER to use the current branch's PR.

Each block in the output contains:

  • File : — file path and line number
  • -- code context -- — the diff hunk showing surrounding lines
  • -- comment -- — the reviewer's message

2. Create a todo item per comment

Add one todo for each comment before touching any code. This ensures nothing is missed even when comments span many files.

3. Apply each comment

Work through todos one at a time. There are two comment types:

Suggestion block

Body starts with ```suggestion. Apply the suggested text verbatim as a replacement for the highlighted lines in the diff hunk.

Free-form feedback

Read the comment in the context of the diff hunk, infer the required change, and implement it. When the intent is ambiguous, make the change that best matches the project's conventions and state the assumption clearly.

4. Verify

After all comments are addressed, run:

cargo check && cargo nextest run

Fix any errors before marking the task complete.

자주 묻는 질문

댓글이 불분명하면 어떻게 하나요?

에이전트는 프로젝트에 가장 잘 맞는 변경을 하고, 그 가정을 밝힙니다.

특정 도구가 필요한가요?

GitHub 명령줄 도구와 프로젝트의 검사 명령을 사용합니다.

여러 파일에 걸친 댓글도 처리할 수 있나요?

네. 작업 목록은 여러 파일에 걸쳐 있더라도 모든 댓글을 기준으로 만들어집니다.

상세 정보

작성자의 원본 설명

Resolve inline code review comments on a GitHub PR. Use when asked to "resolve review comments", "address PR feedback", "fix PR comments", or "work through review comments". Fetches every inline comment with its surrounding code context, then applies each change systematically.

repo: tailcallhq/forgecode

인기도

GitHub 스타
7.6k
순위
#13112
라이선스
Apache-2.0
업데이트
2026. 11. 1.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬