Skip to main content

update-with-comments

Check comments from the Pull Request on the GitHub and update code.

소스 정보

저장소
alibaba/neug
최근 소스 활동
2026년 9월 16일 02:31
감지된 SKILL.md 언어
영어
스타
170
포크
36

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
update-with-comments
description
Check comments from the Pull Request on the GitHub and update code.
disable-model-invocation
true
## User Input ```text $ARGUMENTS ``` You **MUST** consider the user input before proceeding (if not empty). ## Outline 1. **Locate the Pull Request**: - If user explicitly provides the PR ID - Stash current changes and checkout to the PR branch. - If user does not provide the PR ID - Search the PR on the current branch - If there is multiple PRs or no PR, **STOP** and report to users. 2. **Get PR comments**: - Obtain conversation comments: `gh pr view <pr-id> --comments`. - Obtain inline comments: `gh api repos/:owner/:repo/pulls/<pr-id>/comments`. - Analysis all comments and align intention, e.g., Approve, Question, Request Changes, etc. 3. **Update Code**: - If a comment intention is `Approve`, skip the update. - If a comment intention is `Question`, you have to explain your understanding based on the code and comments. - If a comment intention is `Request Changes`, e.g., typos, code style, potential bugs, optimization chances, etc. - Try to update the code to fix the problem in the workspace. - If the update is successfully fixed and pass tests, add a new comments to confirm the update. - Otherwise, report the problem and ask users to review the comment. 4. **Report & Submit**: Generate a summary to show all comments and their updates. Then, commit the changes and push to the PR branch.
GitHub에서 보기