sessions

sessions

microsoft 188k ↓ 2k MIT updated 25d ago
Claude Code
View source ↗

What it does

  • Wrong menu IDs: Never use MenuId. from vs/platform/actions for Agents window UI. Always use Menus. from browser/menus.ts.
  • Events instead of observables: Session state must flow through IObservable, not Event. Use autorun/derived for reactive UI, not onDid event listeners.
  • Importing from providers: Non-provider contrib/ code must never import from contrib/providers/. Extract shared interfaces to services/ or common/.
  • Modifying workbench code: Prefer extending/wrapping workbench classes in the sessions layer over modifying shared workbench components.

Requirements & configuration

Configuration: SYNCABLE_STORAGE_SOURCESCHANGES_HEADER_ACTIONS_IDSIDE_PANE_WIDTH_RATIO

Derived from the skill's own SKILL.md documentation · extracted 2026-07-23

sessions

Source

Repository: https://github.com/microsoft/vscode

sessions FAQ

What does the sessions skill do?

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. Wrong menu IDs: Never use MenuId. from vs/platform/actions for Agents window UI. Always use Menus. from browser/menus.ts. Events instead of observables: Session state must flow through IObservable, not Event. Use autorun/derived for reactive UI, not onDid event listeners.

What does sessions require?

Configuration keys: SYNCABLE_STORAGE_SOURCES, CHANGES_HEADER_ACTIONS_ID, SIDE_PANE_WIDTH_RATIO.

How do I install sessions?

Run: npx -y skills add https://github.com/microsoft/vscode --skill sessions --agent claude-code — the source lives at github.com/microsoft/vscode.

Maintain sessions?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

[sessions on getagentictools](https://getagentictools.com/skills/microsoft-vscode-sessions?ref=badge)
npx agentictools info skills/microsoft-vscode-sessions

The second line is the CLI lookup for this page — handy in READMEs and docs.