Loading...
Loading...
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. Triggers on requests like "create an issue", "file a bug", "request a feature", "update issue X", "set the priority", "set the start date", "create a label", "rename a label", "list repo labels", "link issues", "add dependency", "blocked by", "blocking", or any GitHub issue management task.
npx skill4agent add ilteoood/harness github-issues@modelcontextprotocol/server-github| Tool | Purpose |
|---|---|
| Read issue details, sub-issues, comments, labels (methods: get, get_comments, get_sub_issues, get_labels) |
| List and filter repository issues by state, labels, date |
| Search issues across repos using GitHub search syntax |
| List projects, project fields, project items, status updates |
| Get details of a project, field, item, or status update |
| Add/update/delete project items, create status updates |
| Tool | Purpose |
|---|---|
| Create or update an issue (methods: create, update). Supports title, body, type, labels, assignees, milestone, and issue fields |
| Add a comment or a reaction to an issue |
| Add, remove, or reprioritize a sub-issue |
gh api| Operation | Command |
|---|---|
| Create issue | |
| Update issue | |
| Add comment | |
| Close issue | |
| Set issue type | Include |
gh issue create--typegh apigh apigh apigh api repos/{owner}/{repo}/issues \
-X POST \
-f title="Issue title" \
-f body="Issue body in markdown" \
-f type="Bug" \
--jq '{number, html_url}'gh api-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 numbername[]=value[]-f labels[]=bugghzsh: no matches found: labels[]=buggh api graphql -f query='{ organization(login: "ORG") { issueTypes(first: 10) { nodes { name } } } }' --jq '.data.organization.issueTypes.nodes[].name'typebugenhancement[Bug]Login fails with SSO enabledAdd dark mode supportAdd unit tests for auth module| User Request | Template |
|---|---|
| Bug, error, broken, not working | Bug Report |
| Feature, enhancement, add, new | Feature Request |
| Task, chore, refactor, update | Task |
gh apigh api repos/{owner}/{repo}/issues/{number} \
-X PATCH \
-f state=closed \
-f title="Updated title" \
--jq '{number, html_url}'titlebodystatelabelsassigneesmilestonegh api repos/github/awesome-copilot/issues \
-X POST \
-f title="Login page crashes when using SSO" \
-f type="Bug" \
-f body="## Description
The login page crashes when users attempt to authenticate using SSO.
## Steps to Reproduce
1. Navigate to login page
2. Click 'Sign in with SSO'
3. Page crashes
## Expected Behavior
SSO authentication should complete and redirect to dashboard.
## Actual Behavior
Page becomes unresponsive and displays error." \
--jq '{number, html_url}'gh api repos/github/awesome-copilot/issues \
-X POST \
-f title="Add dark mode support" \
-f type="Feature" \
-f 'labels[]=high-priority' \
-f body="## Summary
Add dark mode theme option for improved user experience and accessibility.
## Motivation
- Reduces eye strain in low-light environments
- Increasingly expected by users
## Proposed Solution
Implement theme toggle with system preference detection.
## Acceptance Criteria
- [ ] Toggle switch in settings
- [ ] Persists user preference
- [ ] Respects system preference by default" \
--jq '{number, html_url}'| Label | Use For |
|---|---|
| Something isn't working |
| New feature or improvement |
| Documentation updates |
| Good for newcomers |
| Extra attention needed |
| Further information requested |
| Will not be addressed |
| Already exists |
| Urgent issues |
Related to #123| Capability | When to use | Reference |
|---|---|---|
| Advanced search | Complex queries with boolean logic, date ranges, cross-repo search, issue field filters ( | references/search.md |
| Sub-issues & parent issues | Breaking work into hierarchical tasks | references/sub-issues.md |
| Milestones | Create, read, update, close, reopen, delete milestones and manage milestone issues | references/milestones.md |
| Labels | Discover, create, rename, recolor, and delete repository labels; add or replace labels on an issue | references/labels.md |
| Issue dependencies | Tracking blocked-by / blocking relationships | references/dependencies.md |
| Issue types (advanced) | GraphQL operations beyond MCP | references/issue-types.md |
| Projects V2 | Project boards, progress reports, field management | references/projects.md |
| Issue fields | Custom metadata: dates, priority, text, numbers (private preview) | references/issue-fields.md |
| Images in issues | Embedding images in issue bodies and comments via CLI | references/images.md |