Command Palette

Search for a command to run...

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

gh-pr-create

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

Open/create a GitHub PR ("open a PR", "create a pull request"). Not GitHub/Jira issue creation.

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

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

gh-pr-create

The user wants to open a new GitHub PR.

Before running the block:

  1. Confirm the title and body with the user (PR creation is public/team-visible).
  2. Build a --title "..." --body "..." invocation — do NOT call without those flags (the runner will hang on interactive prompts).
  3. Run the block with "$@" replaced by the constructed args: --title "..." --body "..." [--base BRANCH] [--head BRANCH].
ARGV_FILE=$(mktemp -t guard-argv.XXXXXX) || { echo "gh-pr-create: mktemp failed" >&2; exit 2; }
trap 'rm -f "$ARGV_FILE"' EXIT
GUARD_OUT=$(bash scripts/guardrails/guard-gh.sh pr-create "$@" 2>&1 >"$ARGV_FILE")
GUARD_RC=$?
if [ "$GUARD_RC" -eq 2 ]; then
    printf '%s\n' "$GUARD_OUT" >&2
    exit 2
fi
if [ "$GUARD_RC" -eq 1 ]; then
    printf '%s\n' "$GUARD_OUT" >&2
fi
if ! mapfile -t CLEAN_ARGS < "$ARGV_FILE"; then
    echo "gh-pr-create: failed to read cleaned argv from $ARGV_FILE" >&2
    exit 2
fi
himmel-run gh -- gh pr create "${CLEAN_ARGS[@]+"${CLEAN_ARGS[@]}"}"

Positionals: "$@" is the whole argument list: each flag and each value is its own word. 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.

Run this from the himmel repository root; if scripts/guardrails/guard-gh.sh is not there, stop.

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-create.md: read it before running the block.

Output only the runner's one-line summary (typically the PR URL).

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

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

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

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

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

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

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

FAQ

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

Open/create a GitHub PR ("open a PR", "create a pull request"). Not GitHub/Jira issue creation.

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

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

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

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

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

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