1---2name: external-pr-review-23description: Apply the external contributor PR review procedure. Collect PR information, write mydocs/pr/pr_{N}_review.md, verify, write pr_{N}_report.md, and move documents to archives/ when processing is complete. Use only for external contributor PRs, not internal tasks.4---56# External Contributor PR Review78## Trigger910- The task requester explicitly says "review PR #N" or "review external PR."11- This SKILL is invoked directly.1213## Preconditions1415- The PR under review is opened from an external contributor fork to this repository's `{BASE_BRANCH}` or agreed base.16- Do not use this SKILL for internal task PRs such as `publish/task{N}`. Internal tasks use the normal stage procedure.17- `gh` CLI authentication is available.1819## Procedure20211. Collect PR metadata.22 ```bash23 gh pr view {N} --json number,title,state,baseRefName,headRefName,headRepository,mergeable,mergeStateStatus,reviewDecision,labels,body24 gh pr diff {N} | head -20025 gh pr checks {N}26 ```27 - Check linked Issues, base/head, mergeability, and CI state.282. Write review document: `mydocs/pr/pr_{N}_review.md`.29 - Use central template `mydocs/_templates/external_pr_review.md`.30 - Only if the template cannot be read, use these fallback sections:31 - PR information: number, author, base/head, linked Issue32 - Change summary33 - Impact area and compatibility: FFI, build, documentation34 - Code/documentation review findings35 - Verification plan36 - Recommendation: merge / request changes / close37 - Approval request to task requester383. Request task requester approval for the review direction.394. If needed, write a modification/verification plan: `mydocs/pr/pr_{N}_review_impl.md`.40 - Use central template `mydocs/_templates/external_pr_review_impl.md`.41 - Use this only when this repository needs additional verification work.42 - Request approval after writing it.435. Run verification only when applicable.44 - Apply `{PROJECT_VALIDATION_GUIDE}` based on change type.456. Write final report: `mydocs/pr/pr_{N}_report.md`.46 - Use central template `mydocs/_templates/external_pr_report.md`.47 - Include review result, verification result, final recommendation, and GitHub PR comment body or link.487. After task requester approval, post the comment or review to the GitHub PR. The task requester decides merge.498. When processing is complete, archive documents.50 ```bash51 git mv mydocs/pr/pr_{N}_review.md mydocs/pr/archives/52 git mv mydocs/pr/pr_{N}_review_impl.md mydocs/pr/archives/ # if it exists53 git mv mydocs/pr/pr_{N}_report.md mydocs/pr/archives/54 ```559. Commit once or by review phase. External PR review does not force the internal stage format.56 ```bash57 git commit -m "PR #{N} review: {summary}"58 ```5960## Verification6162- `mydocs/pr/pr_{N}_review.md` fills required sections from `mydocs/_templates/external_pr_review.md`.63- If written, `mydocs/pr/pr_{N}_review_impl.md` fills required sections from `mydocs/_templates/external_pr_review_impl.md`.64- `mydocs/pr/pr_{N}_report.md` fills required sections from `mydocs/_templates/external_pr_report.md`.65- The recommendation is explicit: merge, request changes, or close.66- After processing, created PR review documents exist in `mydocs/pr/archives/`.6768## Never Do6970- Apply this SKILL to internal task PRs such as `publish/task{N}`.71- Merge or close an external PR without task requester approval.72- Cherry-pick code from an external contributor fork directly into this repository while bypassing PR procedure.73- Force internal stage documents such as `_stage{N}.md` and `_report.md` onto external PR review documents.7475## Invocation7677- Codex: `$external-pr-review` or the `/skills` menu78- Claude Code: `/external-pr-review`