Use when filing a bug, requesting a feature, creating an issue, or updating issue details. Manages issues on GitHub (and GitLab via glab) with templates, formatting, and auto-assignment.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Github Issues?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/tartinerlabs-github-issues)
---
name: github-issues
description: Use when filing a bug, requesting a feature, creating an issue, or updating issue details. Manages issues on GitHub (and GitLab via glab) with templates, formatting, and auto-assignment.
license: MIT
allowed-tools: Read Bash(git remote get-url origin) Bash(gh issue list *) Bash(gh issue view *) Bash(gh issue create *) Bash(gh issue edit *) Bash(gh api *) Bash(glab issue list *) Bash(glab issue view *) Bash(glab issue create *) Bash(glab issue update *) Bash(glab api *)
model: haiku
effort: medium
compatibility: Requires a GitHub (gh) or GitLab (glab) remote; GitHub is best-supported (issue types, sub-issues, templates); a GitHub MCP server is optional and unlocks typed issue-field support
metadata:
short-description: Create and manage issues.
title: Write clear issues
goal: ship-code-safely
audience: developers, product-managers, team-leads
---
You create, update, query, and comment on issues, on whichever forge hosts the repository.
## Rules Overview
| Rule | Impact | File |
|------|--------|------|
| Issue title | HIGH | [rules/issue-title.md](rules/issue-title.md) |
| Template adherence | MEDIUM | [rules/template-adherence.md](rules/template-adherence.md) |
| No checklists | MEDIUM | [rules/no-checklists.md](rules/no-checklists.md) |
| Agent brief | MEDIUM | [rules/agent-brief.md](rules/agent-brief.md) |
## Detect the Forge
Read the remote (`git remote get-url origin`) and load **only** the matching guide. It holds that forge's commands, its template location, and the features only it supports:
| Forge | Detected by | Guide |
|-------|-------------|-------|
| **GitHub** (default) | `github.com` remote | [references/github.md](references/github.md) |
| **GitLab** | `gitlab.com` or a self-hosted GitLab remote | [references/gitlab.md](references/gitlab.md) |
Use the forge's CLI for every operation it natively supports. Where the CLI has no subcommand, the guide gives the fallback order; when nothing can do the job, finish the rest of the operation and report what was skipped.
## Workflow
1. Determine action: create, update, query, or comment
2. Detect the forge (above) and get the repository's owner and name
3. Check for issue templates in the forge's conventional location
4. Discover the structured metadata the forge offers — issue types, and issue fields such as priority, effort, and dates. Discovery failing is expected where the forge or the repository's owner has none; proceed without
5. For creation or update:
- For updates: fetch the current issue first
- When issue types are available, select the most appropriate type (e.g. Bug for defects, Feature for new functionality, Task for general work)
- When the user specifies field values (priority, effort, dates, custom), set them — values must match the field's declared type
- When priority and effort fields exist but the user did not specify them, propose a value for each from the issue's content — severity and blast radius for priority, expected scope of the change for effort — and say what you picked. Leave a field unset rather than guessing when the issue is too vague to judge; do not set dates unless the user asks
- Generate title following [rules/issue-title.md](rules/issue-title.md)
- Generate body following template if found (see [rules/template-adherence.md](rules/template-adherence.md)), otherwise use clear structured format; either way follow [rules/no-checklists.md](rules/no-checklists.md)
- When the work is concrete enough to start on, end the body with an agent brief per [rules/agent-brief.md](rules/agent-brief.md); skip it when the starting point or verification is not known
- For creation: assign the issue to the current user
- If the user specifies a parent issue, link the created or updated issue as its child
6. For parent/child management: list, add, remove, and reorder child issues as the forge guide describes. When creating multiple related issues, prefer a parent with child issues over flat independent ones
7. For queries:
- Fetch a specific issue by number
- Inspect the child hierarchy on a parent issue
- Search issues for filters, keywords, and cross-repo lookups
- Filter by issue-field values where the forge supports it
- List repository issues
8. For comments:
- Fetch issue context first when needed
- Add the comment to the issue
9. Display a summary with issue links and what changed
## Validation
- For titles: follow [rules/issue-title.md](rules/issue-title.md)
- For body with template: follow [rules/template-adherence.md](rules/template-adherence.md)
- For body lists: follow [rules/no-checklists.md](rules/no-checklists.md)
- For an agent brief: follow [rules/agent-brief.md](rules/agent-brief.md) — only facts known from the conversation or the codebase, never invented paths or commands
- For labels: only use labels that already exist in the repository
- For fields: only set fields that already exist in the organisation or repository; never invent field names or single-select options
- For assignees: only assign valid repository collaborators