local-ci-dev
БесплатноБез исполняемых скриптовНе проверенRun local CI via the in-tree dev build of local-ci (`pnpm local-ci-dev`) to verify changes to this repo before completing work. Runs `pnpm local-ci-dev run…
от redwoodjs★ 818 звёзд на GitHubОб этом скилле
Local CI (dev build)
Run local CI against the in-tree dev build (pnpm local-ci-dev) to verify changes to this repo before completing work.
This skill relies on two pi-native tools added by .pi/extensions/background-shell.ts: bash_background (start a command, return immediately) and monitor_wait (block until the log matches a pattern or the task exits). If those tools aren't available in your pi, load/reload the extension — /reload if you're already in a session, or relaunch pi — before continuing.
Steps
Start local-ci in the background with
bash_background, with the NDJSON event stream enabled:{ "command": "pnpm local-ci-dev run --all -q -p --json" }This returns
{ taskId, outputFile, pid }without blocking. Because stdout isn't a TTY, the launcher detaches automatically: the foreground process exits 77 the moment a step pauses, while the worker keeps the container alive forretry.Wait for a pause or completion with
monitor_wait, matching the NDJSON event discriminators (silence is not success — a crash or hang with a success-only filter looks identical to still-running):{ "taskId": "<from step 1>", "pattern": "\"event\":\"(run\\.paused|run\\.finish)\"", "timeoutMs": 600000 }monitor_waitreturns when any of the following happens:- the regex matches a new line →
stoppedBecause: "match", inspectmatches. Arun.pausedline carries therunnername +retry_cmd; arun.finishline carriesstatus: passed|failed. - the task exits →
stoppedBecause: "exit", inspectstate(succeededorfailed) andexitCode. Exit code 77 means a step paused — treat it like arun.pausedmatch. - the timeout elapses →
stoppedBecause: "timeout", loop back and callmonitor_waitagain (it resumes from the previous byte offset automatically)
- the regex matches a new line →
On success (
run.finishwithstatus: passed, orstate: "succeeded"), you're done.On failure (
run.pausedmatch orexitCode: 77), read the full output file for details:tail -n 200 <outputFile>CI was passing before your work started, so the failure is caused by your changes. Fix the issue in your code, then retry the failed runner — again via
bash_background+monitor_wait:pnpm local-ci-dev retry --name <runner-name>If the fix requires re-running from an earlier step:
pnpm local-ci-dev retry --name <runner-name> --from-step <N>Repeat until the job passes.
Once all jobs have passed, you're done.
Установить local-ci-dev в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл local-ci-dev?
Run local CI via the in-tree dev build of local-ci (`pnpm local-ci-dev`) to verify changes to this repo before completing work. Runs `pnpm local-ci-dev run --all` in the background, watches the log for step failures, and retries failed runners after fixes. Use before reporting work as complete, or whenever the user asks to validate, run CI, or check that changes pass. Distinct from the published `local-ci` skill, which targets downstream users via `npx run-local-ci`.
Как установить скилл local-ci-dev?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл local-ci-dev запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub