Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Defines keyboard shortcut conventions for Supabase Studio: the shortcut registry, useShortcut, tooltips, and search input Escape handling.
55% 100%+45 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 12 of 22 without it.
We are adding a new group of shortcuts called 'Edge Functions' to Supabase Studio. We want these shortcuts to show up under a dedicated heading in the shortcut help modal (`Shift+?`). What two files must be updated to establish the display ordering and section title?
Adds the group key to SHORTCUT_REFERENCE_GROUP_ORDER in referenceGroups.ts.
This test ran on v1. v2 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
When Studio UI changes introduce or materially alter repeated user actions, consider whether keyboard shortcut coverage should be added or updated. Shortcuts use the shared Studio shortcut system and must be discoverable from the visible UI.
keydown listener for a normal Studio action — register it through the shortcut registry and useShortcut.ShortcutTooltip, ShortcutBadge, or a command-menu badge.G then … chords are reserved for navigation.Mod+letter shortcuts that overlap common browser, editor, system, copy/save/search, or devtools behavior.<Input> gets onKeyDown={onSearchInputEscape(...)} — see Search inputs.apps/studio/state/shortcuts/registry.ts or apps/studio/state/shortcuts/registry/*.useShortcut.enabled.ShortcutTooltip or ShortcutBadge.showInSettings: false on contextual shortcuts (scoped to a specific page state, sheet, or panel).Shift+?) automatically; set group ordering via SHORTCUT_REFERENCE_GROUP_ORDER (and labels for SHORTCUT_REFERENCE_GROUPS via SHORTCUT_REFERENCE_GROUP_LABELS) in apps/studio/state/shortcuts/referenceGroups.ts, or add prefix-group labels to GROUP_LABELS in apps/studio/components/ui/GlobalShortcuts/ShortcutsReferenceSheet.tsx.<Sheet> is open), mount useShortcut inside the sheet component gated by the open prop ({ enabled: open }) — apps/studio/components/interfaces/Platform/Webhooks/PlatformWebhooksDeliveryDetailsSheet.tsx is the canonical example. A shortcut that opens a sheet from anywhere is global instead, gated by whatever makes the action valid (e.g. useConnectSheetShortcut checks project health).Every <Input> used as a search or filter field must include the staged-Escape handler from apps/studio/lib/keyboard.ts:
import { onSearchInputEscape } from '@/lib/keyboard'
;<Input
value={query}
onChange={(e) => setQuery(e.target.value)}
onKeyDown={onSearchInputEscape(query, setQuery)}
/>
Behavior:
Next to this one in the catalogue, plus more from the same author.