ci-failures-review
Use only when explicitly invoked: investigate CaseDash CI failures, especially pull request Validation failures.
от casedash★ 31 звезда на GitHub
Установить ci-failures-review в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
CI Failures Review
Overview
Use this skill to investigate a failed workflow from the pull request or failing run outward, then make the smallest repository change that addresses all actionable diagnostics.
Workflow
Read repository instructions first.
- Start with
AGENTS.md. - Consult
docs/build.mdfor validation entrypoints and workflow behavior. - Consult
docs/diagnostics.mdwhen the failure involves diagnostics output or headless app validation.
- Start with
Identify the failed PR check or run.
- Treat pull requests as the normal entrypoint for feature-branch validation. Use the available GitHub tooling, usually
gh pr view,gh pr checks,gh run view, andgh run download. - If the user gives only a branch name, find the open PR for that branch before listing runs. Feature-branch pushes do not start routine
Validationruns. - Record the workflow name, event, PR number when present, base branch, head branch, run id, head commit, failed job, and failed step before editing.
- For
pull_requestruns, remember that the checked-out code is the PR merge ref by default. Compare both the PR head SHA and the run SHA or merge ref with localHEADand branch status; note when the checkout is ahead of or different from the failed commit. - For
pushruns, expect them primarily onmainafter merge. Do not look for a duplicate feature-branch push run unless the workflow has changed again. - Use failed-step logs and uploaded artifacts.
- Treat pull requests as the normal entrypoint for feature-branch validation. Use the available GitHub tooling, usually
Diagnose.
- Find actionable errors in the failed step.
- Download uploaded reports when the workflow provides them, such as
clang-include-cleaner-report. - For include-cleaner reports, search the artifact for reportable
warning:anderror:lines; ignore queue and completion progress lines unless reportable output remains nearby. - Cross-check the reported file against the current worktree before patching because the branch may already be ahead of the failed commit.
- For include-cleaner reports on Win32 umbrella headers, verify that a direct replacement header is self-contained under the project build before changing source. If a direct Windows SDK header fails or the project policy expects the umbrella include, add a narrow
file|headerentry to the maintained allowlist intools/run_clangd_includes.ps1instead of adding localNOLINT. - Ignore unrelated dirty work and do not revert changes made by others.
Patch the owning source.
- Keep edits scoped to the failed diagnostic and the owning module.
- When the owning module is lint tooling, keep allowlist changes exact and explain why the source include remains correct.
- Update docs only when the failure or fix changes documented behavior, commands, or a recurring project pitfall.
- When the investigation reveals a reusable CI pitfall or workflow lesson, update this skill's Lessons Learned section before the final response so the next run starts smarter.
Lessons Learned
- Some direct Windows SDK headers are not self-contained under the CaseDash build defines. For example, replacing
windows.hwithsysinfoapi.hforSYSTEMTIMEandGetLocalTimecan fail withwinnt.hreportingNo Target Architecture. In that case, keepwindows.hin source and add a precise include-cleaner allowlist entry. profileapi.his also not self-contained forLARGE_INTEGER,QueryPerformanceFrequency, andQueryPerformanceCounterunder the CaseDash build defines; keepwindows.hand allowlist the include-cleaner finding whenwindows.his the narrow working source include.- When local
HEADis ahead of the failed run SHA, runformat.cmdagainst the current worktree before treating the CI failure as isolated.format.cmd fix changedonly repairs dirty changed files; useformat.cmd fixwhen already-committed branch files also block the full format check. - Visual Studio LLVM clang-format versions can disagree on C++/CLI managed handles and
for eachsyntax. Keep mixed-mode bridge.cppformatter exclusions narrow and filename-based instead of rewriting managed bridge source to satisfy one runner version. - New mixed-mode board-provider bridge
.cppfiles need the same narrow filename-based exclusions in bothtools/run_clang_format.ps1andtools/run_clangd_includes.ps1; otherwise a format-only fix can just expose the next bridge-specific include-cleaner failure. - A docs-only or website-only commit can still fail the benchmark build when earlier source-list drift is latent. If
CaseDashBenchmarkslinks a source that calls newly factored production helpers, verify the helper.cppis also listed in that benchmark target, not only in the app or test target. lint.cmd includes changedruns the normal lint gates before the changed-file include-cleaner slice. If source-policy failures appear there, fix them even when the downloaded CI artifact only reports include diagnostics.lint.cmd includescan report source-policy failures in
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл ci-failures-review?
Use only when explicitly invoked: investigate CaseDash CI failures, especially pull request Validation failures.
Как установить скилл ci-failures-review?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ci-failures-review запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
agent-skill-stack
GitHubFind, evaluate, and assemble the smallest compatible set of AI Agent Skills for an end-to-end natural-language goal. Use when a user wants Skills for a…
build-evidence-map
GitHubBuild an auditable evidence map for a contested technical choice, research synthesis, proposal review, or consequential decision. Use when Copilot must…
pinecone-rag
GitHubBuild production RAG pipelines and persistent agent memory using Pinecone as the vector database backend. ALWAYS USE THIS SKILL when the user mentions…
qdrant-monitoring-debugging
GitHubDiagnoses Qdrant production issues using metrics and observability tools. Use when someone reports 'optimizer stuck', 'indexing too slow', 'memory too high'…