Command Palette

Search for a command to run...

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

local-ci

БесплатноЗапускает вложенные скриптыНе проверен

Run GitHub Actions workflows locally with pause-on-failure for AI-agent-driven CI iteration

redwoodjsот redwoodjs★ 818 звёзд на GitHub

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

What local-ci does

Runs the official GitHub Actions runner binary locally (in Docker), emulating GitHub's cloud API. Cache is bind-mounted (instant). When a step fails, the container pauses — you can fix and retry the failed step without restarting.

When to use local-ci (not act)

  • You want bit-for-bit compatibility with remote GitHub Actions
  • You need pause-on-failure for AI agent debugging loops
  • Cache round-trip speed matters

Key commands

  • Run workflow: npx run-local-ci run --workflow <path>
  • Run all relevant workflows (those whose on triggers match the current branch/event, just like GitHub): npx run-local-ci run --all
  • Retry after fix: npx run-local-ci retry --name <runner>
  • Abort: npx run-local-ci abort --name <runner>

Agent output mode

Pass --json (or set LOCAL_CI_JSON=1) to emit an NDJSON event stream on stdout — one JSON object per line, with run.start/paused/finish, job.start/finish, step.start/finish, and diagnostic events. run.start carries schemaVersion: 1. Pair with --pause-on-failure: when stdout isn't a TTY the launcher detaches and the foreground process exits 77 the instant a run.paused event fires, so callers can react cleanly without parsing plaintext.

Common mistakes

  • Don't push to remote CI to test changes — use npx run-local-ci run locally first
  • Don't use --from-start when only the last step failed — use retry with no flags to re-run only the failed step
  • The AI_AGENT=1 env variable disables animated output for cleaner agent logs
  • Use --no-matrix to collapse matrix jobs into a single run — your local machine is likely faster than GitHub's runners, so parallelizing across matrix combinations is unnecessary

Установить local-ci в Claude Code и Claude Desktop

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

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

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

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

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

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

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

CHANGELOG.mdREADME.mdcompatibility.jsoncompatibility.mddocs/docker-socket.mdpackage.jsonrunner-image.mdshim.shsrc/cli.tssrc/commands/clean.tssrc/commands/retry-abort.tssrc/commands/run-prewarm.test.tssrc/commands/run.tssrc/commit-status.tssrc/config.test.tssrc/config.tssrc/docker/container-config.test.tssrc/docker/container-config.tssrc/docker/docker-socket.test.tssrc/docker/docker-socket.tssrc/docker/image-pull.test.tssrc/docker/image-pull.tssrc/docker/repro-126.test.tssrc/docker/repro-197.test.tssrc/docker/service-containers.test.tssrc/docker/service-containers.tssrc/docker/shutdown.test.tssrc/docker/shutdown.tssrc/hooks/json-loader.tssrc/launcher.test.tssrc/launcher.tssrc/log-prune.test.tssrc/log-prune.tssrc/native-launcher.test.tssrc/native-launcher.tssrc/output/agent-mode.test.tssrc/output/agent-mode.tssrc/output/cleanup.test.tssrc/output/cleanup.tssrc/output/concurrency.test.ts

FAQ

Что делает скилл local-ci?

Run GitHub Actions workflows locally with pause-on-failure for AI-agent-driven CI iteration

Как установить скилл local-ci?

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

Скилл local-ci запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

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

Сравнить local-ci с