/git-plugin:git-issue-scopingfrom git-plugin
Reads a GitHub issue's full comment thread and re-verifies cited evidence at HEAD before scoping a PR, plan, or filing a new issue. Avoids design mismatches from compressed summaries.
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.
Read when SKILL.md points to them.
| Use this skill when... | Use the alternative when... |
|---|---|
| Scoping a PR, plan, or prototype from one issue's full comment thread | Use git-triage to sweep a whole backlog for close/merge recommendations |
| Re-verifying an issue's cited lines and evidence at HEAD before acting on it | Use workflow-orchestration-plugin:workflow-verify-before-filing to verify a backlog of bug claims before filing upstream |
| Searching your own tracker before filing, or reading its history before reversing a decision | Use github-issue-writing to draft the issue body and title once filing is decided |
| Deferring to a design the maintainer converged on in an upstream thread | Use upstream-pr-contribution for CONTRIBUTING.md and PR-template gates when opening the PR |
Invoke before building a PR, plan, or prototype off a GitHub issue — including issues in repos you own, and before filing or reversing one in your own tracker.
Before building a PR (or even an approach) off a GitHub issue, read every comment in the thread — not a fetched summary, not just the body. Issues that look like simple feature requests are often where the maintainer has already converged on a specific design with other experts. A summary compresses exactly the part that matters: the decided mechanism, the agreed scope, and the work someone has already volunteered to do.
Applies to repos you own too (§ Your own tracker): the deference part is about upstream, but the load-bearing part is that a tracker records decisions past-you made and no longer remembers.
WebFetch (and any "summarize this issue" step) returns a compressed view. It
faithfully captures the issue body and headline asks, but silently drops the
back-and-forth in the comments where the real decisions live. You then design
against the body's framing, build a prototype, and discover — only if you go
back and read the comments — that:
Incident: jnv #114, where a WebFetch summary hid a 33-comment design thread (REFERENCE.md).
When an issue is the basis for a contribution, read the comments first:
gh issue view <n> --repo <owner>/<repo> --json title,body,author,comments \
--jq '.body, (.comments[] | "--- " + .author.login + " ---\n" + .body)'
Specifically extract, before writing any code:
gh pr view → merged? released?) before depending on them.If you only have a summary and a gap has passed, re-read the live thread before acting — the discussion may have moved.
Point 1 of The rule asks whether the maintainer chose an approach. The trap is that an
automated triage comment looks like that choice. A needs-decision routine
posts options A/B/C, adds its own "I'd default to B", and closes with "reply
here and the next run will implement the chosen option". Nothing has been
decided. The recommendation is the bot's, and the reply it asks for is what would
make it a decision.
Read authorship and look for the reply, in the same call that fetches the thread:
gh issue view <n> --repo <owner>/<repo> --json comments --jq '.comments | length, (.[] | .author.login + " | " + (.body[0:80]))'
A single comment that is itself the request for a decision means the decision is open. Implement nothing that depends on it; ask the human, or say in the PR that you picked an option and which one.
Incident: two PRs shipped a bot's default as the maintainer's choice (REFERENCE.md).
Two consequences worth separating:
Closes #N on an undecided issue auto-closes the decision when the PR
merges. Use Refs #N until the option is chosen.No maintainer to defer to is exactly why this gets skipped. Two failures:
gh issue list -R <o>/<r> --state all --search "<kw>" --json number,title,stateIncident: a duplicate filed and a deferred migration merged, ten minutes apart (REFERENCE.md).
The tell: calling something "the obvious fix" on a subsystem broken long enough for someone to have written about it — long-broken means investigated. When reversing a decision, say so on the PR and issue, quoting the old reasoning, so the next reader sees a decision changed rather than forgotten.
Distinct from the other sections, which are about discussion you failed to
read. Here you read everything, and the issue is simply out of date: it
cites file.ts:230 and asserts what is there, and between filing and today
some unrelated PR fixed it. A well-written issue makes this worse — precise
line numbers and quoted snippets read as verified fact, and the better the
write-up, the less anyone re-checks it.
Incident: thelma #1055, whose central claim a later PR had already fixed (REFERENCE.md).
diagnose-at-the-failure-point.md.gh issue view <n> --json createdAt against
git log -S'<symbol>' -- <path> finds the PR that moved it. An issue older
than a few weeks on an active file should be assumed stale until checked.WebFetch/research step stand in for the primary source.REFERENCE.md — the incident behind each rule in this skill.
~/.claude/rules/verify-upstream-before-patching.md — same instinct (check
the authoritative source before acting) for vendored code; this is the
issue-thread analogue.
agent-patterns-plugin:harness-tool-errors (WebFetch) — a summary is lossy;
for a decision that gates real work, go to the full source, not the fetched
digest.
git-plugin:git-issue — the consumer: the end-to-end issue→PR workflow that
scopes from the issue thread this skill teaches you to read in full.
The cost asymmetry is stark: reading the thread is one gh issue view and a few
minutes; skipping it costs a misaligned prototype, a PR that signals you didn't
read the discussion, and a reframe-or-close under the maintainer's eye. The full
thread is the spec; the summary is a lossy proxy for it.
What SKILL.md sets; muted values are Claude Code's defaults
52 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./git-api-prGitHub API PR creation without local git. Use when submitting file changes as a PR without local commits — quick fixes, typos, config updates, or bypassing local git state./git-branch-namingBranch names: type prefix (feat/, fix/, chore/), issue number, kebab-case. Use when picking a name for a new branch or setting a repo's branch-naming convention./git-branch-pr-workflowBranch management and PR workflows — git switch/restore, GitHub MCP. Use when creating branches, opening PRs, or working with feature branches.npx claudepluginhub laurigates/claude-plugins --plugin git-pluginOther plugins' skills for the same job