/simple-gh-issues:issues create <内容> | list [all] | do <number> | close <number>from simple-gh-issues
GitHub Issues を作成・一覧・着手・close する。「Issue にして」「issue 一覧」「issue
Ships in simple-gh-issues. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
REPO: !bash "${CLAUDE_PLUGIN_ROOT}/skills/issues/scripts/repo.sh"
GitHub Issues の操作には gh issue コマンドを使用する。
REPO が取得できていない場合は、その旨をユーザに伝えて終了する。
引数の先頭キーワードでサブコマンドを判定する。
参照の検索 (rg) はリポジトリのルートで実行する。--hidden -g '!.git' を付け、.github/ などの隠しディレクトリも対象にする。
コードやドキュメントから Issue を指すときは Issue:{REPO}#{number} と書く。
{REPO} は上の REPO の値に置き換える。REPO が pokutuna/example なら Issue:pokutuna/example#12 になる。
Issue:REPO#12 のように REPO の文字列をそのまま書かない。
参照には 2 種類ある:
# Issue:pokutuna/example#12)。Issue が close されると不要になる現在取り組んでいる内容や調査中の内容から GitHub Issue を作成する。 主な用途: 未解決の問題、現在の作業から外れる別件の問題、追加調査が必要な問題。
手順:
gh issue list --state all --search "{キーワード}" --limit 10 で似た Issue がないか探す。似た Issue があれば提示し、新しく作るか既存の Issue にコメントとして追記するかを AskUserQuestion で確認するgh issue create で Issue を作成するIssue:{REPO}#{number} の形式で参照を残すGitHub Issues の一覧と、コードベース内の Issue 参照を返す。
手順:
gh issue list --limit=20 --json number,title,labels,updatedAt --template '{{range .}}- #{{.number}} {{.title}}{{if .labels}} [{{range $i, $l := .labels}}{{if $i}}, {{end}}{{$l.name}}{{end}}]{{end}} ({{timeago .updatedAt}}){{"\n"}}{{end}}' で open な Issue を表示するrg -n --hidden -g '!.git' 'Issue:{REPO}#[0-9]+' でコードベースを検索するgh issue list --state open --limit 500 --json number -q '.[].number' で open な Issue の番号を得て、参照を open な Issue への参照と closed な Issue への参照に分けるall があれば、gh issue list --state closed --limit 500 --json number,title でタイトルを得て、Issue 番号・タイトル・ファイルパス・行番号のリストで表示する出力の方針:
指定された Issue に取り組む。 実装タスクに限らず、調査・仮説検証・分析などのタスクも含まれる。
手順:
gh issue view {number} --comments で Issue の内容とコメントを確認する。以前の作業メモがあれば、その続きから取りかかるgh issue comment {number} で Issue に書き残す
close {number} で close できることをユーザに伝える。自分からは close しない指定された Issue を close し、コード中の参照を整理する。
手順:
gh issue view {number} --comments で Issue の内容と結論を確認するrg -n --hidden -g '!.git' 'Issue:{REPO}#{number}\b' で参照を探すgh issue close {number} --comment "{結論}" で close する。結論が do で書き残したコメントと同じなら --comment は省く。解決せずに打ち切る場合は --reason "not planned" を付けるcreate 評価スクリプトが L4 で OOM する件 → 似た Issue を確認して作成し、該当コードに Issue:{REPO}#{number} を残すlist → open な Issue と、それらへの参照箇所。closed な Issue への参照は件数のみlist all → closed な Issue への参照も含めて表示do 12 → Issue #12 に取りかかり、結果や途中経過を Issue にコメントするclose 12 → close し、印を消して、必要なら記録を更新するWhat SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub pokutuna/claude-plugins --plugin simple-gh-issues