Skip to content
Skillpedia
Deploy & cloud (DevOps)40k · #5172

github-issues

Lets your agent manage tasks and issues on GitHub. It can create, update, and organize items like bug reports or new features.

What it does

This tool helps you manage tasks and issues in GitHub projects. You can create new items, update existing ones, add details like assignees and deadlines, and organize everything.

When to use it

  • ✓When you need to report a software bug.
  • ✓When you have an idea for a new feature.
  • ✓When you need to assign a task to someone on a project.

Example of what to ask your AI

“Create a bug report about the login button not working.”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

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

Ready-to-paste message

Use this skill to help me: https://github.com/github/awesome-copilot/blob/main/skills/github-issues/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

The tool connects to GitHub to create or modify 'issues' (tasks or reports). It uses specific commands to send the information you provide, such as title, description, and item type.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add github/awesome-copilot --skill github-issues

Or download just the file:

curl -L https://raw.githubusercontent.com/github/awesome-copilot/main/skills/github-issues/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from 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

…

FAQ

What's the difference between 'issue type' and 'label'?

The 'issue type' is a main category like 'Bug' or 'Feature'. Labels are additional tags you can use for further organization, like 'high-priority'.

How do I add a deadline?

You can add deadlines using the 'milestone' field when creating or updating an issue. If no milestones are set up, you might need to create them on GitHub first.

Can I add comments to an existing issue?

Yes, you can add comments to an existing issue using the add comment functionality.

Details

Original description by the author

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

Popularity

GitHub stars
40k
Ranking position
#5172
License
MIT
Updated
10/15/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills