Command Palette

Search for a command to run...

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

gh-init

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

Bootstrap/verify GitHub CLI auth ("set up gh", "check gh auth", "is gh logged in"). Not PR ops or Jira setup.

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

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

gh-init

The user wants to verify forge auth (or wants instructions to log in).

Run this block. It detects the forge from the origin remote (defaulting to GitHub): on a GitHub repo it verifies gh auth + scopes; on a Bitbucket repo it checks the himmel bitbucket CLI auth (BITBUCKET_EMAIL + BITBUCKET_API_TOKEN) instead of gh OAuth scopes.

node <himmel>/plugins/himmel-gh/lib/init-cli.mjs

Positionals: the block takes none. 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.

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

Output the single one-line summary the block prints. If it exits non-zero with gh NOT logged in, tell the user to run gh auth login --web from their own terminal — that flow is interactive (browser) and cannot be automated. If it exits non-zero with bitbucket NOT authenticated, tell the user to set BITBUCKET_EMAIL + BITBUCKET_API_TOKEN.

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

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

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

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

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

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

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

FAQ

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

Bootstrap/verify GitHub CLI auth ("set up gh", "check gh auth", "is gh logged in"). Not PR ops or Jira setup.

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

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

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

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

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

Сравнить gh-init с