/claude-github-tools:gh-create-issuefrom claude-github-tools
Creates well-formed GitHub Issues through a structured discovery process. Trigger this skill whenever the user types /gh-create-issue, says "create a GitHub issue for...", "log this as an issue", "make a ticket for...", "add this to the backlog", or any similar request to track or file work in GitHub. This skill investigates the codebase and checks for overlapping issues/PRs before writing anything — always use it proactively so issues are well-scoped before they're created.
Ships in claude-github-tools. 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.
Read when SKILL.md points to them.
Your job is to create a high-quality, well-scoped GitHub Issue. The goal isn't just to record a request — it's to understand what's really being asked, surface any conflicts or concerns, and produce an issue that's ready to act on. Work should never start unless the user explicitly asks.
If the user invoked the skill with no description, ask:
"What's the issue you'd like to create? A sentence or two is enough to get started."
If they provided a description, proceed directly to investigation.
Run all of these in parallel — don't wait for one to complete before starting the next.
README.md — understand purpose, stack, and conventionsCLAUDE.md (root, plus any subdirectory relevant to the topic) — pick
up project standards and constraintsdocs/, DESIGN.md, ADR.md, etc.) that
touch the issue area — note anything that may need updating if this work shipsRun the deterministic script once instead of the four/five separate gh
calls this used to take — it emits one JSON payload with everything below:
PY="${CLAUDE_PLUGIN_DATA}/venv/Scripts/python.exe"
[ -f "$PY" ] || PY="${CLAUDE_PLUGIN_DATA}/venv/bin/python"
"$PY" "${CLAUDE_PLUGIN_ROOT}/scripts/gh-create-issue-context.py" --search '<keywords from description>'
Omit --search (or pass --search '') when there are no useful keywords
yet — overlap_search comes back as an empty list and the script skips
that call entirely rather than wasting a gh round-trip. Pass --repo <owner>/<repo> to target a repo other than the current directory's.
The script prints one JSON object to stdout:
{
"overlap_search": [...],
"open_issues": [...],
"open_prs": [...],
"labels": [...],
"milestones": [...]
}
Parse it directly — do not re-fetch any of these with your own gh call.
If the script exits non-zero, surface its stderr and stop.
Overlap is still your judgment call, not the script's — overlap_search
only surfaces keyword-matched candidates. Read each candidate's title/body
and decide whether it's genuinely the same request before flagging it. If
you find significant overlap, flag it before proceeding:
"I found an existing issue/PR that covers similar ground: #N — [title]. Would you like to proceed with a new issue, link to that one, or update it instead?"
Based on your investigation, ask the questions you need to understand the issue well. Group related questions together — don't interrogate one point at a time. Be direct if something seems off.
Think about:
After the user responds, iterate if you need to — but work toward alignment, not an interrogation. Once scope is clear, move to drafting.
When the user's description reveals a cross-repo or cross-team contract — "we need repo A to provide X for repo B to consume" — apply consumer-perspective framing rather than implementation prescription. The issue owner may be a separate team or a separate agent in the producer repo; overspecifying implementation removes their latitude to design a better solution.
Detection: The request sounds like "document what we need from [other repo]," "lay out the contract between X and Y," or "file an issue against [producer] describing what [consumer] requires."
How to frame the issue:
docs/CI_CONSUMPTION.md with section 2 listing the paths."docs/X.md exists." The producer can satisfy the behavioral requirement however they choose.Counter-indication: Do not use this framing when the user wants prescriptive control ("make the doc look exactly like this template") or when the producer and consumer are the same person or agent. The pattern's value is in respecting cross-boundary autonomy.
Use this structure. Omit sections that don't apply to this issue.
## Summary
One or two sentences: what this is and why it matters.
## Context
Background, motivation, or related work. Why now? Who's affected?
## Acceptance Criteria
- [ ] Specific, testable criteria for "done"
- [ ] Include doc/README updates if the change affects setup, usage, or the
project spec
## Technical Notes
Relevant files, suggested approach, constraints, edge cases.
## Out of Scope
What this issue explicitly does NOT cover.
Select from the repo's existing labels. Aim for 1–3 that are precise and accurate — don't over-tag.
If this issue is clearly part of a broader initiative that will span multiple issues, suggest a milestone:
"This feels like it's part of a larger [X] effort. Want to assign it to an existing milestone, or create a new one?"
If it's a standalone issue, no milestone is needed — don't suggest one just to suggest one.
If the issue's work would affect any project spec files — README, technical docs, ADRs — include that explicitly in the Acceptance Criteria. Don't let those updates get treated as optional.
Present the full draft (body + labels + milestone recommendation) to the user and ask for approval before creating anything.
Once the user approves, create the issue using your configured GitHub MCP write tool if one is present (the model resolves the exact tool name, which varies by install), otherwise fall back to the gh CLI:
gh issue create --repo <owner>/<repo> --title "<title>" --body-file <file> --label <l1> --label <l2>
Write the body to a temp file rather than passing it inline, to avoid shell-escaping and encoding pitfalls. Apply the agreed labels and milestone.
Confirm with the issue number and URL.
After confirming creation, ask once:
"Would you like me to start working on this now?"
If yes, proceed. If no, stop. Never start working without a clear yes.
When the draft issue body would render as more than 40 lines of markdown — common for feat: and chore(standards): issues with full Acceptance Criteria, Technical Notes, and Out-of-Scope sections — save the draft to <git-toplevel>/.tmp/<YYYY-MM-DD>-issue-<slug>.md before Phase 4 (Draft the Issue) and present a short chat preview: title, labels, milestone recommendation, one-paragraph summary, and the file path. The user reads the file to approve the full body. After approval, the body is posted via gh issue create --body-file <path> (or the configured MCP tool's structured body field); the GitHub issue body becomes the durable record.
When an issue body is long, always write it to a .tmp/ file under the repo root and pass it via --body-file <path> instead of embedding it inline in chat — this keeps the conversation readable and sidesteps shell-escaping and encoding problems. For large payloads above ~30 KB, this pattern is mandatory: never inline a body of that size in a shell command.
What SKILL.md sets; muted values are Claude Code's defaults
claude-github-tools@glitchwerks is listed by glitchwerks/claude-plugins — review the source before installing
npx claudepluginhub glitchwerks/claude-plugins --plugin claude-github-tools8 skills in this plugin
/address-feedbackUnattended goal-loop that drives a single PR to green-and-merged by repeatedly addressing reviewer feedback (CodeRabbit and other review bots) and failing CI checks, waiting for asynchronous re-review between rounds, then auto-merging once quiescent. Composes the one-pass gh-pr-review-address skill (a first-party sibling in this same plugin) and wraps it in a self-pacing loop.
Invoked as `/loop /address-feedback [<PR#|branch>]` — dynamic /loop mode supplies the cross-tick engine; each firing runs ONE tick. A bare /address-feedback runs a single tick and then tells you to wrap it in /loop.
Trigger this skill whenever the user says "address feedback until done", "loop on PR feedback", "keep addressing my PR", "auto-merge when clean", "drive this PR to merge", "handle PR feedback until it's mergeable", or any variation of wanting a PR taken all the way to merged without babysitting each review round.
/gh-pr-review-addressProcess open PR review feedback and failing CI checks in the current repo. Triages every review comment and status check failure — auto-fixes unambiguous items and commits directly, discusses judgment calls with the user, and logs out-of-scope feedback as new GitHub issues. Can target a single PR by number or process all open PRs authored by the user. Resolution-aware: reads review-thread state (isResolved/isOutdated) and sticky review verdicts (undismissed CHANGES_REQUESTED) at intake, so already-addressed feedback on long multi-round PRs is not re-surfaced.
Trigger this skill whenever the user says things like "check my PR feedback", "address my review comments", "what's blocking my PR", "process my PR reviews", "handle PR feedback", "anything blocking merge", "fix my CI failures", "address PR #42", "check PR 15", or any variation of wanting to act on GitHub pull request review comments or failing checks. If the user is in a repo and mentions PRs, reviews, or CI status in any action-oriented way, this skill should activate.