# Bit Vcs Bit Bit

> fix-ci

- Skill: `tomevault-io/bit-vcs-bit-bit` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/bit-vcs-bit-bit`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/bit-vcs-bit-bit/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/bit-vcs-bit-bit

---


# fix-ci

Investigate and fix CI failures.

## Trigger

- User reports a CI failure
- `gh run list` shows a failed run
- Relay event: `ci.status: fail` (optional, requires relay)

## Steps

1. **Get CI details**: `gh run list --repo <repo>` to find the failed run
2. **Read logs**: `gh run view <id> --log-failed` to get failure details
3. **Identify cause**: Parse the log output to find the root cause
4. **Fix**: Make the necessary code changes
5. **Test locally**: Run `pkf run release-check` or relevant tests
6. **Report**:
   ```bash
   # Commit the fix
   git add -A && git commit -m "Fix CI: <description>"
   # Via relay (optional)
   bit relay ci push <repo> --status pass --ref <ref>
   ```

## Important

- Always run tests before reporting success
- If the fix is complex, create a bit issue instead of auto-fixing
- Never force push or make destructive changes without user approval

---
> Source: [bit-vcs/bit](https://github.com/bit-vcs/bit) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-06-19 -->

