review-gitcode-pr
Installation
SKILL.md
Review GitCode PR
Run this skill when the review starts from a GitCode PR reference and must combine oh-gc artifacts with local repository inspection.
Workflow
1. Resolve The PR
Normalize the user input first.
- If the user gave a PR number, use it directly.
- If the user gave a URL, extract the PR number and, when possible, the
OWNER/REPO. - If the normalized result does not include
OWNER/REPO,scripts/collect_pr_context.pywill try to infer it from the current repository's GitCode remote URLs. - If remote inference is ambiguous or the current checkout is not a GitCode clone, pass
--repo OWNER/REPOexplicitly. - Use
scripts/normalize_pr_ref.pyfor this normalization step.
2. Collect Remote Context
Use scripts/collect_pr_context.py to fetch and save the PR context before reviewing code manually.