一键导入
pipeline-health
How to classify and respond to CI/pipeline failures.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
How to classify and respond to CI/pipeline failures.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | pipeline-health |
| description | How to classify and respond to CI/pipeline failures. |
| metadata | {"version":"1.0.0","type":"procedure"} |
Triggered by the
pipeline_health_scancron (every 3h) and on ad-hoc inspection ofgithub:ci_failevents. Goal: detect broken pipelines quickly, separate flaky from deterministic failures, and escalate before the backlog grows.
Response: Note in report, do NOT delegate a fix. If it recurs 3+ times in 24h, upgrade to deterministic.
git log)Response: Create bug issue with CI failure context. Include: failing job name, commit sha of first failure, stderr excerpt (first 500 chars), link to workflow run. Delegate via evaluate_and_delegate flow.
Response: Post to Discord #yclaw-alerts with severity HIGH. Do NOT create agent-delegatable issues. Publish sentinel:alert if downstream deploys are blocked.
| Condition | Threshold | Action |
|---|---|---|
| Same repo's CI broken | 2+ hours | Post to #yclaw-alerts, create P1 bug issue |
| Deploy pipeline broken | 1+ hour | Post immediately, escalate to Strategist |
| Multiple repos' CI broken simultaneously | 30 min | Infrastructure-level; escalate to human |
| Flaky test failure recurring | 3+ times in 24h | Reclassify as deterministic, delegate |
repo:list to get all registered repos.bug + P1 or P2 based on impact. Let evaluate_and_delegate handle delegation on the next label event.When reporting pipeline health (in standup or scan summary):
Pipeline Health Report — {repo-name}
Recent runs: {N total, M failed}
Deterministic failures: {count, list of commit SHAs}
Flaky failures: {count, list of test names + retry outcomes}
Infrastructure alerts: {count}
Actions taken:
- Created issue #{N} for {failure}
- Posted #yclaw-alerts for {infra issue}
Health verdict: GREEN | YELLOW | RED
issue-triage/SKILL.md — for labeling any issues you create from CI failuresdelegation-policy/SKILL.md — for routing CI-failure fixes to AO vs Mechanicdeployment-review/SKILL.md — deploys should never approve while CI is REDDetect and prevent product-specific terminology contamination across skills/ and prompts/. Run after any bulk content update, skill import from another project, or agent config change. Applied as a shared skill across all agents.
When and how Architect delegates tasks to AO, Mechanic, and Designer.
Checklist and rules for reviewing deployment requests. Architect assesses but NEVER executes.
Rules for triaging new issues, classifying severity, and routing to the correct agent.
Rules for detecting and managing stale issues and PR reviews.
When Designer reviews vs builds. Clear boundaries for autonomous action.