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

e2e-red-triage — скилл для Claude Code: разбор E2E-сбоев

Скилл e2e-red-triage для Claude Code классифицирует неожиданный сбой E2E-теста как дефект продукта или проблему окружения. Загружайте его вручную, когда запускатель тестов назвал конкретный сбой.

Apache-2.0 ★ 869 обновлён 2026-11-16

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add sno-ai/sno-station-skills --skill e2e-red-triage -a claude-code
Открыть на GitHub

Что делает e2e-red-triage

Скилл разбирает один неожиданный сбой сквозного теста после того, как все проверки preflight прошли успешно. Он помогает отделить дефект продукта от проблем окружения, зависшего запуска или сбоя тестовой обвязки. Автоматически скилл не загружается.

Сначала он предлагает записать возможные трактовки результата и добавить в артефакт поле с причиной пустого или неопределённого значения, не меняя поведение продукта. После повторного запуска результат относят к одной из категорий: source, environment, stuck или harness. Для закрытия разбора находку превращают в новую проверку preflight и записывают её в red scoreboard. Нужны инструменты чтения и записи файлов и оболочка; обычный сбой с ясной причиной этот протокол не разбирает.

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

  • разделить дефект продукта и сбой окружения
  • выяснить причину пустого или неопределённого результата теста
  • классифицировать сбой по категориям source, environment, stuck и harness
  • добавить новую проверку preflight после диагностики

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

  • Разбери сбой строки <row-id>: все проверки preflight прошли, но результат пустой.
  • Определи, относится ли этот сбой E2E-теста к продукту, окружению, зависшему запуску или тестовой обвязке.
  • Помоги диагностировать неожиданный сбой теста и оформить новую проверку preflight.

Как установить e2e-red-triage

1Через Skills CLI (Vercel)

npx skills add sno-ai/sno-station-skills --skill e2e-red-triage -a claude-code

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

~/.claude/skills/e2e-red-triage/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/e2e-red-triage/

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

Вопросы об e2e-red-triage

Как установить e2e-red-triage в Claude Code?

Выполни npx skills add sno-ai/sno-station-skills --skill e2e-red-triage -a claude-code. Файл скилла находится по пути ~/.claude/skills/e2e-red-triage/SKILL.md.

Что делает e2e-red-triage?

Он разбирает один неожиданный сбой E2E-теста после успешного preflight и относит его к дефекту продукта или проблеме окружения, зависшему запуску либо тестовой обвязке. Итогом должна стать новая проверка preflight.

Когда загружать e2e-red-triage?

Только вручную, когда запускатель тестов указал конкретный сбой. Скилл не загружается автоматически и рассчитан на случай, когда все проверки preflight прошли.

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

SKILL.md · Apache-2.0
---
name: e2e-red-triage
description: "Classify one unexpected end-to-end test failure as a product defect or an environment fault needing a new preflight check. MANUAL-ONLY: load when the suite runner names a specific failure. NEVER auto-load from context."
requires:
  programs: []
  harness:
    - {slot: 4.shell, need: required}
    - {slot: 4.file-read-write, need: required}
---

# e2e-red-triage — for the reds the preflight could not have predicted

Terms are as in `e2e-environment-preflight`: a **row** is one acceptance check in the test plan, a **red** is a row that failed or gave no answer, a **journey** is one end-to-end scenario made of rows, the **suite** is all the rows of a journey, and **preflight** is the set of environment checks that must be green before the first row runs.

**Never auto-triggered, and normally never needed.** One caller — the agent running the suite —
and one moment:

> The `e2e-environment-preflight` checks were **all green**, and a row went **red anyway** — or produced a
> null, an empty, a zero, or a silence nobody can yet explain.

If preflight was not green, the suite should not have started. If a red is an ordinary product
failure with a clear cause, fix it and move on; this is not the ceremony for an ordinary bug.
This is the residual after the gate has done its work — a small fraction, and one
that shrinks every time move 3 is honoured.

## Why this needs its own protocol

The preflight handles the failures somebody could enumerate in advance. What is left is the class
where **the failure produced nothing rather than an error, and the nothing appeared far from its
cause.** One null can mean five different things across five runs of the same suite; "no results" can mean the query matched nothing or the search never ran.

The hours such a red costs are spent **attributing an absence** — arguing about what a missing
thing meant, from evidence that never contained the answer. Guessing feels faster than
instrumenting and is not: a wrong guess costs a full suite run to disprove, and a *plausible*
wrong guess is worse than an implausible one because it stops the search.

The deeper version, and the one worth carrying: **the failure is usually a two-part outcome
collapsed into one verdict.** An HTTP 202 "accepted" means the request was queued, not that the work was done, and both caller and monitor read it as success until someone looks. A cleanly stopped service records
an exit code that looks like a crash. In each case the evidence was there, in plain
words, and nobody split it.

**So the first question is never "why did it fail" — it is "what are the two halves of this
result, and which half am I looking at?"**

## The three moves, in order

These are defaults; a project may choose otherwise and record it in its local binding.

### 1. Do not guess. Enter diagnosis.

Stop proposing causes. Write down first the two things this result could be a collapse of:
succeeded versus reached, stopped versus crashed, empty versus unreadable, absent versus
never-asked, zero-matches versus source-missing.

### 2. The first change makes the absence name itself. Not the product.

**The first commit after this kind of red does not touch product behaviour.** It changes whatever
produced the empty so that it says *why* it is empty — in the artifact, as a field, not in a log
line, which is read only by someone who already suspects the answer.

    result: null
    →  result: {value: null, because: "<the reason, as a code>"}

