polish
Installation
SKILL.md
Pre-Release Polish
Argument (optional): $ARGUMENTS
Setup
The argument selects what gets reviewed:
- Nothing, or a git ref - local mode. Review the working tree or branch (Phase 2).
- A GitHub PR - PR mode. Anything that identifies one counts: a URL, a bare number, "PR 42",
"the PR for this branch". Resolve it with
gh:- In the repo:
gh pr view <n> --json title,body,author,baseRefName,headRefName, thengh pr checkout <n> - Not in the repo:
gh repo clone <owner>/<repo> /tmp/<owner>-<repo>-pr-<n> -- --depth=50and work there, passing-R <owner>/<repo>to everyghcall since a shallow clone has no default remote - If the user names an existing clone ("... in ~/pj/my-clone"), use that instead of cloning
- In the repo: