Plan and implement work described in a GitHub issue, including verification, documentation, and a PR that closes the issue.
日本語の概要は準備中です。原文の説明を表示しています。
Review a GitHub pull request by summarizing its diff and key design decisions. Use when the user wants to review a PR, understand changes in a branch, or get a code review summary. Trigger keywords - review PR, review pull request, summarize PR, summarize diff, code review, review branch, PR summary, diff summary.
インストール方法を見るインストールする前に、エージェントに与えられる指示の中身を確認できます。
Summarize a GitHub pull request diff, highlighting key design decisions and notable code snippets.
gh CLI must be authenticated (gh auth status)The user will provide either a PR number (e.g., #123 or 123) or a branch name. Determine which input was given and resolve it to a PR.
Strip any leading # and use the numeric ID directly. Proceed to Step 2.
Look up the open PR whose head branch matches:
gh pr list --head "<branch>" --state open
Retrieve the PR metadata:
gh pr view <number> --json title,body,state,headRefName,baseRefName,labels,author
Record the title, body, headRefName, and baseRefName for use in later steps.
Fetch the diff via the GitHub CLI:
gh pr diff <number>
If this succeeds, use this diff and proceed to Step 4.
If no PR exists (branch-only case) or the gh diff command fails, fall back to a local diff:
# Ensure both branches are available locally
git fetch origin <target-branch> <source-branch>
# Generate the diff
git diff origin/<target-branch>...origin/<source-branch>
If the user provided a branch name and no PR was found, diff against main:
git fetch origin main <branch>
git diff origin/main...origin/<branch>
If the diff output is very large (thousands of lines), use the Task tool to process it in chunks. Summarize each chunk independently, then merge the summaries. Do not skip or truncate parts of the diff — accuracy depends on reading all of it.
Read through the full diff (and the PR description if available). Produce a summary with the following sections. Keep every section as concise as possible — brevity is a priority.
## PR Review: <title>
**PR:** [#<number>](<url>) <- only if a PR exists
**Author:** <author>
**Branch:** `<source>` -> `<target>`
### Overview
<1-3 sentences describing what this PR does and why>
### Key Design Decisions
- <decision 1 with file:line reference>
- <decision 2 with file:line reference>
- ...
### Notable Code
<short fenced code snippets that illustrate the most important changes -- max 3 snippets>
### Potential Concerns <- omit if none
- **<concise user-visible behavior>** — Before this PR, <affected persona>
experienced <previous behavior>. With this PR, <new concerning behavior>, so
<user-visible impact>. Details: `<file>:<line>`.
Guidelines for the summary:
file_path:line_number references. Examples: choice of algorithm, new abstraction introduced, API contract change, migration strategy.<persona> experienced <old behavior>. With this PR, <new behavior>, so
<impact>." Add only the minimum file and line references needed to substantiate
the finding.
<commit>, ... After <commit>, ...
With this PR, ...".sync-agent-infra maintenance map to check that related skills were updated. When it adds, removes, or renames skills or crates; changes workflow relationships or skill coverage; modifies issue or PR templates; or changes agent cross-references, apply the full consistency checklist. Report missing companion updates or drift under Potential Concerns.Print the summary directly in the chat as formatted markdown.
If the user requests it, also save the summary to a file:
# Default path
reviews/<number>-review.md
# Or for branch-only reviews
reviews/<branch-name>-review.md
| Command | Description |
|---|---|
gh pr list --head <branch> | Find PR by head branch |
gh pr diff <number> | Get PR diff |
gh pr view <number> --json ... | Get full PR metadata |
git diff origin/<target>...origin/<source> | Local diff between branches |
User says: "Review PR #456"
gh pr diff 456User says: "Review branch feat/1234-add-pagination/octocat"
gh pr list --head "feat/1234-add-pagination/octocat"まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Plan and implement work described in a GitHub issue, including verification, documentation, and a PR that closes the issue.
日本語の概要は準備中です。原文の説明を表示しています。
Maintain and validate OpenShell's build-only Windows MSVC lane for x64 and ARM64. Use when working on Windows compilation, `windows:*` mise tasks, unsupported Windows compute-driver contracts, or Windows build reports. This skill does not implement Docker, Kubernetes, Podman, VM, MXC driver, policy translation, MSI, service, or supervisor runtime support on Windows.
日本語の概要は準備中です。原文の説明を表示しています。
Create GitHub issues using the gh CLI. Use when the user wants to create a new issue, report a bug, request a feature, or create a task in GitHub. Trigger keywords - create issue, new issue, file bug, report bug, feature request, github issue.
日本語の概要は準備中です。原文の説明を表示しています。
Create GitHub pull requests using the gh CLI. Use when the user wants to create a new PR, submit code for review, or open a pull request. Trigger keywords - create PR, pull request, new PR, submit for review, code review.
日本語の概要は準備中です。原文の説明を表示しています。
Create OpenShell RFC proposals in rfc/ from a design request. Use when the user asks to write, draft, start, create, or update an RFC, Request for Comments, architecture proposal, API proposal, process proposal, or cross-cutting design proposal that should follow the OpenShell RFC process and template.
日本語の概要は準備中です。原文の説明を表示しています。
Investigate an OpenShell problem and create a structured issue with technical findings for human disposition.
日本語の概要は準備中です。原文の説明を表示しています。