SKILL

open-pr

Open the pull request for the branch you are working on in the browser via `gh pr view --web`. Trigger when the user says: "PRを開いて", "PRをブラウザで", "PRを見せて", "open pr", "open the PR", "show me the PR", or similar phrases requesting to open the working pull request in the browser.

Original · translation is not supported for this source language

Target: Software development & testing. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original Japanese text

Topics in the source

  • Open PR Skill
  • 手順
  • 注意

作業中のブランチに対応する PR を gh pr view --web でブラウザに開く。 毎回コマンドを手で打つ手間をなくすためのショートカット。 1. 引数が渡されていればそれを優先する。PR 番号またはブランチ名とみなして gh pr view --web を実行し、終了する(例: /open-pr 42) 2. 引数がなければ対象ブランチを決める: カレントディレクトリ(またはこのセッションで作業中の worktree)の ブランチが main / master 以外なら、それを対象にする main 上にいる場合は git worktree list で .claude/worktrees/ 配下の worktree を列挙し、各ブランチの PR を gh pr view --json url,state,title で確認する open な PR が 1 件だけならそれを対象にする 複数あれば AskUserQuestion でどれを開くか選んでもらう 0 件なら gh pr list --author @me の結果を見せて、開ける PR が ないことを伝えて終了する 3. gh pr view --web を実行し、開いた PR のタイトルと URL を ユーザーに伝える ブラウザを起動できない環境(ヘッドレス等)で --web が失敗したら、 gh pr view --json url -q .url で URL だけ表示する

Source repository
kompiro/hane
Source file
skills/open-pr/SKILL.md
Fixed revision
e43182fb7d2abb7ea0ffb21f030479966cd2ee05
Read the complete original documentation ↗

Requirements

  • Only the author’s Skill metadata is included. Read the full instructions to check dependencies, licensing and conditions of use.

A small first task

先阅读原作者说明,再决定是否在自己的 AI 工具中使用。

Instructions for your AI tool

Author documentation is not live verification by this site. Without evidence, we do not mark a resource as compatible, safe or free.

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: kompiro/hane · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-10T09:01:55.354Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.