Zum Inhalt springen
Kitbay
Skill

add-extension-settings

MITAktualisiert am 11. Nov. 2026140.862GitHub-Sterne

A skill shipped in the PowerToys Command Palette extension template that shows an extension author how to give an extension its own settings page, with Command Palette storing the values.

Was der Skill vermittelt

A skill shipped in the PowerToys Command Palette extension template that shows an extension author how to give an extension its own settings page, with Command Palette storing the values. The agent builds a settings manager holding toggle, text and choice settings, each with an ID, label, description and default, and listens for changes. It assigns those settings to the command provider so the page appears in Command Palette, passes the manager into pages that read values by ID, and can group related settings and clear cached data so pages refresh when a value changes. It links to a sample settings page in the PowerToys repository.

Funktionen

  • Add toggle, text and choice settings to an extension
  • Show a settings page in Command Palette
  • Read setting values inside extension pages
  • Refresh pages when a setting changes