本文へスキップ
Skillpedia
デプロイとクラウド(DevOps)40k · #7229

github-issues

できること

このツールは、GitHubプロジェクトでタスクや課題(イシュー)を管理する手助けをします。新しい項目を作成したり、既存の項目を更新したりできます。担当者や期限などの詳細を追加し、すべてを整理することもできます。

使う場面

  • ✓ソフトウェアのバグを報告したいとき。
  • ✓新機能のアイデアがあるとき。
  • ✓プロジェクトのタスクを誰かに割り当てたいとき。

スキルのリンク

https://github.com/github/awesome-copilot/blob/main/skills/github-issues/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/github/awesome-copilot/blob/main/skills/github-issues/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“ログインボタンが動かないというバグレポートを作成してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

このツールはGitHubに接続して、「イシュー」(タスクや報告)を作成または変更します。タイトル、説明、項目の種類など、あなたが提供した情報を送信するために、特定のコマンドを使います。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

GitHub Issues

Manage GitHub issues using the @modelcontextprotocol/server-github MCP server.

Available Tools

MCP Tools (read operations)

Tool Purpose
mcp__github__issue_read Read issue details, sub-issues, comments, labels (methods: get, get_comments, get_sub_issues, get_labels)
mcp__github__list_issues List and filter repository issues by state, labels, date
mcp__github__search_issues Search issues across repos using GitHub search syntax
mcp__github__projects_list List projects, project fields, project items, status updates
mcp__github__projects_get Get details of a project, field, item, or status update
mcp__github__projects_write Add/update/delete project items, create status updates

MCP Tools (write operations)

Tool Purpose
mcp__github__issue_write Create or update an issue (methods: create, update). Supports title, body, type, labels, assignees, milestone, and issue fields
mcp__github__add_issue_comment Add a comment or a reaction to an issue
mcp__github__sub_issue_write Add, remove, or reprioritize a sub-issue

CLI / REST API (write operations)

gh api performs the same writes and is the form used in the examples below. Reach for it when the MCP server is not connected, or when you need a REST field the MCP tools do not expose.

Operation Command
Create issue gh api repos/{owner}/{repo}/issues -X POST -f title=... -f body=...
Update issue gh api repos/{owner}/{repo}/issues/{number} -X PATCH -f title=... -f state=...
Add comment gh api repos/{owner}/{repo}/issues/{number}/comments -X POST -f body=...
Close issue gh api repos/{owner}/{repo}/issues/{number} -X PATCH -f state=closed
Set issue type Include -f type=Bug in the create call (REST API only, not supported by gh issue create CLI)

Note: gh issue create works for basic issue creation but does not support the --type flag. Use gh api when you need to set issue types.

Workflow

  1. Determine action: Create, update, or query?
  2. Gather context: Get repo info, existing labels, milestones if needed
  3. Structure content: Use appropriate template from references/templates.md
  4. Execute: Use MCP tools for reads, gh api for writes
  5. Confirm: Report the issue URL to user

Creating Issues

Use gh api to create issues. This supports all parameters including issue types.

gh api repos/{owner}/{repo}/issues \
  -X POST \
  -f title="Issue title" \
  -f body="Issue body in markdown" \
  -f type="Bug" \
  --jq '{number, html_url}'

Optional Parameters

Add any of these flags to the gh api call:

-f type="Bug"                    # Issue type (Bug, Feature, Task, Epic, etc.)
-f 'labels[]=bug'                # Labels (repeat for multiple)
-f 'assignees[]=username'        # Assignees (repeat for multiple)
-f milestone=1                   # Milestone number

Quote the whole name[]=value pair. [] is a glob pattern in zsh, the default shell on macOS, so an unquoted -f labels[]=bug never reaches gh:

zsh: no matches found: labels[]=bug

Issue types are organization-level metadata. To discover available types, use:

gh api graphql -f query='{ organization(login: "ORG") { issueTypes(first: 10) { nodes { name } } } }' --jq '.data.organization.issueTypes.nodes[].name'

Prefer issue types over labels for categorization. When issue types are available (e.g., Bug, Feature, Task), use the type parameter instead of applying equivalent labels like bug or enhancement. Issue types are the canonical way to categorize issues on GitHub. Only fall back to labels when the org has no issue types configured.

Title Guidelines

  • Be specific and actionable
  • Keep under 72 characters
  • When issue types are set, don't add redundant prefixes like [Bug]
  • Examples:
    • Login fails with SSO enabled (with type=Bug)
    • Add dark mode support (with type=Feature)
    • Add unit tests for auth module (with type=Task)

Body Structure

Always use the templates in references/templates.md. Choose based on issue type:

User Request Template
Bug, error, broken, not working Bug Report
Feature, enhancement, add, new Feature Request
Task, chore, refactor, update Task

…

よくある質問

「イシューの種類」と「ラベル」の違いは何ですか?

「イシューの種類」は「バグ」や「機能」のような主要なカテゴリです。ラベルは、「優先度高」のように、さらに整理するために付ける追加のタグです。

期限はどのように追加しますか?

イシューを作成または更新するときに、「マイルストーン」の項目を使って期限を追加できます。マイルストーンが設定されていない場合は、先にGitHub上で作成する必要があるかもしれません。

既存のイシューにコメントを追加できますか?

はい、コメント追加の機能を使って、既存のイシューにコメントを追加できます。

詳細

作者による元の説明

Create, update, and manage GitHub issues using MCP tools. Use this skill when users want to create bug reports, feature requests, or task issues, update existing issues, add labels/assignees/milestones, manage repository labels, set issue fields (dates, priority, custom fields), set issue types, manage issue workflows, link issues, add dependencies, or track blocked-by/blocking relationships. Trig

repo: github/awesome-copilot

人気

GitHubのスター
40k
ランキング
#7229
ライセンス
MIT
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル