Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

rstack-eco-ci-debug

БесплатноЗапускает вложенные скриптыНе проверен

Triage Rstack ecosystem CI (eco-ci, rstack-ecosystem-ci), including daily multi-ecosystem status, green-to-red pivots, and Rspack canary bisects. Attribute…

rstackjsот rstackjs★ 101 звезда на GitHub

Об этом скилле

Rstack eco CI debug

Use this skill to debug Rstack ecosystem CI failures without over-blaming the first upstream commit that appears red in status data.

Supported ecosystems are rspack, rsbuild, rslib, rspress, rstest, and rsdoctor. Each maps to origin/data:<ecosystem>.json in rstack-ecosystem-ci.

Choose the ecosystem before investigating. In this skill:

  • selected ecosystem or upstream is the project whose commit produced the status row, for example rslib in rslib.json.
  • suite is a downstream project tested against that upstream artifact, for example the rspress suite inside rslib.json.
  • Never infer the selected ecosystem from the failing suite name.

Ecosystem priority

Treat rspack as the primary ecosystem because it has the broadest downstream matrix and is normally the highest-volume source of eco-ci failures.

  • For an all-ecosystem request, inspect and live-verify rspack first, then continue through rsbuild, rslib, rspress, rstest, and rsdoctor.
  • Put the Rspack row first in summary matrices and put current rspack/<suite> failure sections before failures from other ecosystems.
  • Priority controls ordering and investigation attention, not coverage. Never stop after Rspack when the requested scope includes other ecosystems.

Preconditions

Use local checkout paths already supplied by the user or automation. If a required path is missing, ask for that specific path; do not assume machine-specific paths.

  • Local upstream checkout — required for inspecting commits and reviewing PR diffs. Ask for the selected ecosystem's checkout before running git -C <upstream-path> unless the user or automation already provided it.
  • Local downstream project checkout — required for reproduction edits. Ask for it before making approved temporary changes to package.json, pnpm-lock.yaml, or equivalent package-manager files.
  • Local rstack-ecosystem-ci checkout — optional. If available, use origin/data:<ecosystem>.json as the first local status source. Pass the checkout path to scripts/ecosystem-status.sh --ecosystem <ecosystem> --repo <ecosystem-ci-path>.
  • GitHub access — prefer authenticated gh for the upstream repository and rstackjs/rstack-ecosystem-ci. If gh is unavailable, use the matching origin/data:<ecosystem>.json, workflow/job URLs, and the GitHub connector or public pages where available; state any evidence gap in the report.

Fetch the local upstream repo before resolving commits:

git -C <upstream-path> fetch origin main --tags
  • Treat GitHub Actions job logs as the source of truth for failure signatures.
  • Do not modify project files unless the user explicitly asks for a fix or approves temporary reproduction edits. Temporary reproduction edits must be recorded and restored before reporting results unless the user asks to keep them.

Investigation model

Each ecosystem CI runs a downstream project matrix against a freshly built artifact from the selected upstream. A suite turning red means that a specific combination failed:

current downstream project state + tested upstream artifact

It does not automatically mean the visible upstream pivot PR is the true root cause. Downstream dependency updates, snapshot changes, test logic changes, and release windows can all create misleading pivots.

Some eco-ci failures are flaky even when they appear as a clean green-to-red transition. Repeated selector timeouts, browser navigation waits, dev-server readiness failures, and network-idle waits must be checked against old commit comments, old failed runs, and automation memory before attributing them to the current pivot.

Always distinguish:

  • Surface attribution: the selected upstream commit/PR where status data first shows the suite red.
  • Actual source: the PR, version window, or downstream change that actually introduced the failing condition.
  • Failure signature: the stable error text, command, assertion diff, stack, or log block used to compare runs.

Optional tools

Read the linked reference before using any of these tools. Do not ask the user generically "which tool do you want"; instead, suggest the specific tool that matches the situation. Only invoke a tool when its strict trigger conditions are met; do not run it "just in case".

  • Ecosystem status helper — use scripts/ecosystem-status.sh --ecosystem <ecosystem> --repo <ecosystem-ci-path> when you need the latest and previous rows for one supported ecosystem, including failed suite names, job URLs, and suite-set delta. Pass --source <json-path-or-git-ref> for a snapshot or non-default ref. scripts/rspack-status.sh remains as a compatibility wrapper for Rspack. The helper only summarizes status data; it does not inspect logs or attribute root causes.

  • Rspack canary date bisect — use only when the selected ecosystem is rspack, its commit window is too coarse to attribute a PR, and downstream causes have alre

Полный SKILL.md на GitHub

Установить rstack-eco-ci-debug в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

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

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

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

Вложенные файлы

references/automation-daily-triage.mdreferences/canary-date-bisect.mdreferences/deep-pr-debug.mdreferences/pr-report-comment.mdreferences/rsbuild-config-debug.mdscripts/ecosystem-status.shscripts/rspack-status.sh

FAQ

Что делает скилл rstack-eco-ci-debug?

Triage Rstack ecosystem CI (eco-ci, rstack-ecosystem-ci), including daily multi-ecosystem status, green-to-red pivots, and Rspack canary bisects. Attribute failures to upstream or downstream changes while checking for flaky runs.

Как установить скилл rstack-eco-ci-debug?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл rstack-eco-ci-debug запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

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

Сравнить rstack-eco-ci-debug с