スキル一覧に戻る
DavidNix

gh-issues

by DavidNix

Personal dotfiles

7🍴 1📅 2026年1月24日
GitHubで見るManusで実行

SKILL.md


name: gh-issues description: Use when creating, listing, or viewing GitHub issues via CLI - triggers on issue management tasks, bug reporting, or feature requests

Create, list, or view GitHub issues using the gh CLI.

Decision Flow

digraph {
  rankdir=TB
  "User invokes gh-issues" -> "Ask: Create, List, or View?"
  "Ask: Create, List, or View?" -> "Create" [label="new issue"]
  "Ask: Create, List, or View?" -> "List" [label="browse"]
  "Ask: Create, List, or View?" -> "View" [label="specific #"]
  "Create" -> "Get title (5-10 words)"
  "Get title (5-10 words)" -> "Get type + description"
  "Get type + description" -> "Bug?" [shape=diamond]
  "Bug?" -> "Ask repro steps + expected/actual" [label="yes"]
  "Bug?" -> "Optional labels" [label="no"]
  "Ask repro steps + expected/actual" -> "Optional labels"
  "Optional labels" -> "gh issue create"
  "List" -> "Ask filter (all/assigned/author/label)"
  "Ask filter (all/assigned/author/label)" -> "gh issue list"
  "View" -> "Ask issue number"
  "Ask issue number" -> "gh issue view"
}

Quick Reference

ActionCommand
Creategh issue create --title "..." --body "$(cat <<'EOF'...EOF``)"
List allgh issue list
List minegh issue list --assignee @me
List by authorgh issue list --author @me
List by labelgh issue list --label "bug"
Viewgh issue view 123
Auth checkgh auth status

Workflow

Step 1: Ask Action

Use AskUserQuestion with options: Create new issue, List issues, View issue

Create Flow

  1. Get title - Ask via AskUserQuestion. Enforce 5-10 words max. If user provides long title, shorten it and move details to body.
  2. Get type - Bug / Enhancement / Feature / Task
  3. Get description - Full details via "Other" input
  4. If Bug: Ask for repro steps + expected vs actual behavior
  5. Optional labels - multiSelect: bug, enhancement, documentation, good first issue
  6. Create with HEREDOC:
gh issue create --title "Title" --body "$(cat <<'EOF'
## Description
[description]

## Steps to Reproduce  # (bugs only)
[steps]

## Expected / Actual   # (bugs only)
[behavior]
EOF
)"

List Flow

Ask filter preference, then run appropriate command from Quick Reference table.

View Flow

Ask issue number, run gh issue view [number].

Common Mistakes

MistakeFix
Title too longMove details to body. Titles are scannable headers, not summaries.
Not authenticatedRun gh auth login first
Not in repoMust be in git repo with GitHub remote
Body formatting lostAlways use HEREDOC syntax to preserve newlines

Error Handling

If gh fails: check gh auth status, verify GitHub remote exists, report specific error.

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です