gh-pr-create
БесплатноБез исполняемых скриптовНе проверенOpen/create a GitHub PR ("open a PR", "create a pull request"). Not GitHub/Jira issue creation.
от yotamleo-org★ 15 звёзд на GitHubОб этом скилле
gh-pr-create
The user wants to open a new GitHub PR.
Before running the block:
- Confirm the title and body with the user (PR creation is public/team-visible).
- Build a
--title "..." --body "..."invocation — do NOT call without those flags (the runner will hang on interactive prompts). - 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), без исполняемых скриптов.
Похожие скиллы
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