laurigates/claude-plugins/git-issue-manage

Claude Code and agent skill by laurigates/claude-plugins

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Transfer, pin, lock, or open a dev branch from a GitHub issue. Use when moving an issue between repos, pinning or locking it, or bulk-editing custom fields.

Install

npx vskill@latest install laurigates/claude-plugins/git-issue-manage

SKILL.md

The same SKILL.md was published earlier as laurigates/claude-plugins/git-issue-manage.

When to Use This Skill

Use this skill when...Use the alternative when...
Transferring, pinning, locking, or bulk-editing GitHub issuesUse github-issue-writing to compose a single issue body well
Creating a development branch from an issue (gh issue develop)Use git-branch-pr-workflow for general branch + PR design
Updating custom issue fields (priority, severity, custom selects) in bulkUse github-labels for label-only operations on issues and PRs
Performing bulk operations across many issue numbers in one commandUse git-triage to evaluate issues and PRs by completion evidence and CI state

Context

  • Git remotes: !git remote -v

Open issues are fetched during execution (requires a configured git remote).

Parameters

Parse $ARGUMENTS[0] as the operation, remaining args as issue numbers and options.

Issue references accept bare numbers, #N, or full GitHub issue URLs (https://github.com/<owner>/<repo>/issues/<N>): strip a leading #, and for a URL extract the trailing /issues/<N> number (require trailing digits — a /pull/<N> is not an issue). When a URL's <owner>/<repo> differs from the current remote, pass -R <owner>/<repo> to the gh calls for that issue.

OperationSyntaxDescription
transfertransfer <N> <target-repo>Transfer issue to another repository
pinpin <N...>Pin issues to repository (max 3)
unpinunpin <N...>Unpin issues
locklock <N...> [--reason <reason>]Lock issue discussions
unlockunlock <N...>Unlock issue discussions
developdevelop <N> [--branch <name>] [--checkout]Create branch from issue
bulkbulk <sub-op> <N...> [options]Bulk operations on multiple issues
fieldsfields <N> [--set <field>=<value>] [--list]List or set issue field values (org or personal-account fields)

Lock reasons: off-topic, too heated, resolved, spam

Bulk sub-operations: label, assign, close, reopen

When to Use

Use this skill when...Use X instead when...
Transferring issues between reposCreating new issues (github-issue-writing)
Pinning/unpinning important issuesImplementing issue fixes (git:issue)
Locking resolved discussionsManaging sub-issues/deps (git:issue-hierarchy)
Creating dev branches from issuesSearching for issues (github-issue-search)
Bulk labeling/assigning/closingAuto-detecting related issues (github-issue-autodetect)
Setting custom field values

Execution

Execute the requested issue management operation.

Step 1: Parse Operation and Validate

Parse the operation from $ARGUMENTS[0]. Validate that specified issue numbers exist:

bash
gh issue view $N --json number,title,state 2>/dev/null

If any issue is not found, report it and skip that issue.

Step 2: Execute Operation
Transfer

Transfer an issue to another repository within the same organization or owner.

bash
gh issue transfer $N $TARGET_REPO

Prerequisites:

  • Target repo must exist and you must have write access
  • Both repos must be owned by the same user/org (or target accepts transfers)

Report the new issue URL after transfer.

Pin / Unpin

Pin important issues to the top of the issues list (maximum 3 pinned per repo).

bash
# Pin
gh issue pin $N
# Unpin
gh issue unpin $N

If pinning would exceed the 3-pin limit, report which issues are currently pinned and ask which to unpin.

Lock / Unlock

Lock issue threads to prevent further comments.

bash
# Lock with reason
gh issue lock $N --reason resolved
# Lock without reason
gh issue lock $N
# Unlock
gh issue unlock $N
ReasonWhen to use
resolvedIssue is fixed, no further discussion needed
off-topicDiscussion has drifted from the issue
too heatedDiscussion has become unproductive
spamIssue thread contains spam
Develop

Create a development branch linked to the issue.

bash
# Create branch and switch to it locally
gh issue develop $N --checkout
# Create branch with custom name
gh issue develop $N --name $BRANCH_NAME --checkout
# Create branch without checkout
gh issue develop $N

The branch name defaults to {issue-number}-{issue-title-slug}. The branch is automatically linked to the issue on GitHub.

Bulk Operations

Apply the same operation to multiple issues at once.

Bulk label:

