사용 방법
- 설치 명령을 복사하고 자신의 에이전트 환경에 설치하기 전에 소스 패키지를 확인하세요.
- 필요한 도구, 인증 정보, 지원 환경은 원본 문서에서 확인하세요.
- 입력과 원하는 산출물을 설명하고 출처와 결과를 대조하세요.
npx skills add https://github.com/jssblck/agents --skill resolve-pr-conflicts시작 전 확인
- 설치에는 모델 구독, API 한도, 파일 접근 권한이 포함되지 않습니다.
- 별점 수와 설치 수는 활동 지표이며 독립적인 품질·보안 검증이 아닙니다.
원본 저장소의 제목, 예시, 코드, 표, 링크, 이미지를 유지해 표시합니다.
Resolve PR conflicts
Update the PR's own branch against its current base. This skill does not authorize merging the PR or retargeting it to another base.
Inspect and update
gh pr view <n> -R <owner/repo> --json state,headRefName,headRefOid,baseRefName,mergeable,isCrossRepository,maintainerCanModify- Confirm the PR is open and record its head SHA and base branch.
- Work in a temporary worktree, preserving existing local edits.
- Fetch the PR head and base from their actual repositories; record the base tip.
- Confirm fork permissions and the destination remote before updating the PR branch.
- Merge or rebase onto the fetched base according to the repository's guidance.
Get explicit approval before rewriting a branch you do not own, unless already authorized in the session. Disclose every rewrite. Use an explicit --force-with-lease=<branch>:<recorded-head-sha> for an authorized rewrite. If another contributor moved the PR head, stop and reconcile with its owner. Never push to the base branch.
Resolve and verify
Read the conflict guidance before resolving hunks. Preserve both changes' intent and check for semantic conflicts even when Git merges cleanly. Ask when the resolution requires a product decision.
- Resolve the conflicts and complete the merge or rebase.
- Run the repository's relevant build, format, lint, and tests on the combined tree.
- Recheck the remote head and base before pushing.
- Update and re-verify if the base moved; preserve concurrent head changes.
- Push the verified update to the PR branch within the user's authorized scope.
- Re-read the PR head and mergeability after the push.
- Remove the temporary worktree after preserving the completed work.
Report the resolved conflicts, any rewrite, checks run, and remaining blockers. Return to the calling workflow for CI watching or an authorized merge.





