Design & Frontend ✓ Microsoft · Official vscode-themingcolor-tokenscss-variableswidget-stylingfocus-indicatorshigh-contrast

VS Code Theme and Accessibility Styling

Build consistent, focus-visible, high-contrast VS Code interfaces with theme tokens.

FollowSkills review · FSRS-2.0
Use with care
51/ 100 5-point scale 2.6 / 5
1 2 3 4 5 6
1Trust18 / 25 · 3.6/5

The skill provides guidance only for theming and accessibility styling, with no network, credential, destructive, or external side effects, so its scope is low privilege. It does not specify user confirmation, rollback, data-flow disclosure, or dependency-security handling, so it is not full marks.

2Reliability7 / 20 · 1.8/5

The sections and examples are broadly coherent across color registration, CSS, widgets, focus, and high-contrast paths. However, there are no skill-specific tests, failure diagnostics, or edge-input validation, and the rule that borders must use variables is in tension with hardcoded 1px examples; static calibration limits this to 7.

3Adaptability9 / 15 · 3.0/5

The name, description, and intended scenarios are clear for color registration, widget styling, focus indicators, and high-contrast themes. Non-fit boundaries, input/output contracts, negative triggers, Chinese-language support, and mainland-China environment fit are not documented, so points are deducted.

4Convention8 / 15 · 2.7/5

The document has readable sections, tables, examples, and key-file references; repository context supplies MIT licensing and Microsoft maintenance/update provenance. The skill itself lacks versioning, changelog, dependency/install notes, FAQs, explicit limitations, and a clear maintenance path, and it depends on an unavailable ux-css-layout skill.

5Effectiveness6 / 15 · 2.0/5

The color-registration, CSS-variable, widget-style, focus-trapping, and high-contrast examples are directly useful for the core task. They are not shown to compile or produce verified results, and some rules conflict with examples, so manual review remains necessary and the score stays below the static ceiling.

6Verifiability3 / 10 · 1.5/5

Specific source files, color identifiers, and API names make parts of the guidance auditable. There is no skill-specific test suite, CI evidence, or third-party reproduction, and the supplied workflows do not directly cover this skill’s key paths, so evidence is limited.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 5b3e1be7be9e
The upstream repository has new commits since this review. The score still applies to the reviewed revision shown and may not cover the latest changes.
Before you use it
  • The document prohibits hardcoded border widths, yet several examples still use 1px; verify the actual design-token and source conventions before implementation.
  • The skill depends on ux-css-layout and auto-injected instructions that were not supplied, so size, spacing, radius, and font guidance may not be independently actionable.
  • No skill-specific test evidence is provided for high-contrast behavior, focus trapping, or color registration; validate these paths across target components and supported themes.
See the full review method →

What does this skill do, and when should you use it?

This is the single Agent Skill defined by .github/skills/ux-theming/SKILL.md in the microsoft/vscode repository. It focuses on VS Code theme colors, CSS custom properties, widget styling, focus indicators, and high-contrast support. It guides developers toward the relevant TypeScript and CSS files, theme tokens, focus behavior, and high-contrast overrides. It is a good fit for changes to VS Code workbench or widget appearance where theme consistency and accessibility compliance matter.

Guides an agent through relevant source files including src/vs/platform/theme/common/colorUtils.ts, the color category files, src/vs/platform/theme/browser/defaultStyles.ts, and src/vs/workbench/browser/media/style.css; demonstrates registering light, dark, hcDark, and hcLight defaults with registerColor(); specifies use of --vscode-* custom properties and colorUtils.ts conversion helpers in CSS; describes default widget style objects and override factories for buttons, inputs, lists, menus, and other controls; and gives rules for focusBorder focus styling, modal focus cycling, high-contrast borders, and replacing hardcoded visual values.

  1. A VS Code frontend developer adds a workbench widget and needs registered background, foreground, and border colors across light, dark, and high-contrast themes.
  2. A maintainer updates button, input, list, menu, or find-widget styling and wants to preserve the existing default style and theme-token patterns.
  3. An accessibility engineer reviews a component that must use focusBorder, support programmatic focus indication, and retain visible borders in high-contrast mode.
  4. A code reviewer finds hardcoded colors, shadows, radii, or font values in CSS and needs them replaced with VS Code design tokens or CSS variables.

What are this skill's strengths and limitations?

Pros
  • Covers the main theming tasks: color registration, CSS variables, default widget styles, focus indicators, and high-contrast themes.
  • Provides concrete source paths, code examples, and token names for implementation in the VS Code codebase.
  • Requires all four theme defaults and explicitly discourages hardcoded colors, shadows, and borders.
  • The open-source repository uses the MIT license.
