/github:cmd-fix-internal-requestsfrom github
Fix all open GitHub issues labeled `internal request` in isolated worktrees, then open PRs
Ships in github. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Fix all open GitHub issues labeled internal request in isolated worktrees, then open PRs.
REPO=$(gh repo view --json nameWithOwner -q .nameWithOwner)
REPO_ROOT=$(git rev-parse --show-toplevel)
BASE_BRANCH=$(git symbolic-ref refs/remotes/origin/HEAD | sed 's@^refs/remotes/origin/@@')
mkdir -p .trees
gh label create "internal request fixed" --color "0e8a16" --force 2>/dev/null
gh label create "unable to resolve" --color "e4e669" --force 2>/dev/null
Fetch open issues labeled internal request via GitHub MCP using $REPO. Post-fetch, exclude any with unable to resolve label or that already have an open PR targeting fix/issue-{number}.
If none remain, report "No open internal request issues" and stop.
Print summary table: number, title, labels.
For each issue, sequentially:
git worktree remove .trees/issue-{number} 2>/dev/null; git branch -D fix/issue-{number} 2>/dev/null
git worktree add .trees/issue-{number} -b fix/issue-{number} "$BASE_BRANCH"
Work only inside .trees/issue-{number}/:
cd .trees/issue-{number}
git add -A && git commit -m "fix: {description} (fixes #{number})"
git push -u origin fix/issue-{number}
gh pr create --base "$BASE_BRANCH" --head fix/issue-{number} \
--title "fix: {description}" \
--label "internal request fixed" \
--body $'## Summary\n- {bullets}\n\nFixes #{number}'
cd "$REPO_ROOT"
git worktree remove .trees/issue-{number}
If the issue can't be fixed (ambiguous scope, missing info, design decisions needed):
gh issue edit {number} --add-label "unable to resolve"gh issue comment {number} --body "Automated fix not possible: {reason}"Repo: $REPO
Internal Request Issues Processed:
#{n} — {title} → PR #{pr} (fix/issue-{n})
#{m} — {title} → Skipped: {reason}
Created: X | Skipped: Y | Failed: Z
fixes #{number} in commit message for auto-close on mergeWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub gsmlg-dev/code-agent --plugin githubOther plugins' skills for the same job
6 skills in this plugin
/cmd-fix-pr-reviewFix review comments on current PR