PostHog/posthog✦ 精选0°

debugging-ci-failures

仓库创建 2020年1月24日最近提交 3 小时前SkillHot 收录 3 小时前
▸ 精选理由

系统化定位失败根因并指导可复现最小案例,适合稳定运维流程。

▸ 风险提示

诊断可能需要访问私有 CI 信息或触发可见操作,注意权限与可见性。

这个 Skill 做什么

诊断 PostHog 仓库中 GitHub Actions CI 失败原因并定位首要问题。

定位并解释 PostHog 仓库里失败的 GitHub Actions CI,找出首要失败点并给出重现或修复建议。CI 报红、某个 workflow/job 或测试失败时就用它。流程会先看 hogli ci:insights 作为总体信息源,然后分类失败类型、尝试最小化本地复现,并避免在公共跑道上随意重跑造成更多噪音。

▸ 展开 SKILL.md 英文原文

Debugs failing GitHub Actions CI runs for PostHog PRs, commits, and branches, and answers broad CI-health questions ("is CI red?", "is master green today?", "what's broken right now?"). Use when the user asks why CI is red, asks for the current CI or master status, or mentions a failing check, GitHub Actions run, Depot runner, workflow, job, shard, flaky test, lint failure, typecheck failure, snapshot diff, migration check, generated types drift, or skills build failure. Start with the `hogli ci:insights` digest (aggregated cross-run CI intelligence), then guides read-only inspection, failure classification, smallest local reproduction with hogli, and safe reporting without rerunning CI or posting to GitHub.

开发编程CI 故障定位诊断流程PostHog CI通用
3.7w
Stars
3.1k
Forks
40
仓库内 Skill
积累中
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/PostHog/posthog/master/.agents/skills/debugging-ci-failures/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/PostHog/posthog/master/.agents/skills/debugging-ci-failures/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Debugging PostHog CI failures

Find the first meaningful failure, classify it, reproduce the smallest useful
case locally when appropriate, and report the result. Avoid public-visible or
irreversible actions unless the user explicitly asks.

Always start with the `hogli ci:insights` digest. It is the institutional,
cross-run source of truth, and it is fresher and more reliable than scraping
`gh run list` / the GitHub Actions API, which can lag or rate-limit.

This skill triages and classifies. Once a failure is confirmed flaky, hand off
to the `fixing-flaky-tests` skill, which owns local reproduction, root-cause
fixing, and N-run validation.

## Safety rules

Do not do any of these without
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有