当前位置: 首页 > Skill >

CI Whisperer

CI Whisperer

CI Whisperer

分析 GitHub Actions 失败原因并提出修复建议。适用于用户分享失败的运行链接/ID、报告 CI 失败或询问工作流失败原因时。

0.2.0 2026.11.22 652
获取Skill文件查看使用说明
作 者:陆言 许可证: 更新时间:2026.11.22
本文目录展开

CI Whisperer

Fetch GitHub Actions run details, pinpoint the failure, and propose a minimal fix.

This skill is meant to feel like a senior engineer doing a fast “CI autopsy”.

Modes

Read-only mode (default)

  • Collect evidence, explain root cause, propose fixes.
  • No pushes, no PRs, no branch creation.

PR fix mode (opt-in)

PR fix mode is allowed only when both are true:

  1. The user explicitly asks to open a PR.
  2. A local toggle is enabled (the “on/off button”):
    • env var: CI_WHISPERER_WRITE=1

If the toggle is not enabled, refuse politely and explain how to enable it.

Workflow

1) Identify target run

Accept any of:

  • workflow run URL
  • run id
  • PR number (then locate latest run)

Always determine:

  • owner/repo
  • run id

If the user didn’t specify the repo, ask for it (or infer from context).

2) Gather evidence (tool-backed)

Prefer deterministic tooling. Use /usr/bin/gh when the system has multiple gh binaries.

Suggested commands:

  • gh run view <run-id> --repo owner/repo --json status,conclusion,createdAt,updatedAt,event,headBranch,headSha,url,name
  • gh run view <run-id> --repo owner/repo --log-failed
  • gh run view <run-id> --repo owner/repo --log (only if needed; can be noisy)

If gh is not authenticated, stop and ask the user to run:

  • /usr/bin/gh auth login

3) Produce a "CI Autopsy" report

Return:

  • failing job(s) and step(s)
  • the exact error excerpt (short; redact secrets)
  • likely root cause(s) ranked
  • minimal fix options
  • confidence level

4) (Optional) Open a PR (only with explicit approval + write toggle)

If the user asks to fix it and CI_WHISPERER_WRITE=1:

  • create a branch
  • apply minimal changes
  • run local lint/tests if available
  • open PR with a clear description and link to the failing run

If the user asks but write mode is OFF:

  • provide the patch/diff instructions, but do not push.

Safety

  • Never print tokens.
  • Don’t open PRs or push changes unless explicitly requested.
  • If logs contain secrets, redact before quoting.

Bundled scripts

Use scripts for repeatable fetching and parsing:

  • scripts/ci_autopsy.py (fetch run metadata + failed logs)

相关文章

更多
langchain-ollama 1.2.0 发布:Ollama 最低版本要求提升至 v0.6.3

LangChain 仓库通过 GitHub Actions 发布了 langchain-ollama 1.2.0。新版集成包将 Ollama 的最低版本要求提高至 v0.6.3,旨在更好地支持高阶推理与思考层级(thinking levels)。此次更新同步更新了相关依赖包,但摘要未列出具体包名和版本明细。升级前需确认当前环境中的 Ollama 版本,若低于 v0.6.3 则需先升级 Ollama。

2026.11.23 574
Skill 文件
  • SKILL.md
    • CI Whisperer
    • Modes
      • Read-only mode (default)
      • PR fix mode (opt-in)
    • Workflow
      • 1) Identify target run
      • 2) Gather evidence (tool-backed)
      • 3) Produce a "CI Autopsy" report
      • 4) (Optional) Open a PR (only with explicit approval + write toggle)
    • Safety
    • Bundled scripts
  • 项目或源文件

相关 Skill

更多
Security Audit Tools Security Audit Tools 在任何下载前,检查第三方 Claude/OpenClaw/Codex/OpenCode 技能、插件、仓库、npm 包、pip 包、Shell 安装程序和 GitHub Actions。
阿拉丁·CI/CD与部署编排工坊|多平台流水线·Docker/K8s·质量门禁·本地校验 阿拉丁·CI/CD与部署编排工坊|多平台流水线·Docker/K8s·质量门禁·本地校验 阿拉丁·CI/CD与部署编排工坊把"交付上线"工程化:①自动探测仓库——识别语言/框架/构建/测试/端口,免手填;②多平台 CI 一键齐发——GitHub Actions + GitLab CI + Jenkinsfile 三大主流;③容器化——多阶段 Dockerfile(非 root/多语言基础镜像) + docker-compose;④编排部署——Kubernetes Deployment/Service/Ingress + Helm 骨架(带探针/资源限制/健康检查);⑤质量门禁联动——把 aladin-code-pilot(审查)/aladin-api-pilot(契约测试)/aladin-sql-forge(迁移) 嵌成流水线 stage;⑥本地校验 dry-run——纯标准库做 YAML 结构/密钥占位符/:latest 告警/端口/探针校验;⑦发布流水线——语义版本 bump + CHANGELOG + 标签 + 发布说明;⑧多格式导出——.yml/.yaml/.groovy/Dockerfile + HTML 看板 + MD 部署文档。相比 skillhub 飙升的
CI/CD Pipeline CI/CD Pipeline 使用 GitHub Actions 创建、调试和管理 CI/CD 流水线。适用于需要设置自动化测试、部署、发布或工作流的场景。涵盖工作流语法、常用模式、密钥管理、缓存、矩阵构建及故障排查。
Nm Attune Workflow Setup Nm Attune Workflow Setup 配置 GitHub Actions CI/CD 工作流,用于测试、代码检查和部署
GitHub 智能代码审查与 CI/CD 自动化 GitHub 智能代码审查与 CI/CD 自动化 GitHub 智能代码审查与 CI/CD 自动化工作流。收到 PR 或代码提交时,自动进行 AI 代码审查(bug/安全/逻辑),并根据审查结果智能生成或推荐 GitHub Actions 工作流。触发词:代码审查、review PR、生成 CI/CD、GitHub Actions。