Command Palette

Search for a command to run...

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

gh-pr-resolve

БесплатноБез исполняемых скриптовНе проверен

Resolve/close a specific PR review thread by 6-char prefix ("resolve thread a3f2c1"). Not Jira or whole-PR close.

yotamleo-orgот yotamleo-org★ 15 звёзд на GitHub

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

gh-pr-resolve

The user wants to resolve a specific review thread on a PR.

Extract the prefix from the user's message, and a reason (fixed <sha>, followup <KEY-n> or rejected <why>). Then run this block with the prefix and the reason in place of "$1" and "$2". If the prefix is not in the cache, run the gh-pr-comments skill for that PR first.

Variables the block reads and does not set: owner and name (set by the eval line); pr_n (ask in plain text for the PR number if it is not known, and put pr_n=<number> as the block's first line).

eval "$(node <himmel>/plugins/himmel-gh/lib/repo-context-cli.mjs)"
himmel-run gh --summary-regex 'resolved: ok' -- node "<himmel>/plugins/himmel-gh/lib/thread-resolve-action-cli.mjs" --owner "$owner" --repo "$name" --number "$pr_n" --prefix "$1" --reason "$2"

Positionals: "$1" is the thread prefix and "$2" is the reason, one argument. Replace the whole token, its quotes included, with the value in single quotes, writing a ' inside it as '\''; drop a whole ${n:+…} group when its value is absent; for a long body, use the command's --body-file or --desc-file.

<himmel> is the absolute path of the himmel primary checkout: the value of printenv HIMMEL_REPO, or, when that prints nothing, the parent folder of git rev-parse --path-format=absolute --git-common-dir. Type the path itself into the command, in double quotes. If the first file the block names under <himmel> does not exist there, stop and say HIMMEL_REPO must name the himmel checkout.

himmel-run only shortens the output; when it is not on PATH, run the part after -- alone.

The rules around the block (what to ask for, what the output means) are in plugins/himmel-gh/commands/gh-pr-resolve.md: read it before running the block.

Output only the runner's one-line summary. If the prefix resolver fails, surface stderr and suggest the gh-pr-comments skill to refresh the cache.

Установить gh-pr-resolve в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл gh-pr-resolve?

Resolve/close a specific PR review thread by 6-char prefix ("resolve thread a3f2c1"). Not Jira or whole-PR close.

Как установить скилл gh-pr-resolve?

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

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

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

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

Сравнить gh-pr-resolve с