Command Palette

Search for a command to run...

Назад к скиллам
скилл № 88120

bip-issue-next

Draft the next GitHub issue — from a PR follow-up, a focus file, or the current conversation — review it with /bip-issue-check, and submit

БесплатноБез исполняемых скриптов
matsenот matsen★ 35 звёзд на GitHub

Установить bip-issue-next в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

/bip-issue-next

Draft an issue, quality-check it, and submit — all in one command. The "next" issue may come from any source: a PR decision, a deferral filed by the issue-lead, an idea raised in conversation, or a topic given inline. There is no requirement that a PR exist.

Usage

/bip-issue-next <PR-URL-or-number>
/bip-issue-next <PR-URL-or-number> --focus-file <path>
/bip-issue-next --focus-file <path>   # no PR; focus comes from file
/bip-issue-next                       # infer from current conversation

The --focus-file form lets a caller (the issue-lead filing a specific deferral, or the user piping in a pre-written description) name the next-action directly, skipping candidate collection and the "ask if ambiguous" step. The file path points to a plain-text file whose contents are the focus description (one-line or multi-line both OK). A file is used instead of a CLI string to avoid shell-quoting hazards when the description contains quotes, backticks, or parentheses.

Workflow

Step 1: Parse arguments and identify the source

Parse $ARGUMENTS as whitespace-separated tokens:

  • Extract a PR reference if present (first token that looks like a URL or a #?NNN pattern). A PR is optional.
  • Extract --focus-file <path> if present and read the file contents as the focus description. Strip leading/trailing whitespace but preserve interior content verbatim. If the file is missing or empty, stop and report the error — do not fall back to candidate-picking.

Duplicate-detection is the caller's responsibility — if called twice with the same focus, two issues will be filed. The issue-lead guards against this by checking the PR for its terminal comment (the **Category**: completed line, agents/issue-lead.md Step 4), so the terminal ceremony runs at most once per PR.

Then resolve the source, in this order:

  • If a PR URL or number was given, use it (gh pr view <arg> --json number,title,body,comments,reviews,baseRefName,headRefName)
  • Else if --focus-file was given without a PR, the focus is the source — no PR resolution needed
  • Else scan conversation history: the source may be a recently discussed PR, an idea raised in conversation, or a stated topic. Use whichever is most recent and most relevant
  • If still unclear, ask the user what the next issue should be about

The repo for the new issue is whichever is most natural: the PR's repo if a PR is in play, otherwise the current working directory's repo (inferred via gh repo view --json nameWithOwner).

Step 2: Determine the next-action

If --focus-file was provided, use the file's contents as the next-action directly. Skip candidate collection. If a PR is also in play, read its body, comments, and review threads only to enrich the motivation (quantitative results, linked issues) — not to override the focus.

Else if a PR is in play, read the PR body, comments, and review threads and look for:

  • Explicit next-steps: "next issue should …", "follow-up:", "TODO for next PR"
  • Decisions with implications: a hypothesis confirmed/falsified, an approach chosen over alternatives, a scope item deferred
  • Reviewer requests that were marked out-of-scope for this PR
  • Unfinished checkboxes in the PR's test plan or task list

Collect these into a bullet list of candidate next-actions. If there are multiple independent next-actions, pick the single most impactful one (ask the user if it's ambiguous).

Else (no PR, no focus-file), use the current conversation as the source. The next-action is whatever the user has been discussing or asked you to file. Skip candidate collection — there is one focus, and it is the topic at hand. Ask the user only if the topic is genuinely ambiguous.

Also gather what's relevant from whichever source is in play:

  • The EPIC or parent issue if referenced (e.g., "EPIC: #285")
  • Related issues referenced in the PR or conversation
  • Key files, data paths, and function names relevant to the next step

Step 3: Gather supporting context

Use the repo to fill in concrete details:

  1. Code context: Read key source files mentioned in the PR to understand current state after the PR merges
  2. Experiment results: If the PR includes benchmark numbers or experiment outcomes, note them as motivation / baseline
  3. Existing issues: Run gh issue list -R <repo> --limit 20 --json number,title to check for duplicates or related open issues
  4. Project docs: Check for CONSTITUTION.md, DESIGN.md, or experiments/AGENTS.md/CLAUDE.md in the repo for conventions

Step 4: Draft the issue file

Write ISSUE-<slug>.md in the current working directory. The slug should be a short kebab-case summary (e.g., ISSUE-quartet-timing-instrumentation.md).

The issue MUST follow matsengrp standards:

  • Title (H1): concise, imperative mood (e.g., "Add timing instrumentation for quartet NNI")
  • 🤖 robot emoji as the first character of the body (after the H1 title)
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

  1. 01Agent
  2. 02Bash
  3. 03Read
  4. 04Edit
  5. 05Write
  6. 06Glob
  7. 07Grep
  8. 08Skill

FAQ

Что делает скилл bip-issue-next?

Draft the next GitHub issue — from a PR follow-up, a focus file, or the current conversation — review it with /bip-issue-check, and submit

Как установить скилл bip-issue-next?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл bip-issue-next запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить bip-issue-next с