git-issue
БесплатноЗапускает вложенные скриптыНе проверенGitHub issue to PR end-to-end — branch, TDD implementation, PR — one issue or several in parallel. Use when asked to work on an issue, fix issue #N, or…
от laurigates★ 61 звезда на GitHubОб этом скилле
When to Use This Skill
| Use this skill when... | Use X instead when... |
|---|---|
| Implementing a fix for one or more open issues with TDD and PR creation | Performing administrative ops (transfer, pin, lock, bulk edit) on issues (/git:issue-manage) |
| Picking issues from the backlog to work on, optionally in parallel | Periodically grooming open issues and PRs to close stale or completed ones (/git:triage) |
| Going from an issue number to a merged-ready PR end-to-end | Hierarchical sub-issue planning and tracking (/git:issue-hierarchy) |
Context
- Git remotes: !
git remote -v - Current branch: !
git branch --show-current - Working tree clean: !
git status --porcelain=v2
Open issues, open PRs, and available labels are fetched during execution (requires a configured git remote).
Parameters
Parse these parameters from the command:
| Parameter | Description |
|---|---|
<issues...> |
One or more issues as bare numbers, #N, or full GitHub issue URLs (https://github.com/<owner>/<repo>/issues/<N>), in any space- or comma-separated mix (see Step 0) |
--auto |
Claude selects and prioritizes issues |
--filter <label> |
Filter issues by label |
--limit <n> |
Maximum number of issues to process |
--parallel |
Process parallel groups simultaneously using Task agents |
--labels <label1,label2> |
Apply labels to created PRs (defaults to issue's labels) |
Your Task
Process GitHub issues using a TDD workflow, cutting each issue's branch from origin/main — except verification-only issues, which are verified and evidenced first (Step 2, item 4).
Mode Detection
Step 0: Normalize issue references
Before counting tokens or detecting mode, normalize every non-flag token in
$ARGUMENTS into a (number, repo) pair. Accept these forms, in any space- or
comma-separated mix:
| Input form | Extract |
|---|---|
123 |
number 123, repo = current remote |
#123 |
number 123, repo = current remote |
https://github.com/<owner>/<repo>/issues/123 |
number 123, repo = <owner>/<repo> |
.../issues/123#issuecomment-... |
number 123 (drop the #... fragment), repo = <owner>/<repo> |
Rules:
- Split on whitespace and commas; strip a leading
#; strip a URL#...fragment after the number. - A token is an issue ref only if, after stripping, it is all digits or
matches the
/issues/<digits>URL shape (require trailing digits — a/pull/<N>,/discussions/<N>, or bare/issueslist URL is not a ref). Leave--flagtokens and their values (e.g.--filter bug,enhancement) untouched — never split a flag's comma-separated value into refs. - For a URL whose
<owner>/<repo>differs from the current remote (Contextgit remote -v), record it as cross-repo and carry-R <owner>/<repo>on everyghcall for that issue (gh issue view <N> -R …,gh api repos/<owner>/<repo>/…,gh pr edit … -R …). PR creation for a cross-repo issue needs a branch in that repo — if the current checkout is not that repo, surface it withAskUserQuestionrather than pushing to the wrong remote. - After normalization, dedupe and count refs: 0 → No-Arguments interactive; 1 → Single; ≥2 → Multiple.
With no issue refs, prompt via AskUserQuestion; with two or more, analyse and group them before processing; with --auto, run the already-implemented check against merged work, then score, recommend, and wait for approval. See references/selection-modes.md for the question options and each mode's steps.
Single Issue (/git:issue 123)
Process directly with standard TDD workflow.
Issue Analysis Engine
Before processing multiple issues, run the blocker check, conflict detection, confidence scoring, and parallel-work detection described in REFERENCE.md. Never silently work on a blocked issue, and surface a sub-70% confidence score to the user rather than guessing.
Execution Workflow
Step 1: Prepare Working Directory
- Ensure clean working directory (commit or stash if needed)
- Fetch the remote:
git fetch origin— never rely on localmainbeing current
Step 2: For Each Issue (or Parallel Group)
Standard Flow (Sequential or Single Issue)
- Fetch issue details AND the comment thread:
gh issue view $N --json title,body,state,assignees,labels,commentsThecommentsfield is not optional — the body is the opening position, not the decision. Scope fromgit-plugin:git-issue-scoping, which carries the full protocol (re-verify cited evidence at HEAD; a later comment may have narrowed, reversed, or already resolved the ask). - Capture issue labels for later PR creation
- Identify requirements and a
Установить git-issue в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Bash(git status *)Bash(git diff *)Bash(git log *)Bash(git add *)Bash(git commit *)Bash(git push *)Bash(git switch *)Bash(git fetch *)Bash(git pull *)Bash(git stash *)Bash(gh issue *)Bash(gh pr *)Bash(gh repo *)Bash(gh label *)Bash(gh api *)Bash(gh workflow *)Bash(gh run *)Bash(pre-commit *)ReadEditWriteGrepGlobTodoWriteAskUserQuestionTaskmcp__github__create_pull_requestmcp__github__issue_readmcp__github__list_issuesВложенные файлы
FAQ
Что делает скилл git-issue?
GitHub issue to PR end-to-end — branch, TDD implementation, PR — one issue or several in parallel. Use when asked to work on an issue, fix issue #N, or batch-process several.
Как установить скилл git-issue?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл git-issue запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic