ci-fix-monitor · zaxbyhub — скилл для Claude Code: что делает и как установить
Скилл ci-fix-monitor для Claude Code отслеживает статусы проверок в pull request и исправляет сбои сборки. Диагностирует падения CI в проектах opencode-swarm до полного прохождения проверок.
MIT ★ 539 обновлён 2026-10-29
npx skills add ZaxbyHub/opencode-swarm --skill ci-fix-monitor -a claude-codeЧто делает ci-fix-monitor
Скилл отслеживает пайплайны GitHub Actions в pull request и устраняет ошибки CI. Он разбирает логи упавших проверок, чинит ошибки сборки npm tarball в package-check, сбои форматирования и проблемы файлового ввода-вывода под macOS.
Вместо CLI gh скилл обращается к GitHub через MCP-инструменты mcp__github__pull_request_read и mcp__github__get_job_logs. При сбоях стиля агент запускает bunx biome format --write только на конкретных файлах. Каталог dist/ коммитить запрещено — сборка выполняется локально через bun run build лишь для проверки импорта бандла, а перед сохранением изменений обязателен точечный прогон через bun test <file>.
Какие задачи решает
- отслеживать статус проверок pull request через MCP GitHub
- диагностировать падения package-check при сборке npm tarball
- исправлять форматирование файлов через bunx biome format
- подтягивать ветку через git rebase при отставании от main
Примеры запросов агенту
- Проверь упавшие чеки в PR и исправь ошибку в package-check
- Посмотри логи CI для текущей ветки и устрани проблемы с форматированием
- Отследи проверки PR до зелёного статуса и прогони точечные тесты
Как установить ci-fix-monitor
1Через Skills CLI (Vercel)
npx skills add ZaxbyHub/opencode-swarm --skill ci-fix-monitor -a claude-code2Вручную: положить файлы
~/.claude/skills/ci-fix-monitor/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/ci-fix-monitor/
1Через Skills CLI (Vercel)
npx skills add ZaxbyHub/opencode-swarm --skill ci-fix-monitor -a codex2Вручную: положить файлы
.agents/skills/ci-fix-monitor/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add ZaxbyHub/opencode-swarm --skill ci-fix-monitor -a cursor2Вручную: положить файлы
.cursor/skills/ci-fix-monitor/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install ZaxbyHub/opencode-swarm .agents/skills/ci-fix-monitor2Вручную: положить файлы
.github/skills/ci-fix-monitor/SKILL.md1Через Skills CLI (Vercel)
npx skills add ZaxbyHub/opencode-swarm --skill ci-fix-monitor -a gemini-cli2Командой платформы
gemini skills install https://github.com/ZaxbyHub/opencode-swarm --path .agents/skills/ci-fix-monitorВручную: положить файлы
.devin/skills/ci-fix-monitor/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add ZaxbyHub/opencode-swarm --skill ci-fix-monitor -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о ci-fix-monitor
Как установить ci-fix-monitor в Claude Code?
Выполните команду npx skills add ZaxbyHub/opencode-swarm --skill ci-fix-monitor -a claude-code.
Что делает ci-fix-monitor?
Скилл мониторит проверки GitHub Actions в PR, забирает логи упавших шагов через MCP и устраняет ошибки сборки, линтинга или тестов.
Что нужно для работы ci-fix-monitor?
Требуются подключённые MCP-инструменты GitHub (mcp__github__*), установленный Bun для тестов и форматирования Biome, а также доступ к git.
Исходный текст
SKILL.md · MIT
---
name: ci-fix-monitor
description: Codex adapter for monitoring and fixing CI failures on opencode-swarm PRs. Use when diagnosing failed checks, fixing `package-check` (npm tarball) failures, resolving quality/lint/format errors, fixing macOS cross-platform file I/O failures, or watching a PR until all checks are green.
metadata:
audience: swarm-plugin
---
# CI Fix Monitor
Read `.opencode/skills/ci-fix-monitor/SKILL.md` for the full protocol.
Also load:
1. `.agents/skills/commit-pr/SKILL.md` before committing or pushing any fix
2. `.agents/skills/engineering-conventions/SKILL.md` if the fix touches source files
3. `.agents/skills/running-tests/SKILL.md` before running any test suite as part of a fix
Codex-specific execution notes:
- MCP tool names (`mcp__github__*`) are injected by the runtime harness and may differ across environments. Verify availability via `ToolSearch` before first use in a session.
- No `gh` CLI available. Use `mcp__github__pull_request_read` (method `get_check_runs`) to list check status and `mcp__github__get_job_logs` (with `return_content: true`) to fetch failure logs.
- For `package-check` failures: `package-check` validates the npm tarball (`npm pack` + tarball contents). A failure is a source/build/package-manifest problem, not generated-file drift. `dist/` is generated and NOT committed — do not stage it; run `bun run build` locally only when you need the bundle to verify (e.g. `node --input-type=module -e "await import('./dist/index.js'); console.log('dist import OK')"`). There is no longer a committed-dist drift check.
- For a branch behind main (version-drift): `git fetch origin main && git rebase origin/main` (abort with `git rebase --abort` if conflicts occur and escalate to user), then `git push --force-with-lease origin <branch>`. Force-push is required and expected after rebase.
- For format violations: `bunx biome format --write <specific-file>` — do NOT run `biome format --write .` on the whole repo.
- After any source fix, run the focused test file (`bun test <file>`) before committing.
- Do not declare victory until ALL required checks show green; `skipped` is acceptable only if the same check was skipped on the base branch.
© ZaxbyHub · MIT · ZaxbyHub/opencode-swarm
Похожие скиллы
Все скиллы по теме «Git и GitHub» →Сначала — ci-fix-monitor от других авторов.