bash
# Pre-check: create any missing labels before applying
for LABEL in $(echo "$LABELS" | tr ',' '\n'); do
if ! gh label list --search "$LABEL" --json name | jq -e ".[] | select(.name==\"$LABEL\")" >/dev/null 2>&1; then
echo "Label '$LABEL' not found — skipping (create it first with: gh label create \"$LABEL\")"
LABELS=$(echo "$LABELS" | sed "s/,$LABEL//;s/$LABEL,//;s/^$LABEL$//")
fi
done
for N in $ISSUE_NUMBERS; do
[ -n "$LABELS" ] && gh issue edit $N --add-label "$LABELS"
done

Bulk assign:

bash
for N in $ISSUE_NUMBERS; do
gh issue edit $N --add-assignee "$USERS"
done

Bulk close:

bash
for N in $ISSUE_NUMBERS; do
gh issue close $N
done

Bulk reopen:

bash
for N in $ISSUE_NUMBERS; do
gh issue reopen $N
done

Report success/failure count after bulk operations.

Custom Fields

Manage issue fields. Fields are defined on the repository owner: an organization (orgs/$OWNER/issue-fields) or, for a personal account, the authenticated user (user/issue-fields; there is no users/{name} route). Endpoints, value formats, and limits: REFERENCE.md.

Resolve the owner's field list:

bash
gh api repos/$OWNER/$REPO --jq '.owner.type + " " + .owner.login'

List with gh api orgs/$OWNER/issue-fields when the type is Organization, or gh api user/issue-fields when it is User and the owner is the authenticated user. Show id, name, data_type:

bash
gh api orgs/$OWNER/issue-fields --jq '.[] | "\(.id): \(.name) (\(.data_type))"'

`--list` — get field values for an issue:

bash
gh api repos/$OWNER/$REPO/issues/$N/issue-field-values \
--jq '.[] | "\(.issue_field_name): \(.single_select_option.name // .value)"'

`--set <field>=<value>` — set a value (write path unverified):

  1. Look up the integer field id by name: gh api orgs/$OWNER/issue-fields | jq --arg name "$FIELD_NAME" '.[] | select(.name == $name) | .id'.
  2. Write the body {"issue_field_values":[{"field_id":<id>,"value":<value>}]} to a file with the Write tool. A single-select value is the option name; a number is a JSON number; a date is ISO 8601.
  3. Send it: gh api repos/$OWNER/$REPO/issues/$N/issue-field-values -X POST --input <file> (POST adds; PUT replaces all values).
  4. Re-read the values with the --list command and report what the issue now holds. Report the write as unconfirmed if the re-read does not show the value; the write contract comes from the API schema and has not been exercised.

If the owner has no fields defined, the list is empty: report "No issue fields are defined for $OWNER."

Step 3: Report Results
OperationReport
transferNew issue URL in target repo
pin/unpinConfirmation, current pinned issues list
lock/unlockConfirmation with lock reason
developBranch name and URL, checkout status
bulkSuccess/failure count per issue
fieldsField values table or confirmation of update

Error Handling

ErrorCauseAction
unknown command "develop"Older gh CLI versionReport: "gh issue develop requires gh CLI 2.30+. Update with: gh upgrade"
403 on transferNo write access to targetReport permission requirement
422 on pinAlready 3 pinned issuesList current pins, ask which to replace
404 on orgs/{org}/issue-fieldsOwner is a user account, or no access to the orgRetry with user/issue-fields for the authenticated user's own repos; otherwise report the access gap
Empty list from issue-fieldsOwner has defined no fieldsReport: "No issue fields are defined for this owner"

Agentic Optimizations

ContextCommand
Transfer issuegh issue transfer N target-repo
Pin issuegh issue pin N
Lock issuegh issue lock N --reason resolved
Create dev branchgh issue develop N --checkout
Bulk closeLoop: gh issue close N for each N
List issue fields`gh api orgs/{org}/issue-fields --jq '.[] \{id, name, data_type}' (personal: user/issue-fields`)
Get field valuesgh api repos/{o}/{r}/issues/N/issue-field-values

See Also

  • git:issue-hierarchy skill for sub-issues and dependencies
  • github-issue-writing skill for creating new issues
  • git:issue skill for implementing/processing issues
  • gh-cli-agentic skill for raw API command patterns
  • REFERENCE.md for issue-field endpoints, value formats, and limits

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
28
Repository forks
4
7-day trend score
17

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 19 Mar 2026, 8 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Grok Build (Cursor)
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/laurigates/claude-plugins/git-issue-manage/badge)](https://verified-skill.com/skills/laurigates/claude-plugins/git-issue-manage)

Something wrong with this skill or its page? Tell us.