Command Palette

Search for a command to run...

Назад к скиллам
скилл № 01782

ci-failures-review

Use only when explicitly invoked: investigate CaseDash CI failures, especially pull request Validation failures.

БесплатноБез исполняемых скриптов
casedashот 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

  1. Read repository instructions first.

    • Start with AGENTS.md.
    • Consult docs/build.md for validation entrypoints and workflow behavior.
    • Consult docs/diagnostics.md when the failure involves diagnostics output or headless app validation.
  2. 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, and gh 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 Validation runs.
    • 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_request runs, 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 local HEAD and branch status; note when the checkout is ahead of or different from the failed commit.
    • For push runs, expect them primarily on main after merge. Do not look for a duplicate feature-branch push run unless the workflow has changed again.
    • Use failed-step logs and uploaded artifacts.
  3. 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: and error: 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|header entry to the maintained allowlist in tools/run_clangd_includes.ps1 instead of adding local NOLINT.
    • Ignore unrelated dirty work and do not revert changes made by others.
  4. 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.h with sysinfoapi.h for SYSTEMTIME and GetLocalTime can fail with winnt.h reporting No Target Architecture. In that case, keep windows.h in source and add a precise include-cleaner allowlist entry.
  • profileapi.h is also not self-contained for LARGE_INTEGER, QueryPerformanceFrequency, and QueryPerformanceCounter under the CaseDash build defines; keep windows.h and allowlist the include-cleaner finding when windows.h is the narrow working source include.
  • When local HEAD is ahead of the failed run SHA, run format.cmd against the current worktree before treating the CI failure as isolated. format.cmd fix changed only repairs dirty changed files; use format.cmd fix when 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 each syntax. Keep mixed-mode bridge .cpp formatter exclusions narrow and filename-based instead of rewriting managed bridge source to satisfy one runner version.
  • New mixed-mode board-provider bridge .cpp files need the same narrow filename-based exclusions in both tools/run_clang_format.ps1 and tools/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 CaseDashBenchmarks links a source that calls newly factored production helpers, verify the helper .cpp is also listed in that benchmark target, not only in the app or test target.
  • lint.cmd includes changed runs 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 includes can report source-policy failures in
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

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), без исполняемых скриптов.

Похожие скиллы

Сравнить ci-failures-review с