Command Palette

Search for a command to run...

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

github-job

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

Fetch a GitHub Actions job or workflow run through the GitHub REST API and present its status and failure details. Use when the user references a CI job…

City-of-Helsinkiот City-of-Helsinki★ 26 звёзд на GitHub

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

How to fetch a GitHub Actions job or run to diagnose a failure or check status.

1. Authentication

Use gh CLI. If gh is not installed, stop and ask the user to install it.

If the file /run/secrets/gh/token exists, the script gives gh the token from it. Use this in a container. Then gh auth status says that gh is not logged in. This is fine. Never print the token or read the file yourself. Use only the script.

If the file does not exist, check auth once, before anything else:

gh auth status

If not logged in, stop and ask the user to run gh auth login.

2. Fetch the run or job

Run the script from the repository root. Give it the id or the URL from the user as is. Put a URL in single quotes. A hook blocks the command if it is in any other form. Run it as a single command, without pipes.

If the user gives a job id or a URL with /job/<id>, skip to step 3.

If the user gives a run id or a run URL, list the failed jobs in the run:

.agents/skills/github-job/github-job run 123
.agents/skills/github-job/github-job run 'https://github.com/City-of-Helsinki/tilavarauspalvelu-core/actions/runs/123'

Take the id of the job that needs attention (conclusion: "failure").

To find runs of a workflow, for example to check if a failure repeats, list its latest runs. Give the workflow file name from .github/workflows/ and an optional limit (default 10):

.agents/skills/github-job/github-job runs ci.yml
.agents/skills/github-job/github-job runs mirror-base-images.yml 20

3. Fetch the log

.agents/skills/github-job/github-job log 456
.agents/skills/github-job/github-job log 'https://github.com/City-of-Helsinki/tilavarauspalvelu-core/actions/runs/123/job/456'

4. Fetch job metadata (only if needed)

Fetch this only if the log is empty or you cannot determine the failure from it.

.agents/skills/github-job/github-job info 456

Установить github-job в Claude Code и Claude Desktop

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

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

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

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

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

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

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

github-job

FAQ

Что делает скилл github-job?

Fetch a GitHub Actions job or workflow run through the GitHub REST API and present its status and failure details. Use when the user references a CI job, pipeline, or workflow run, either with a URL or an id.

Как установить скилл github-job?

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

Скилл github-job запускает скрипты?

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

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

Сравнить github-job с