К основному содержанию
скилл CX Codex

nx-cloud-ci-failure-review — скилл для Claude Code

Скилл nx-cloud-ci-failure-review для Claude Code разбирает сбои CI в Nx Cloud и объединяет повторяющиеся причины по подтверждённым данным. Запускается по запросу о падениях пайплайнов, CIPE или отчёте за последние 24 часа.

MIT 125 установок ★ 29 обновлён 2026-10-23

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add nrwl/nx-ai-agents-config --skill nx-cloud-ci-failure-review -a claude-code
Открыть на GitHub

Что делает nx-cloud-ci-failure-review

Скилл анализирует неудачные CI-запуски Nx Cloud и группирует сбои по задачам, тайм-аутам, отменам, workflow или агентам. Он сопоставляет статусы CIPE, run groups, запусков и задач; для вывода о сбое workflow или агента нужны подтверждающие данные. Отмены не считаются причиной сбоя без контекста.

Для чтения Nx Cloud требуется скилл nx-cloud-api и команда npx nx-cloud api. Режим обзора по умолчанию охватывает последние 24 часа, а для поиска CIPE используется окно создания за 30 часов, поскольку фильтр опирается на createdAt. Скилл работает только на чтение: он предлагает диагностические шаги, но не меняет код, workflow или распределение ресурсов.

Какие задачи решает

  • сгруппировать повторяющиеся ошибки CI по сигнатурам
  • разделить сбои задач, тайм-ауты и отмены
  • сопоставить сбои CIPE с run groups и задачами
  • подготовить обзор ошибок Nx Cloud за последние 24 часа

Примеры запросов агенту

  • Разбери сбои CI в Nx Cloud за последние 24 часа.
  • Сравни эти CIPE и сгруппируй повторяющиеся ошибки.
  • Проведи обзор упавших пайплайнов и предложи диагностические шаги.

Как установить nx-cloud-ci-failure-review

1Через Skills CLI (Vercel)

npx skills add nrwl/nx-ai-agents-config --skill nx-cloud-ci-failure-review -a claude-code

2Вручную: положить файлы

~/.claude/skills/nx-cloud-ci-failure-review/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/nx-cloud-ci-failure-review/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о nx-cloud-ci-failure-review

Как установить nx-cloud-ci-failure-review в Claude Code?

Выполни npx skills add nrwl/nx-ai-agents-config --skill nx-cloud-ci-failure-review -a claude-code. Файл скилла находится по пути ~/.claude/skills/nx-cloud-ci-failure-review/SKILL.md.

Что делает nx-cloud-ci-failure-review?

Он анализирует сбои Nx Cloud CI и объединяет похожие случаи по подтверждённым признакам. Скилл разделяет ошибки задач, тайм-ауты, отмены и сбои workflow или агентов.

Что нужно для работы nx-cloud-ci-failure-review?

Для чтения данных Nx Cloud нужен скилл nx-cloud-api; запросы выполняются командой npx nx-cloud api. Скилл не меняет системы.

Исходный текст

SKILL.md · MIT
---
name: nx-cloud-ci-failure-review
description: Review failed Nx Cloud CI pipeline executions and group recurring, evidence-based failure patterns. Use this skill whenever a user asks about failed CI pipelines, recurring task failures, failed CIPEs, a CI failure review, or a last-24-hours CI report. Use the nx-cloud-api skill for every Nx Cloud read. This read-only skill separates task, workflow, agent, timeout, cancellation, and unknown cases. It suggests diagnostic next steps without changing systems.
---

# Nx Cloud CI failure review

Requires the `nx-cloud-api` skill for all Nx Cloud reads. This workflow is read-only.

Reduce failed pipelines to a small set of diagnostic groups. A failed pipeline
does not prove that an agent or platform caused the failure. Classify each group
only at the level the evidence supports.

## Scope and collection

Use **focused investigation mode** when the user supplies one or more CIPE or
run-group links. Fetch those exact records first. Follow their returned run-group,
run, task, and workflow links. Compare the supplied executions directly. Do not run a broad time
window or build a workspace-wide ranking unless the user asks for recurrence or
scope. Keep cancellations that follow the named critical error as consequences,
not separate root-cause groups.

Use **review mode** when the user asks for a workspace failure review. Review
failures from the last 24 hours by default. CIPE and run-group list filters use
`createdAt`, not failure time. Query a 30-hour creation window to cover the maximum
normal six-hour CI duration. State the intended 24-hour review period and the
30-hour creation window.

Query `statuses=FAILED`, `statuses=TIMED_OUT`, and `statuses=CANCELED` (the
`cipes` filter accepts only terminal statuses). State the
branches, CI contexts, statuses, endpoints, and record counts. Ask before widening
the window or mixing unrelated repositories/workspaces.

Use **nx-cloud-api** (`npx nx-cloud api`) for every read. Inspect the live
schemas with `--describe` for `cipes`, `run-groups`, `run-groups/{runGroupId}`,
`runs`, `runs/{runId}/tasks`, and the linked `steps` and `instances` endpoints.
Use `--list-operations` to confirm the routes; the public API has no separate
workflow routes. Reach child records by following returned `links`. Start with supplied CIPEs in focused investigation mode. Start with failed CIPEs
and their linked run groups in review mode. Use only live documented filters and
fields. Fetch one narrow page first and check `nextCursor` before continuing.

Collect in this order:

1. Failed, timed-out, and canceled CIPEs with status, timestamps, branch, and CI
   context. Use a small, stated `--pages` value. Rank groups workspace-wide
   only after a zero exit with `nextCursor: null`; otherwise
   report the data as incomplete.
2. Linked run groups and their documented critical-error fields.
3. Runs and terminal task rows for each selected group.
4. Workflow and instance status only when task data does not explain the group.
5. The smallest relevant task or instance log excerpt for representative cases.

Use a semaphore of at most five narrow detail requests. Fetch logs only after a
group reaches the top five. Tell the user before reading CI log content. Quote
only redacted error lines.

Treat cancellations as their own category until their reason and timing show that
they belong elsewhere. Do not call a cancellation a failure without that context.

## Grouping method

Build groups from stable evidence. Prefer a task identifier plus normalized error
signature. Normalize timestamps, GUIDs, retry counters, temporary paths, and
random ports. Keep stack context, command, and error code that distinguish two
otherwise similar messages.

Use these categories only when their evidence exists:

- Repeated task error.
- Task timeout.
- Cancellation.
- Workflow or agent failure.
- Unknown pipeline failure.

Call a group **workflow or agent failure** only when workflow/instance status,
critical error, or agent evidence supports it and no task failure explains the
pipeline. Do not infer infrastructure from the absence of a task log.

Reconcile the full pipeline picture before classification. A task can record
`SUCCEEDED` or a cache hit while the main job fails during artifact download,
validation, or restoration. Compare the run-group `criticalErrorMessage`, task
status, cache status, workflow status, and later cancellations. In that case,
classify the main-job cache restoration error as primary and the canceled runs as
consequences.

For every group, record its CIPE count, run-group count, affected task count,
first and last occurrence, branches/contexts, and one or two representative IDs.
Rank first by affected pipeline count, then recurrence, then blocked duration when
it is documented.

## Next action rules

- Repeated task error: when a relevant workspace checkout exists, inspect
  `CODEOWNERS` and project ownership metadata at the recorded commit. Suggest a
  likely review owner. Do not assign work or claim ownership when that evidence is absent.
- Task timeout: compare duration and resource evidence. Request a focused
  reproduction or resource report when it does not show a direct cause.
- Cancellation: identify the documented cancel source, or keep it separate as
  unknown cancellation.
- Workflow or agent failure: retry or monitor only when the evidence supports a
  transient event. Otherwise inspect the named workflow/agent asset.
- Unknown: request the smallest log or run detail that can separate the cases.

Do not make code, workflow, or allocation changes without explicit approval.

## Report format

