一键导入
ci-failure-debugging
Guide for debugging failing CI/CD workflows. Use this when CI checks fail on a PR or when asked to debug build/test failures.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Guide for debugging failing CI/CD workflows. Use this when CI checks fail on a PR or when asked to debug build/test failures.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
E2E test skill that confirms plugin loading works.
Templates and process for creating devcontainer configurations. Use this when setting up a new project, adding devcontainer support, or creating devcontainers for worktrees.
Procedure for creating a git worktree and devcontainer for a new task. Use this when starting a new development task.
Cross-model code review before every PR. Use this after code is written and before pushing.
Mandatory checklist before starting implementation. Use this before writing code for any non-trivial task.
Production Dockerfile and container runtime security checklist. Use this when building Docker/Podman images or configuring container deployments.
基于 SOC 职业分类
| name | ci-failure-debugging |
| description | Guide for debugging failing CI/CD workflows. Use this when CI checks fail on a PR or when asked to debug build/test failures. |
When CI fails on a PR, follow this process to diagnose and fix the issue.
# List recent workflow runs for the PR
gh run list --branch <branch-name> --limit 5
Or use the GitHub MCP Server:
list_workflow_runs to find the failed run.list_workflow_jobs to find the failed job.# View logs for a specific run
gh run view <run-id> --log-failed
Or use the GitHub MCP Server:
get_job_logs with return_content: true for the failed job.tail_lines: 100 to get the relevant end of the log.| Category | Symptoms | Action |
|---|---|---|
| Build failure | Compilation errors, type errors | Fix the code |
| Test failure | Assertion errors, test timeouts | Fix the test or the code |
| Lint failure | Style violations, warnings-as-errors | Run formatter/linter locally, fix |
| Dependency failure | Package not found, version conflict | Check lockfile, pin versions |
| Infra failure | Network timeout, runner issue | Retry the run |
| PR size check | Diff too large | Split into stacked PRs |
# Run the same command that failed in CI, inside the devcontainer
devcontainer exec --workspace-folder . <failed-command>
fix(ci): resolve <what was broken>.