cmdk-actions
Guide for adding new actions to Sentry's Command+K palette. Use when implementing new cmdk actions, registering page-level or global actions, building async resource pickers, or adding contextual actions to a view.
Install
With your agent
Install OMGSkills skill "getsentry/sentry:cmdk-actions" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.
Manual command
git clone https://github.com/getsentry/sentry /tmp/sentry && ln -s /tmp/sentry/.agents/skills/cmdk-actions ~/.claude/skills/cmdk-actions
From README
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.tsx — CMDKAction component (the only primitive you need) static/app/components/commandPalette/types.tsx — public types + cmdkQueryOptions helper static/app/components/commandPalette/ui/commandPaletteSlot.tsx — CommandPaletteSlot for scoping static/app/components/commandPalette/ui/commandPaletteGlobalActions.tsx — always-on global actions --- The Three Slots Slots control sort order and lifetime.
