github-pr-comments
하는 일
이 스킬은 풀 리퀘스트의 인라인 리뷰 댓글을 코드 문맥과 함께 가져옵니다. 그다음 요청된 변경을 하나씩 적용합니다. 리뷰 피드백에 빠르게 대응해야 하는 개발자를 위한 스킬입니다.
사용하는 경우
- ✓리뷰어가 풀 리퀘스트에 인라인 댓글을 여러 개 남겼을 때.
- ✓댓글에 제안된 변경이 있고 그대로 적용하고 싶을 때.
- ✓리뷰 댓글을 하나도 놓치지 않으려 할 때.
스킬 링크
https://github.com/tailcallhq/forgecode/blob/main/.forge/skills/github-pr-comments/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
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.
댓글
- …
이 저장소의 다른 스킬
create-agent
7.6k에이전트가 Forge 코딩 앱용 맞춤 에이전트를 만들거나 바꾸도록 가르칩니다. 설정이 맨 위에 있는 마크다운 파일로 저장됩니다.
create-command
7.6k에이전트가 Forge 코딩 앱에서 반복해서 쓸 명령을 만들도록 가르칩니다. 순서대로 실행되는 마크다운 단계로 작성됩니다.
create-github-issue
7.6k에이전트가 저장소의 이슈 템플릿을 따르고, 알맞은 항목과 라벨을 갖춘 GitHub 이슈를 등록하도록 돕습니다.
create-plan
7.6k에이전트가 복잡한 작업을 위해 단계, 위험, 대안을 담은 상세한 구현 계획을 코드 변경 전에 작성하도록 돕습니다.