Resolves a tracker issue end to end: fetches it, diagnoses only when the issue does not name the code, fixes test-first, and self-reviews against the acceptance criteria, leaving a verified uncommitted change. Not for filing; use file-ticket. Not for committing or PRs; use ship.
Ships in fix-issue. 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.
Resolve one tracker issue: diagnose only as much as the issue leaves unknown, fix test-first, verify against the issue's own acceptance criteria. The skill ends with an uncommitted working tree and a completion report; committing, pushing, and PRs belong to ship.
See diagnosis and RCA for why-chain construction, root-cause documentation, and handling maintainer constraints.
Arguments are passed in the user invocation message. Interpret them structurally from the prompt:
/skill:fix-issue [--repo owner/repo] <issue-number|issue-url>
/skill:fix-issue 42/skill:fix-issue #105/skill:fix-issue https://github.com/PanStudio/pancode/issues/271/skill:fix-issue --repo acme/widgets 88<issue-number|issue-url>: The GitHub issue identifier to fix.
42#42https://github.com/<owner>/<repo>/issues/<number>--repo <owner/repo>: Target GitHub repository.
--repo overrides the default.gh repo view --json nameWithOwner -q .nameWithOwner or Git remote tracking).^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$.gh.gh issue view <id> --repo <owner/repo>
If that fails (older gh, network, GraphQL quirks), fall back to:
gh api repos/<owner>/<repo>/issues/<id>
gh api repos/<owner>/<repo>/issues/<id>/comments
Never invent issue content: if both paths fail and the user did not paste the issue body, report the failure and stop.Read the issue's evidence first:
file:line, an exact stack trace, or commit SHA), verify the code directly by reading it and skip broad exploration.WHY <symptom>? -> because <cause> (evidence: file.ts:123)
ROOT CAUSE: <exact code to change> (evidence: file.ts:789)
ship does not automatically post comments or modify labels on issues. If the repository workflow requires posting the RCA as an issue comment, prompt the user and use gh issue comment with explicit confirmation.file-ticket, never bundled silently into this fix.git diff) against the issue's acceptance criteria, validating each criterion with real evidence.Leave the working tree uncommitted. Deliver a structured report:
Handoff: Inform the user that the change is verified and uncommitted, ready for ship.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
/fix-issue:fix-issuefrom fix-issue
npx claudepluginhub panstudio/pancode --plugin fix-issue