Command Palette

Search for a command to run...

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

vscuse-scenario-authoring

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

Use when: reading a docs scenario, PRD, mockup, or user flow and using vscuse-ui/noVNC as the primary authoring surface to record, generate, replace, or…

OfficeDevот OfficeDev★ 795 звёзд на GitHub

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

vscuse Scenario Authoring

Goal

Use docs, PRDs, scenarios, or mockups as the source of truth for vscuse coverage. Use vscuse-ui and noVNC as the primary authoring surface: execute the scenario in a real vscuse desktop, decide whether product behavior matches the docs, and then update existing test coverage or generate a new plan. Use vscuse execute afterward as the final CI-parity validation.

This workflow is for authoring or refreshing vscuse coverage. For diagnosing an already-failing case, use vscuse-case-diagnosis.

Required Inputs

  • Docs/mockup/scenario path or quoted scenario text.
  • The feature area or expected user workflow.
  • Whether the expected UI already exists in product code. vscuse-ui cannot execute future UI that has not been implemented.
  • Feature flags from the docs scenario, especially any ## Feature flags section or acceptance criteria that depends on featureFlag(...).
  • The intended validation case boundary: start state, one primary behavior, and success state.

Core Rules

  • Docs/mockups define expected behavior, but vscuse-ui does not automatically understand or execute docs. The agent or human must perform the scenario in the live noVNC desktop.
  • Prefer vscuse-ui for creating or repairing case steps. It is the fastest way to inspect live UI state, record changed interactions, refresh screenshots, and edit steps. Treat the CLI as the final verifier, not the primary authoring surface.
  • Use the integrated browser at http://localhost:6080/vnc.html as the live evidence surface.
  • Treat vscuse-ui generated plans as drafts until cleaned, parsed, and rerun with vscuse execute.
  • Archive every local vscuse execute using the repository-root artifact command in local-vscuse-validation: a unique gitignored .local/test-reports/<timestamp>-<plan-name>/ directory containing run.log and test_report.html.
  • If product behavior does not match the docs, classify it as a product gap or bug before changing coverage.
  • When a draft scenario explicitly replaces shipped behavior, treat the draft doc as the source of truth for the covered case. Existing vscuse steps that encode the old behavior are test plan drift, even if they used to pass.
  • A product journey, product scenario, and validation case are different units. Follow the definitions in docs/01-product/scenarios/README.md; do not turn a complete journey into one long plan by default.
  • Apply the independent-execution rules below to newly authored or materially refreshed cases. Existing plans remain valid until they are migrated; do not perform metadata-only rewrites across the current plan library.
  • A new or materially refreshed validation case must be independently executable and retryable: it creates or loads its own declared start state, owns setup/assertions/cleanup, and does not consume another case's workspace or ephemeral cloud resources.
  • Split cases at deterministic, reconstructable state boundaries, not mechanically at every command. A remote-preview case may still provision and deploy when those steps share inseparable ephemeral resources.
  • Do not generate the Cartesian product of lifecycle × language × authentication × feature flags. Add a case only when a dimension changes user-visible UI, generated output, runtime behavior, or a meaningful failure domain.
  • Do not commit empty r_*.json recordings or exploratory generated plans.
  • Do not hardcode app names, paths, tenant data, API keys, or secrets captured during recording.
  • Scenario feature flags must enter the target plan as plan_metadata.tags entries such as feature_flag:TEAMSFX_MCP_FOR_DA_DT=true. Do not leave them only in a local shell command or narrative notes.
  • Feature-flag tags document the requirement but do not inject the container environment. Confirm the runner/config passes each flag before classifying behavior, and count a flag as covered only when the case reaches and asserts its gated branch.
  • Prefer keyboard-driven steps over pointer-driven steps when authoring or cleaning recordings. Quick picks, command palette commands, focused default buttons, and simple selections should usually become key_press/type_text steps instead of coordinate click steps.
  • When converting quick-pick clicks to key_press enter, preserve or create the wait condition that proves the intended row is loaded and highlighted. A keyboard action without a prompt-specific precondition can run before the list appears and type subsequent input into the wrong quick pick.
  • When recording captures equivalent labels for the same action, such as Teams Add versus Open, author the case around the shared user intent: assertion accepts either label, the action is semantic/OCR-backed when keyboard is unavailable, and the next assertion verifies the converged outcome.
  • When a prompt is conditional, record the observed UI first, then convert it into an optional guarded step: prom
Полный SKILL.md на GitHub

Установить vscuse-scenario-authoring в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл vscuse-scenario-authoring?

Use when: reading a docs scenario, PRD, mockup, or user flow and using vscuse-ui/noVNC as the primary authoring surface to record, generate, replace, or update vscuse test plans; decide existing coverage vs new case; validate product behavior against docs, then finish with vscuse CLI validation.

Как установить скилл vscuse-scenario-authoring?

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

Скилл vscuse-scenario-authoring запускает скрипты?

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

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

Сравнить vscuse-scenario-authoring с