Command Palette

Search for a command to run...

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

agilab-ui-robot-validation

БесплатноБез исполняемых скриптовНе проверен

Validate AGILAB native React/Python UI changes with the repo's browser and widget robots. Use when touching ABOUT, PROJECT, ORCHESTRATE, ANALYSIS, SETTINGS…

ThalesGroupот ThalesGroup★ 23 звезды на GitHub

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

AGILAB UI Robot Validation

Use this skill when a change affects user-visible native Python UI behavior, page navigation, sidebar actions, wizard links, notebook import/upload flows, UI screenshots, or public demo evidence.

The goal is to catch real browser/session-state failures that helper tests and static AppTest checks can miss: broken st.switch_page paths, recursive deep-links, hidden upload controls, stale sidebar state, and native Python UI exceptions that only appear after clicking through the UI.

Tool Choice

  • Use focused unit/helper tests first when the bug is pure Python state logic.
  • Use agi_web.testing.AppTest when the failure is widget wiring, page hydration, or session-state initialization and no real browser behavior is needed.
  • Use tools/agilab_web_robot.py for browser-level entrypoint checks, hosted demo checks, screenshots, and notebook upload handoff behavior.
  • Use tools/agilab_widget_robot.py for page-by-page native Python UI widget flows, selected action buttons, artifact assertions, and stateful project journeys.
  • Use tools/agilab_widget_robot_matrix.py when the change touches navigation, sidebar project actions, notebook import, settings, first-launch, or broad UI behavior that must stay consistent across pages.
  • For native React/agi-web page validation, inspect browser dev-log evidence too: console errors/warnings, pageerror, failed requests, and HTTP 4xx/5xx responses. A page is not validated just because the visible DOM rendered when the browser log shows a relevant runtime or asset failure.

Do not replace a deterministic helper regression with a slow robot. Robots are for user journeys, browser-only behavior, and release/public-demo evidence.

Preflight

  1. Confirm the repo is the source checkout you intend to test.
git status --short --branch --untracked-files=no
  1. Check the exact local workflow profile before inventing commands.
uv --preview-features extra-build-dependencies run python tools/workflow_parity.py --profile ui-robot-matrix --print-only
  1. If a change affects release evidence, also inspect the release shortcut.
./dev --print-only release

Fast Local Commands

Use this for a first-launch smoke when the entry shell, ABOUT page, or default navigation changed:

UV_PYTHON=3.13 uv --preview-features extra-build-dependencies run python tools/first_launch_robot.py --json --output /tmp/agilab-first-launch-robot.json

Use this for native Python UI dependency, run-configuration, theme, or blank-page frontend issues. It launches the dev app, checks JS/CSS MIME types, then verifies the first page hydrates in Chromium:

UV_PYTHON=3.13 uv --preview-features extra-build-dependencies run --extra ui --with playwright python tools/agilab_web_robot.py \
  --frontend-smoke-only \
  --timeout 45 \
  --target-seconds 45 \
  --json \
  --screenshot-dir /tmp/agilab-frontend-smoke-screenshots \
  > /tmp/agilab-frontend-smoke.json

Use this for browser-level ABOUT and notebook handoff issues:

UV_PYTHON=3.13 uv --preview-features extra-build-dependencies run --extra ui --with playwright python tools/agilab_web_robot.py \
  --json \
  --screenshot-dir /tmp/agilab-web-robot-screenshots \
  > /tmp/agilab-web-robot.json

Use this for a selected page/action journey. Keep labels exact and fail if the requested action is missing:

AGILAB_WIDGET_ROBOT_RUNTIME_ISOLATION=current-home \
UV_PYTHON=3.13 uv --preview-features extra-build-dependencies run --with playwright python tools/agilab_widget_robot.py \
  --apps flight_project \
  --pages ORCHESTRATE \
  --apps-pages none \
  --json \
  --json-output /tmp/agilab-widget-robot.json \
  --progress-log /tmp/agilab-widget-robot.ndjson \
  --interaction-mode full \
  --action-button-policy click-selected \
  --click-action-labels "CHECK distribute" \
  --preselect-labels "Run now" \
  --missing-selected-action-policy fail \
  --runtime-isolation current-home

Use this when an embedded ANALYSIS app surface must expose app-owned controls without firing callbacks. The text and button probes inspect the top page and child iframes, and --required-action-labels only trial-clicks buttons:

UV_PYTHON=3.13 uv --preview-features extra-build-dependencies run --with playwright python tools/agilab_widget_robot_matrix.py \
  --scenario isolated-pytorch-playground-analysis \
  --json \
  --quiet-progress \
  --no-result-cache \
  --output-dir /tmp/agilab-pytorch-analysis-robot \
  --screenshot-dir /tmp/agilab-pytorch-analysis-robot-screenshots

Use explicit browser-error evidence when React/agi-web, custom components, iframes, or native Python UI frontend assets are part of the change. The widget robot captures Chromium console warnings/errors, pageerror, failed requests, and HTTP error responses into its JSON/progress evidence and failure bundle:

UV_PYTHON=3.13 uv --preview-features extra-build-dependencie
Полный SKILL.md на GitHub

Установить agilab-ui-robot-validation в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл agilab-ui-robot-validation?

Validate AGILAB native React/Python UI changes with the repo's browser and widget robots. Use when touching ABOUT, PROJECT, ORCHESTRATE, ANALYSIS, SETTINGS, sidebar flows, first-proof wizard links, notebook import, screenshots, or public demo UI evidence.

Как установить скилл agilab-ui-robot-validation?

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

Скилл agilab-ui-robot-validation запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить agilab-ui-robot-validation с