```md
# Failed CI review

## Scope

- Window: …
- Data: …

## Failure groups

### 1. <evidence-level category> — <short signature>

- **Confirmed facts:** affected CIPEs/runs/tasks; representative IDs; log excerpt.
- **Assessment:** **Confirmed** / **Likely** / **Needs diagnostic run** — …
- **Impact:** …
- **Highest-leverage next action:** …

## Unclassified or incomplete data

- …
```

Limit a review report to five groups. In focused investigation mode, report the
supplied executions as one comparison when they have the same normalized signature. Link each
finding to exact CIPEs, run groups, runs, and tasks where available. State the data
limit when pagination, missing assets, or missing context affects the conclusion.

© nrwl · MIT · nrwl/nx-ai-agents-config

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

Все скиллы по теме «Код-ревью и рефакторинг» →
resilience-hub-failure-mode-assessment aws Скилл resilience-hub-failure-mode-assessment для Claude Code запускает и разбирает оценки режимов отказа в AWS Resilience Hub v2. Помогает разобрать находку и план исправления. CX Codex +1 4 700установок binlog-failure-analysis dotnet Скилл binlog-failure-analysis для Claude Code разбирает бинарные логи MSBuild (.binlog) и находит причины сбоев сборки. Работает с непонятными ошибками консоли и сбоями связанных проектов. CX Codex +1 4 700установок isolate-the-specific-failure-mode-before-proposing-a-fix ZaxbyHub isolate-the-specific-failure-mode-before-proposing-a-fix — скилл для Claude Code, который локализует причину сбоя до подготовки исправления и разделяет решения для разных корневых причин. CX Codex +1 ★ 539звёзд репо ci-failure-batching ZaxbyHub Скилл ci-failure-batching собирает все упавшие проверки PR, прежде чем планировать исправления. Помогает избежать отдельного цикла диагностики и отправки изменений для каждой ошибки. CX Codex +1 ★ 539звёзд репо huawei-cloud-terraform-installer huaweicloud Скилл huawei-cloud-terraform-installer для Claude Code устанавливает Terraform CLI на Linux и Windows через зеркало Huawei Cloud. Запускается автоматически, если IaC-задача обнаруживает отсутствие Terraform. CX Codex +1 19 100установок huawei-cloud-billing-scout huaweicloud Скилл huawei-cloud-billing-scout для Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI и OpenCode. Находит остатки на счёте, статьи расходов и расхождения в биллинге Huawei Cloud. CX Codex +1 18 500установок

Из того же набора9

nx-workspace Скилл nx-workspace для Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI и OpenCode, который даёт агенту команды для навигации по Nx-монорепозиторию. CX Codex +1 100 600установок nx-run-tasks Скилл nx-run-tasks для Claude Code подсказывает агенту, как запускать build, test, lint и serve в монорепозитории Nx. Проектов много, и команды легко перепутать. CX Codex +1 4 100установок nx-generate Скилл nx-generate для работы с генераторами Nx: подсказывает агенту, как создать библиотеку или приложение в монорепозитории и не сломать существующие шаблоны. CX Codex +1 4 000установок link-workspace-packages Скилл link-workspace-packages для Claude Code настраивает зависимости между пакетами монорепозитория через менеджер пакетов и разрешает импорты из соседних пакетов. CX Codex +1 3 200установок nx-import Скилл nx-import помогает переносить сторонние репозитории и папки в существующий монорепозиторий Nx с сохранением истории Git. CX Codex +1 2 800установок monitor-ci Скилл monitor-ci отслеживает пайплайны Nx Cloud CI и запускает сценарии самовосстановления упавших билдов через MCP. Пригодится при частых прогонах тестов и PR. CX Codex +1 2 000установок nx-cloud-cache-investigator Скилл nx-cloud-cache-investigator для Claude Code разбирает сбои кэша задач Nx и сравнивает выполнения. Запускается по вопросу о промахе кэша, восстановлении артефакта или устаревшем результате. CX Codex +1 127установок nx-cloud-api Скилл nx-cloud-api для Claude Code, который читает данные рабочего пространства через публичный API Nx Cloud. Агент подключает его для просмотра запусков CI, задач, кэша и сведений об API. CX Codex +1 121установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой