Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

issue-to-pr

БесплатноЗапускает вложенные скриптыНе проверен

Take one or more GitHub issues and drive each to a review-ready pull request, holding one belief throughout: an issue is a hypothesis, not a spec. The…

JayFareiот JayFarei★ 107 звёзд на GitHub

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

issue-to-pr

Distilled from the issue-#85 run. The load-bearing belief: an issue is a hypothesis, not a spec. Issues drift from the code, cite functions that no longer exist, and assert causes that aren't the real cause. So the pipeline verifies before it trusts, and runs two independent adversarial passes before committing to a plan — because on #85 both the codex pass and the self red-team independently caught the same real defects that a single reviewer missed.

Leading words (leitwörter)

A handful of leading words carry this skill. Use them by name — in your plan, your commits, your PR body, and your own reasoning. Each compresses a whole behavior into one token you can repeat to keep yourself honest, and each is borrowed from a discipline whose instincts you want to borrow with it. They recur on purpose.

  • An issue is a hypothesis (science) — never trust the issue's claims; reproduce the cause and check every assertion against the current tree before you believe it. When you catch yourself about to trust a line number, say the words and go verify.
  • Landmine (the refuted claim) — a cited file:line / function / API that does not exist or is wrong. Name landmines out loud and route around them; never build on a landmine (#85 cited two functions that did not exist).
  • Blast radius (incident response) — everything a fix could disturb: callers, tests, frozen opentraces.*.v1 contracts, the schema, docs. Map the blast radius before you touch code.
  • Red before green (TDD) — the new test must FAIL on the buggy code before it passes on the fix. A test that has never been red is theater, not evidence.
  • Acceptance is an otbox journey (opentraces' own UAT substrate) — unit and subprocess tests prove the mechanism; a user- or agent-observable change is not accepted until an otbox journey drives the real CLI/agent in an isolated box and asserts on real state (the way #85 shipped with 8 journeys). Unit-test-only is not acceptance. If a fix is genuinely not user/agent-observable, say so and justify it — never skip the journey silently.
  • Two adversaries, then commit (red-teaming) — the self/ethos pass AND codex each try to BREAK the plan; when two independent adversaries converge on the same defect, believe it. Adversarial before commit, not after.
  • Honesty, not theater (the house rule) — report residue, partial failures as errors, unmet acceptance criteria, and invalid issues. A green checkmark that proves nothing is theater.
  • The simplest change that closes the issue (pragmatic minimalism) — extend what exists; resist the speculative refactor riding along.
  • The human merges (the gate) — assume forward and surface every decision in the PR, not in a question; but never merge — the merge is theirs.

Anti-patterns (the failure modes these words name)

State the leitwort, then catch yourself in its opposite:

  • Building on a landmine — taking the issue's file:line / function name as truth, so the fix targets something that doesn't exist or the wrong place. → an issue is a hypothesis.
  • Green theater — a test that passes on the unfixed code, so it proves nothing. → red before green.
  • Silent no-op — a reverser/handler that returns ok without doing (or undoing) anything; a skip with no reason; a partial failure dressed as success. → honesty, not theater.
  • One-reviewer confidence — shipping a plan a single pass approved. → two adversaries, then commit.
  • The interview spiral — stalling on questions the PR could answer. → assume forward; the human merges.
  • Scope bloom — a refactor the issue never asked for. → the simplest change that closes the issue.
  • Unit-test-only acceptance — proving the mechanism in a unit test but never showing a user or agent experience the change end-to-end. → acceptance is an otbox journey.

This skill is the main-loop spine: it owns judgment, the worktree/PR lifecycle, the codex MCP calls, the human gate, and multi-issue orchestration. It delegates the bounded, read-only parallel fan-out to the Workflow tool (Stage 1), and expresses the implementation as a forged /goal (Stage 4) whose verify loop runs the otbox acceptance journey — so the implement↔verify and otbox-verify loops are one. Implementation is sequential in one worktree — a deliberate v1 choice: parallel file-editing across worktrees is conflict-prone and rarely pays off for a typical issue, so parallelism is confined to the phases where it is free and safe (investigation + multi-lens review).

Effort policy

Reasoning depth is a lever — spend it where judgment matters. Max for planning and adversarial testing; xhigh for normal development.

Phase Effort Why
Plan (Stage 2) · both adversarial gates (3a self/ethos, 3b + 6 codex) · final synthesis max judgment and adversarial reasoning is where depth pays off — *two adversaries, then comm
Полный SKILL.md на GitHub

Установить issue-to-pr в Claude Code и Claude Desktop

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

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

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

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

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

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

issue-investigate.workflow.jsredteam.workflow.jsreferences/ethos-checklist.mdreferences/stage-contracts.md

FAQ

Что делает скилл issue-to-pr?

Take one or more GitHub issues and drive each to a review-ready pull request, holding one belief throughout: an issue is a hypothesis, not a spec. The pipeline VERIFIES BEFORE IT TRUSTS and runs TWO ADVERSARIES before it commits: multi-agent investigation of the real cause (flagging any "landmine" — a cited function or file:line that does not exist) and the blast radius, a plan whose test must go RED BEFORE GREEN, two adversarial gates on that plan (a self/ethos checklist + a pure codex adversarial pass), implementation expressed as a forged `/goal` (via goal-forge) whose verify loop runs the otbox acceptance journey, a green suite + docs sync, a PR that `Closes #<n>`, and a FINAL codex adversarial review of the diff. Honesty, not theater: it reports unmet acceptance criteria and invalid issues rather than faking a fix. The human merges. Everything happens in a per-issue git worktree; multiple issues each get their own worktree + branch + PR. Use when the user says "issue-to-pr", "solve issue", "fix issue #N", "take issue N to a PR", "investigate and fix #N", or hands over one or more issue numbers/URLs. For a plan-only pass use /new-plan; for docs sync use /docs-update; this is the full issue→PR pipeline.

Как установить скилл issue-to-pr?

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

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

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

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

Сравнить issue-to-pr с