跳到正文
cccskills
免费在 GitHub 公开

parallel-ci-triage

When GitHub Actions fails, fetch failing job logs and assign each failing job to a separate subagent that fixes its slice of the problem in parallel. Use for multi-job CI failures where jobs are independent.

中文简介正在准备中。当前显示原文说明。

集成工具GitHub
查看安装方法

包含的文件(1)

  • SKILL.md3.1 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Parallel CI Triage

Speed up fixing broken CI by splitting failing jobs (or independent failure clusters) across parallel subagents. Each subagent owns one vertical slice: logs, root cause, code fix, and local verification for that slice.

Prerequisites

  • GitHub CLI (gh) installed and authenticated (gh auth login), or use the GitHub web UI / API to copy logs manually.
  • Push access to the repo so fixes can be pushed and CI re-run.

Workflow

1. Identify the failing run

From the repo root:

gh run list --limit 5
gh run view <RUN_ID> --log-failed

Or open the Actions tab, open the failed workflow run, and note which jobs failed (not just which step — group by job name).

If gh is unavailable, download logs from the GitHub UI and paste them into the conversation.

2. Split by job (or by failure cluster)

  • One subagent per failed job when jobs test different things (e.g. lint, test-node-18, e2e).
  • One subagent per independent failure cluster when a single job logs multiple unrelated errors — but prefer one job per agent to avoid conflicting edits in the same files.

If two failures share the same root cause in the same file, assign one subagent to fix both.

3. Launch parallel subagents

For each failing job, launch a generalPurpose subagent in a single message so they run concurrently:

Task: Fix CI failure for job "<JOB_NAME>"

Context:
- Workflow run: <RUN_URL or RUN_ID>
- Branch: <branch>
- Relevant log excerpt (failed steps only):
<paste gh run view --job <JOB_ID> --log or the failed section>

Instructions:
1. Infer the root cause from the log (command, stack trace, file:line).
2. Open and edit only what this job requires.
3. Run the same commands locally that failed in CI (or the narrowest equivalent, e.g. `npm run lint`, `pytest tests/foo`, `pnpm test --filter pkg`).
4. Report: what failed, what you changed, and confirmation that the local command passes.

Include the exact failing command and error lines so the subagent does not guess.

4. Merge and verify

  • Collect each subagent’s changed files. Resolve overlaps manually if two agents touched the same file.

  • Run the full CI-equivalent locally when possible:

    # Example: match your repo
    npm run lint && npm test
    
  • Commit with a conventional message, push, and re-check the workflow:

    gh run watch
    

When to use

  • Multiple GitHub Actions jobs failed and the failures look independent.
  • A long workflow log is easier to split by job than to fix sequentially.

When not to use

  • A single job with one clear error — fix it in the main agent.
  • Failures that are purely flaky infrastructure — retry or fix workflow config first.

Notes

  • Redact secrets if pasting logs into chat.
  • If agents conflict on shared files, merge sequentially after the parallel pass.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Use Cursor's browser aria snapshots to audit a page for accessibility issues — missing labels, broken tab order, contrast, and ARIA misuse.

中文简介正在准备中。当前显示原文说明。

0xAidan/polymarket-bot-test42026年9月4日 更新

Add PostHog analytics to a web application, including event tracking, page views, feature flags, and session replay.

中文简介正在准备中。当前显示原文说明。

0xAidan/polymarket-bot-test42026年9月4日 更新

Generate OpenAPI/Swagger documentation for an API, including endpoint schemas, request/response types, and interactive docs UI.

中文简介正在准备中。当前显示原文说明。

0xAidan/polymarket-bot-test42026年9月4日 更新

Add authentication to a web application using NextAuth.js (Auth.js), including OAuth providers, session management, and protected routes.

中文简介正在准备中。当前显示原文说明。

0xAidan/polymarket-bot-test42026年9月4日 更新

Dockerize an application with a production-ready Dockerfile, docker-compose setup, and .dockerignore.

中文简介正在准备中。当前显示原文说明。

0xAidan/polymarket-bot-test42026年9月4日 更新

Set up Playwright end-to-end testing in a project, including test configuration, example tests, and CI integration.

中文简介正在准备中。当前显示原文说明。

0xAidan/polymarket-bot-test42026年9月4日 更新

查看 0xAidan 的全部技能

报告此技能的问题