cmdk-actions

Installation
SKILL.md

Adding Actions to the Command Palette (cmdk)

Sentry's Command+K palette is built on a tree-collection system where CMDKAction components register themselves via React context. Actions render wherever in the component tree they live — no central registry to update.

Core files

  • static/app/components/commandPalette/ui/cmdk.tsxCMDKAction component (the only primitive you need)
  • static/app/components/commandPalette/types.tsx — public types + cmdkQueryOptions helper
  • static/app/components/commandPalette/ui/commandPaletteSlot.tsxCommandPaletteSlot for scoping
  • static/app/components/commandPalette/ui/commandPaletteGlobalActions.tsx — always-on global actions

The Three Slots

Slots control sort order and lifetime. Import from commandPaletteSlot.tsx:

Installs
18
GitHub Stars
44.4K
First Seen
Apr 25, 2026
cmdk-actions — getsentry/sentry