一键导入
ci-debug
Diagnose GitHub Actions CI failures for kafka-timebridge. Use when the user asks to check CI, debug a failed run, or wants to know why a workflow failed.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Diagnose GitHub Actions CI failures for kafka-timebridge. Use when the user asks to check CI, debug a failed run, or wants to know why a workflow failed.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | ci-debug |
| description | Diagnose GitHub Actions CI failures for kafka-timebridge. Use when the user asks to check CI, debug a failed run, or wants to know why a workflow failed. |
| argument-hint | ["run-id"] |
| allowed-tools | Bash |
Diagnose a GitHub Actions run for martavoi/kafka-timebridge.
Parse $ARGUMENTS for a numeric run ID. If none is provided, use the latest completed run on main:
RUN_ID="${ARGUMENTS:-$(gh run list \
--repo martavoi/kafka-timebridge \
--branch main --limit 10 \
--json databaseId,status \
--jq '[.[] | select(.status != "in_progress")] | first | .databaseId')}"
Step 1 — Job summary:
gh run view "$RUN_ID" --repo martavoi/kafka-timebridge
Step 2 — If any job failed, show failure logs (first 200 lines):
gh run view "$RUN_ID" --repo martavoi/kafka-timebridge --log-failed 2>&1 | head -200
Step 3 — If an e2e job failed, extract timebridge container logs from the "Show logs on failure" step:
gh run view "$RUN_ID" --repo martavoi/kafka-timebridge --log 2>&1 \
| grep -A 2000 "Show logs on failure" \
| grep "timebridge-1" \
| head -100
Summarise:
gh is available and Bash(gh run:*) is permitted in settings.local.json.e2e (couchbase) job failure logs will include N1QL errors, scheduler backoff messages, and acceptor ingestion lines — look for level=ERROR lines in the timebridge container output.$ARGUMENTS is a GitHub Actions URL (e.g. https://github.com/.../runs/12345), extract the numeric run ID from the URL and use it.Run the kafka-timebridge end-to-end tests. Use when the user asks to run e2e tests, integration tests, or wants to validate the full message lifecycle against a real Kafka broker.
Run the kafka-timebridge unit/short tests. Use when the user asks to run tests, unit tests, or wants to check that nothing is broken after a change.