No slash command · from git-plugin
Creates well-structured GitHub issues with proper title format, labels, and templates. Use when filing bugs or feature requests via gh CLI.
Ships in git-plugin. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Create well-structured, actionable GitHub issues.
| Use this skill when... | Use the alternative when... |
|---|---|
| Filing a new bug, feature, or chore issue with clear title and acceptance criteria | Use git-issue to start working on existing issues end-to-end |
| Structuring an issue body with reproduction steps, scope, and definition of done | Use github-issue-autodetect to link existing issues from staged diffs |
Choosing the [Type] Component: Description title format | Use github-pr-title to author the conventional title for the PR that fixes it |
| Designing a feature-request issue before implementation begins | Use git-issue-manage for transfer/pin/lock/develop-branch admin operations |
Assembling the GitHub issue itself — title format, templates, gh issue create | Use communication-plugin:ticket-drafting-guidelines for the What/Why/How prose structure and house tone of the body text |
[Type] Component: Brief description
| Type | Example |
|---|---|
| Bug | [Bug] Auth: Login fails with valid credentials |
| Feature | [Feature] API: Add rate limiting support |
| Docs | [Docs] README: Add installation instructions |
| Chore | [Chore] CI: Update Node.js version |
Guidelines:
Take labels from the repository: read .github/issue-labels.json (the repo's
taxonomy file) when it exists, and run gh label list --limit 500. The default
listing stops at 30 labels, so a label that exists can read as missing.
| Label | Says |
|---|---|
bug, enhancement, chore, docs, security, refactor | Type: one per issue. [Bug] is bug, [Feature] is enhancement, [Docs] is docs, [Chore] is chore |
build:<name> | The build in a monorepo the issue belongs to |
area:<name> | The toolchain or subsystem it concerns |
core:<name> | Repo machinery: CI, lint, agent config, the build system, shared components, docs upkeep |
needs:hardware, needs:decision, needs:human, blocked | What stops the issue being picked up. Set one together with the comment or dependency link that says why |
Give an issue one type label and at least one build:, area: or core:
label. A repository without these prefixes is labelled with what the listing
shows. The github-labels skill covers who sets and clears the needs: and
blocked labels, and the script that derives and audits labels.
## Summary
Brief description of the bug.
## Steps to Reproduce
1. Go to '...'
2. Click on '...'
3. See error
## Expected Behavior
What should happen.
## Actual Behavior
What actually happens.
## Environment
- OS: macOS 14.0
- Browser: Chrome 120
- Version: 2.1.0
## Summary
What this feature does.
## Motivation
Why this is needed. What problem does it solve?
## Proposed Solution
Description of desired behavior.
## Acceptance Criteria
- [ ] Criterion 1
- [ ] Criterion 2
- [ ] Criterion 3
GitHub supports first-class issue types. Use --type when creating issues:
| Type | Use For |
|---|---|
| Bug | Something broken that needs fixing |
| Feature | New functionality request |
| Task | General work item |
Note: Available types depend on repository/org configuration. Use gh issue create --type "Bug" to leverage them.
Set issue fields (Priority, Effort, Target date and the like) when the repository owner defines them and the work has a value for one; an empty field is better than a guessed one. List the owner's fields first (gh api orgs/{org}/issue-fields, or user/issue-fields for a personal account); an empty list means the owner has none.
gh issue create --type is the only gh flag for this metadata, and it sets the issue type, not fields. Create the issue, then set fields with gh api.POST .../issues/{N}/issue-field-values with an issue_field_values array) comes from the API schema and is unverified live: re-read the values after writing and report the result.Endpoints and value formats: git-issue-manage REFERENCE.md.
--body-fileFor any non-trivial body — anything containing backticks, code fences, or multi-line content — use --body-file <path>, never --body "<text>". This applies to all gh commands that accept a body: gh issue create, gh issue edit, gh issue comment, gh pr create, gh pr edit, gh pr comment.
| Body shape | Pattern |
|---|---|
| Trivially short, single line, no backticks | --body "Short text" is fine |
| Contains backticks (inline code, code fences) | --body-file /tmp/body.md — required |
| Multi-line | --body-file /tmp/body.md — required |
Contains shell metacharacters ($, ", ', \) | --body-file /tmp/body.md — required |
Shell-quoted --body strings escape backticks (` becomes \`), breaking inline code spans and triple-backtick code fences in the rendered issue. Bash heredocs interact unpredictably with the agent's argument escaping. Writing the markdown to a file with the Write tool sidesteps shell quoting entirely — the file content is preserved byte-for-byte.
1. Write tool → /tmp/issue-body.md (markdown body, no shell escaping)
2. gh issue create --title "..." --body-file /tmp/issue-body.md
The same --body-file <path> form is supported by every gh command that accepts a body.
# Create issue with a body file (preferred for any non-trivial body)
gh issue create --title "[Bug] Auth: Login fails" --body-file /tmp/issue-body.md
# Trivially short body — inline --body is acceptable
gh issue create --title "[Chore] Bump dep" --body "See renovate PR"
# With labels: one type label and a routing label the repo has
gh issue create --title "..." --body-file /tmp/body.md --label "bug" --label "area:auth"
# With assignee
gh issue create --title "..." --body-file /tmp/body.md --assignee "@me"
# With issue type
gh issue create --title "..." --body-file /tmp/body.md --type "Bug"
# As sub-issue of a parent
gh issue create --title "..." --body-file /tmp/body.md
gh api repos/{owner}/{repo}/issues/{parent}/sub_issues -f sub_issue_id={new_id}
# Search before creating
gh issue list --search "login error" --state all
Pick the mechanism that matches the relationship — GitHub surfaces each one differently and only the native APIs trigger "Blocked" badges on project boards.
| Relationship | How to record | Why |
|---|---|---|
| Hard dependency (must happen before) | Native dependencies/blocked_by API — see /git:issue-hierarchy --blocked-by N | Sidebar "Relationships" entry + Blocked badge on boards |
| Composition (part-of scope) | Sub-issue API — see /git:issue-hierarchy --add N | Progress bar on parent, tracked separately from dependencies |
| Soft reference ("related to") | Plain markdown Related to #789 in the body | Cross-link only; no lifecycle coupling |
| Auto-close on merge | Fixes #N / Closes #N in the PR body only (commits use Refs #N; a commit keyword closes the issue whatever the PR body says) | Closes issue when the PR merges |
Do not write Blocks #123 or Blocked by #456 in issue bodies any more —
those strings used to be GitHub's workaround for missing dependency APIs, but
they are no longer parsed. Call /git:issue-hierarchy (or the REST endpoints
at issues/{N}/dependencies/blocked_by) so the relationship shows up in the
sidebar and on project boards.
| Action | Command |
|---|---|
| Create | gh issue create --title "..." --body-file /tmp/body.md |
| Create with type | gh issue create --title "..." --body-file /tmp/body.md --type "Bug" |
| Search | gh issue list --search "keyword" |
| View | gh issue view N |
| Edit body | gh issue edit N --body-file /tmp/body.md |
| Comment | gh issue comment N --body-file /tmp/comment.md |
| Labels | gh label list --limit 500 |
| Context | Command |
|---|---|
| Create issue | gh issue create --title "..." --body-file /tmp/body.md |
| Create with type | gh issue create --title "..." --type "Bug" --body-file /tmp/body.md |
| List labels | gh label list --limit 500 --json name |
| Search issues | gh issue list --search "keyword" --state all --json number,title |
| View issue | gh issue view N --json title,body,labels |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub laurigates/claude-plugins --plugin git-plugin52 skills in this plugin
/deadbranchdeadbranch CLI for stale-branch cleanup — dry-run preview, TUI or non-interactive delete, protects main/develop/WIP. Use when asked to clean up branches, prune branches, or remove stale branches./external-pr-trustAuthorship as a precondition of merging — bot vs stranger classification, what a merge executes, the merge-guard hook. Use when bulk-merging PRs, or when a merge is denied for a non-self author./gh-cli-agenticgh CLI commands with JSON output for agents. Use when querying PRs, issues, runs, or repo metadata; inspecting PR checks; fetching failed CI logs; or mapping a github.com URL to an API call.Other plugins' skills for the same job