Communitygithub.com

microsoft/validate-ui-scenario

Use ao reproduzir um bug de UI ou verificar uma correção, dirigindo uma janela real do VS Code de ponta a ponta e capturando evidências. Escreve um arquivo de cenário, executa-o em uma build de desenvolvimento ou no Insiders instalado e produz um vídeo com legendas, capturas de tela por etapa, um trace do Playwright e um relatório HTML para anexar a um problema ou pull request.

O que é validate-ui-scenario?

Esta skill automatiza a validação de bugs de interface do usuário no VS Code, gerando evidências visuais detalhadas para reproduzir um problema ou verificar uma correção. Ela cria um arquivo de cenário que descreve os passos manuais, executa esse cenário em uma janela real do VS Code (seja usando uma build de desenvolvimento ou o VS Code Insiders instalado) e coleta evidências completas. O resultado inclui um vídeo com legendas de cada ação, capturas de tela individuais por etapa, um trace do Playwright para análise detalhada da interação e um relatório HTML consolidado. Essa skill é particularmente útil para desenvolvedores que precisam demonstrar bugs complexos de UI ou validar correções de forma reprodutível, fornecendo material rico para anexar a issues ou pull requests, eliminando a necessidade de gravações manuais ou descrições ambíguas. Suporta qualquer sistema operacional onde o VS Code e o Playwright possam ser executados.

Funciona com~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/microsoft/vscode/tree/main/.github/skills/validate-ui-scenario

Perguntar na sua IA favorita

Abre um novo chat com esta habilidade de agente já pré-carregada.

Documentação

O que validate-ui-scenario faz?

Use ao reproduzir um bug de UI ou verificar uma correção, dirigindo uma janela real do VS Code de ponta a ponta e capturando evidências. Escreve um arquivo de cenário, executa-o em uma build de desenvolvimento ou no Insiders instalado e produz um vídeo com legendas, capturas de tela por etapa, um trace do Playwright e um relatório HTML para anexar a um problema ou pull request.

Individual skills in this repo

This repo contains 10 individual skills — each has its own dedicated page.

microsoft/accessibility

Primary accessibility skill for VS Code. REQUIRED for new feature and contribution work, and also applies to updates of existing UI. Covers accessibility help dialogs, accessible views, verbosity settings, signals, ARIA announcements, keyboard navigation, and ARIA labels/roles.

microsoft/agent-sessions-layout

Agents workbench layout — covers the fixed layout structure, grid configuration, part visibility, editor modal, titlebar, sidebar footer, and implementation requirements. Use when implementing features or fixing issues in the Agents workbench layout.

microsoft/author-contributions

Identify all files a specific author contributed to on a branch vs its upstream, tracing code through renames. Use when asked who edited what, what code an author contributed, or to audit authorship before a merge. This skill should be run as a subagent — it performs many git operations and returns a concise table.

microsoft/azure-pipelines

Use when validating Azure DevOps pipeline changes for the VS Code build. Covers queueing builds, checking build status, viewing logs, and iterating on pipeline YAML changes without waiting for full CI runs.

microsoft/fix-errors

Guidelines for fixing unhandled errors from the VS Code error telemetry dashboard. Use when investigating error-telemetry issues with stack traces, error messages, and hit/user counts. Covers tracing data flow through call stacks, identifying producers of invalid data vs. consumers that crash, enriching error messages for telemetry diagnosis, and avoiding common anti-patterns like silently swallowing errors.

microsoft/hygiene

Use when making code changes to ensure they pass VS Code's hygiene checks. Covers the pre-commit hook, unicode restrictions, string quoting rules, copyright headers, indentation, formatting, ESLint, and stylelint. Run the hygiene check before declaring work complete.

microsoft/memory-leak-audit

Audit code for memory leaks and disposable issues. Use when reviewing event listeners, DOM handlers, lifecycle callbacks, or fixing leak reports. Covers addDisposableListener, Event.once, MutableDisposable, DisposableStore, and onWillDispose patterns.

microsoft/sessions

Agents window architecture — covers the agents-first app, layering, folder structure, chat widget, menus, contributions, entry points, and development guidelines. Use when implementing features or fixing issues in the Agents window.

microsoft/tool-rename-deprecation

Ensure renamed built-in tool references preserve backward compatibility. Use when renaming a toolReferenceName, tool set referenceName, or any tool identifier. Run on ANY change to tool registration code. Covers legacyToolReferenceFullNames for tools and legacyFullNames for tool sets.

microsoft/update-screenshots

Download screenshot baselines from the latest CI run and commit them. Use when asked to update, accept, or refresh component screenshot baselines from CI, or after the screenshot-test GitHub Action reports differences. This skill should be run as a subagent.

Habilidades Relacionadas