AgentSkillsCN

ci-workflow

当您遇到 CI 失败并希望精准定位错误时,可使用此技能。通过获取工作流运行记录、识别失败作业并检索日志,对 GitHub Actions 中的 CI 失败进行调试。适用于 CI 失败、构建中断、GitHub Actions 测试失败,或用户询问 CI/PR 状态时使用。当出现诸如“CI 失败”、“构建失败”、“检查 CI”、“修复流水线”、“工作流失败”、“为什么构建会失败?”、“检查 PR 状态”、“PR 检查未通过”或“我的 PR 为何显示红色”等关键词时触发。

SKILL.md
--- frontmatter
name: ci-workflow
description: Use this skill when you see CI failures and want to understand the exact error. Debug GitHub Actions CI failures by fetching workflow runs, identifying failed jobs, and retrieving logs. Use when CI fails, builds break, tests fail in GitHub Actions, or user asks about CI/PR status. Triggers on phrases like "CI failed", "build failed", "check CI", "fix pipeline", "workflow failed", "why did the build fail", "check PR status", "PR checks failing", or "why is my PR red".

CI Workflow Debugging

Read documentation/how-to-work-with-ci.md for the full workflow.