Then re-run. Only now diagnose. This inverts the usual instinct and that is the point:
instrumenting first looks slower for one iteration and is faster from the second onward, because
every future occurrence of this absence becomes a single read instead of an investigation.

Two shapes to watch for here, because both report health while broken:

- **A check that passes when its input source is missing.** A count over a path that does not
  exist returns zero — the same zero a real path with no matches returns. Before any "it is
  absent" claim, prove the place you looked at is real, then look.
- **A condition that can no longer fire.** An alarm testing an absolute count rather than a delta
  switches itself off permanently the first time the count moves.

Feed every new check a known-wrong input and watch it go red. Instruments fail toward "healthy".

### 3. The exit condition: come back with a durable check.

**A diagnosis is not the end. The finding becomes a new preflight check for that system and a line in that system's primer (see `e2e-environment-preflight`), or this red is not closed.**

Invoke `e2e-environment-preflight` to write it, and record the red in the red scoreboard described in `e2e-environment-preflight`, with its bucket and the new check's id:

    {"row":"<row-id>","bucket":"environment","note":"…","owed_check":"<check-id>"}

This is the only mechanism that makes the residual shrink. Without it the same class of absence
is rediscovered every campaign and the gate never gets stronger — the process runs, everyone is
diligent, and the hours are spent again. **Hitting the wall is allowed; coming back with nothing
durable is not.**

## Classify before you close

Every red gets exactly one bucket — `source`, `environment`, `stuck`, `harness`. Be honest about
`stuck`: a run that produced no verdict at all is not a pass and not a skip, and burying it is how
a campaign reports coverage it never had.

The counts are the point. A journey whose reds are mostly `source` found bugs. One whose reds are
mostly `environment` or `stuck` measured its own setup, and the fix for that is upstream in the preflight — never another round here.

© sno-ai · Apache-2.0 · sno-ai/sno-station-skills

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

Все скиллы по теме «Тесты и QA» →
ai-red-teaming devops-skills Скилл ai-red-teaming для проверки LLM-приложений атаками: джейлбрейки, утечка данных, злоупотребление инструментами агента. Пригодится перед запуском фичи на модели. CX Codex +1 401установок e2e-testing-patterns Seth Hobson Скилл e2e-testing-patterns помогает проектировать E2E-тесты для критических пользовательских сценариев с Playwright и Cypress. Пригодится при отладке flaky-тестов и настройке стандартов. CX Codex +1 24 343установок bmad-qa-generate-e2e-tests bmad-code-org Скилл bmad-qa-generate-e2e-tests для Claude Code создаёт сквозные и API-тесты для уже работающих функций. Агент подключает его по запросу на автотесты существующей функции. CX Codex +1 17 200установок red-green-proof Alireza Rezvani Скилл red-green-proof для Claude Code, который превращает предполагаемый баг в доказанный: пишет тест, который сначала падает, затем проходит после фикса, затем снова падает после отката. CX Codex +1 3установок e2e-testing affaan-m Скилл e2e-testing для Claude Code содержит паттерны E2E-тестирования на Playwright: настройку Page Object Model, конфигов запуска и изоляцию нестабильных сценариев. CX Codex +1 7 200установок argent-qa-e2e software-mansion Скилл argent-qa-e2e для Claude Code создаёт повторяемые QA-регрессионные e2e-тесты. Агент подключает его по запросу написать тест по кейсу, тикету или критериям приёмки. CX Codex +1 6 900установок

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

Весь набор →
rust-coder Скилл rust-coder для Claude Code помогает писать и менять код на Rust с учётом устройства репозитория. Включается для новых функций, рефакторинга и миграций, в том числе при крупных изменениях .rs и Cargo.toml. CX Codex +1 ★ 869звёзд репо python-coder Скилл python-coder для Claude Code помогает писать и перерабатывать production-код на Python, включая FastAPI и Pydantic. Подключается к задачам с асинхронным кодом и миграциями. CX Codex +1 ★ 869звёзд репо owner-intent-audit Скилл owner-intent-audit для Claude Code сверяет планы, тесты и код с намерением владельца проекта. Запускается перед одобрением или слиянием изменений. CX Codex +1 ★ 869звёзд репо less-is-more Скилл less-is-more для Claude Code помогает писать меньше кода и находить лишнее в готовых изменениях. Включается при разработке, исправлении, рефакторинге и ревью кода. CX Codex +1 ★ 869звёзд репо first-principles-review Скилл first-principles-review для Claude Code проверяет продуктовые идеи, PRD и архитектуру от первых принципов. Он запускается только по прямому запросу с названием скилла и создаёт локальный отчёт с передачей для написания PRD. CX Codex +1 ★ 869звёзд репо e2e-environment-preflight Скилл e2e-environment-preflight для Claude Code проверяет внешние зависимости перед сквозным тестированием. Он запускается только по прямому запросу или по указанным сценариям работы с планом и тестами. CX Codex +1 ★ 869звёзд репо charter Помогает написать, изменить или проверить charter — документ с результатом работы, границами задачи и проверками. Запускается, когда перед передачей работы исполнителю нужен письменный план. CX Codex +1 ★ 869звёзд репо agentic-walkthrough Скилл agentic-walkthrough для Claude Code проверяет, что успешный запуск действительно изменил данные или вызвал нужное действие. Он проходит путь от точки входа до результата и ищет наблюдаемый след каждого шага. CX Codex +1 ★ 869звёзд репо

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

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