Limitations
  • Its scope is only ux-theming; it does not provide the capabilities of the repository's other 60 skills.
  • The source provides no standalone installation command, scripts, test suite, or automated validation steps.
  • The guidance is tied to VS Code internal source paths and theme tokens rather than being a general-purpose web design-system guide.
  • The source does not document runtime environments or platform validation beyond the repository context.

How do you install this skill?

The Skill is located at https://github.com/microsoft/vscode in .github/skills/ux-theming/SKILL.md. The source does not provide a separate installation command; use requires making the directory containing this file available to an Agent Skills-compatible client. The repository as a whole is licensed under MIT.

How do you use this skill?

In a workspace containing the VS Code source, invoke it with a request such as: "Register complete VS Code theme colors for this new widget, use the default widget styles, and check focus and high-contrast support." The agent should use the SKILL.md rules to inspect the listed source paths and apply --vscode-* variables, focusBorder, contrastBorder, and high-contrast selectors. The source does not specify a dedicated command, script, or automated validation workflow.

FAQ

Does this Skill require additional dependencies?
The source lists no Node.js, Python, Docker, MCP service, or other dedicated dependency, and provides no separate installation command. It does require access to a workspace where the VS Code source files can be inspected and modified.
Will it run tests or commit code automatically?
That cannot be concluded from the source. SKILL.md contains implementation and review guidance, but no scripts, test commands, or commit operations.
Which themes and accessibility requirements does it cover?
It explicitly covers light, dark, hcDark, and hcLight themes, and specifies focusBorder, contrastBorder, activeContrastBorder, and high-contrast selectors for focus and high-contrast behavior.
What is the main adoption limitation?
The main limitation is its dependence on VS Code's internal file paths and theme tokens. Its usefulness should be evaluated separately for tasks outside VS Code internal UI theming.

More skills from this repository

All from microsoft/vscode

Design & Frontend ✓ Microsoft · Official

VS Code Design Philosophy

Turn vague UI discomfort into concrete fixes using shared values, principles, and design moves.

Design & Frontend ✓ Microsoft · Official

VS Code CSS Layout Standards

Build reliable VS Code-style CSS layouts and text truncation behavior

Dev & Engineering ✓ Microsoft · Official

VS Code Configuration Policy Maintainer

Standardize VS Code policy registration, export, and validation.

Dev & Engineering ✓ Microsoft · Official

VS Code Integrated Browser Architecture

A practical architecture guide for safely changing VS Code's cross-process integrated browser.

Dev & Engineering ✓ Microsoft · Official

VS Code Agent Customization Assistant

Create, repair, and troubleshoot VS Code Agent customization files and their loading behavior.

Dev & Engineering ✓ Microsoft · Official

Code OSS Launch & Debug

Launch a built-from-source VS Code with isolated profiles, Playwright control, and multi-process debugging ports.

Dev & Engineering ✓ Microsoft · Official

VS Code Crash Dump Symbolicator

Turn native VS Code crash dumps into readable backtraces with method names.

Dev & Engineering ✓ Microsoft · Official

Local VS Code Web Workbench

Validate VS Code workbench and Agents window changes in a local vscode.dev instance.

Dev & Engineering ✓ Microsoft · Official

VS Code Chat Customizations Editor Skill

Guides developers through safe changes and testing for VS Code’s chat customization management UI.

Dev & Engineering ✓ Microsoft · Official

VS Code Integration Test Runner

Run and filter VS Code repository integration tests with the correct platform scripts.

Dev & Engineering ✓ Microsoft · Official

Copilot Session Troubleshooter

Explain unexpected Copilot CLI behavior from session-log evidence.

Dev & Engineering ✓ Microsoft · Official

Copilot Chat Troubleshooter

Explain unexpected agent behavior, latency, and tool failures from Copilot Chat debug logs.

Dev & Engineering ✓ Microsoft · Official

Run Command Builder

Configure and update commands shown in a VS Code Agent Session's Run button.

Dev & Engineering ✓ Microsoft · Official

VS Code Performance Investigation Workflow

Automate repeatable VS Code scenarios and collect performance and memory evidence.

Dev & Engineering ✓ Microsoft · Official

VS Code Insiders UI Automation

Automate VS Code Insiders and Copilot Chat through Playwright and CDP.

Dev & Engineering ✓ Microsoft · Official

Reusable Prompt Creator

Turn recurring tasks into reusable .prompt.md files.

Dev & Engineering ✓ Microsoft · Official

Search View Results Reader

Reads the existing results in Visual Studio Code’s Search view.

Dev & Engineering ✓ Microsoft · Official

VS Code Project Bootstrapper

Builds complete project scaffolds in VS Code from the requested project type.

Dev & Engineering ✓ Microsoft · Official

Custom Agent Builder

Create a focused .agent.md agent from a job description and the user’s conversation context.

Dev & Engineering ✓ Microsoft · Official

VS Code Extension Installer

Install a VS Code extension from its extension ID.

Related skills