AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Tanstack Hotkeys

skill-dobroslavradosavljevic-skills-tanstack-hotkeys · by DobroslavRadosavljevic

Build, review, debug, migrate, or plan TanStack Hotkeys keyboard shortcut systems with current docs. Use for @tanstack/react-hotkeys, @tanstack/hotkeys, useHotkey, useHotkeys, HotkeysProvider, useHotkeySequence, useHotkeySequences, useHotkeyRecorder, useHotkeySequenceRecorder, useHeldKeys, useHeldKeyCodes, useKeyHold, formatForDisplay, shortcut palettes, custom shortcut settings, key sequences, s…

No reviews yet
0 installs
27 views
0.0% view→install

Install

$ agentstack add skill-dobroslavradosavljevic-skills-tanstack-hotkeys

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-dobroslavradosavljevic-skills-tanstack-hotkeys)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Tanstack Hotkeys? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

TanStack Hotkeys

Use this skill when work touches TanStack Hotkeys, especially React keyboard shortcuts, command palettes, shortcut settings UIs, scoped shortcuts, Vim-style sequences, or held-key state.

Workflow

  1. Inspect the local shortcut stack before changing code:
  • Package versions for @tanstack/react-hotkeys, @tanstack/hotkeys, devtools, React, framework adapter, and test utilities.
  • Shortcut shape: one-off hotkeys, dynamic shortcut lists, element-scoped shortcuts, global defaults, sequences, user-recorded bindings, or shortcut palettes.
  • Interaction constraints: focused inputs, modals, command palettes, native browser shortcuts, app modes, disabled state, and accessibility.
  1. Refresh current docs and package evidence when behavior or versions matter. Start from [source-map.md](references/source-map.md).
  2. For installation, package names, HotkeysProvider, useHotkey, useHotkeys, defaults, options, and scoped targets, use [setup-core.md](references/setup-core.md).
  3. For useHotkeySequence, useHotkeySequences, useHotkeyRecorder, useHotkeySequenceRecorder, held-key hooks, and dynamic user shortcuts, use [sequences-recording-state.md](references/sequences-recording-state.md).
  4. For display formatting, shortcut palettes, devtools, SSR notes, accessibility, and testing, use [display-production.md](references/display-production.md).

Implementation Judgment

  • Prefer Mod for cross-platform app shortcuts; it maps to Command on macOS and Control on Windows/Linux.
  • Treat the library as alpha. Verify current docs before relying on edge behavior, especially package names, adapters, recorder options, and sequence handling.
  • Use useHotkey for fixed shortcuts and useHotkeys for dynamic or variable-length lists. Do not call hooks inside loops to register menu data.
  • Scope hotkeys with target refs for panels, editors, and modals. Ensure the target can receive focus, usually with tabIndex.
  • Leave preventDefault and stopPropagation intentional. They default to true, which is right for app shortcuts like Mod+S but wrong when native browser behavior should remain.
  • Respect normal typing. Understand the smart ignoreInputs default before forcing single-key shortcuts to fire in text inputs.
  • Use enabled for mode/state gating. Disabled hotkeys remain registered and visible in devtools; execution is suppressed.
  • Add meta names and descriptions for shortcuts that appear in help screens, command palettes, or devtools.
  • Use recorder hooks only for settings UIs where users customize shortcuts. Persist normalized Hotkey or HotkeySequence values, not display labels.

Verification

Prefer the repo's existing checks. For meaningful TanStack Hotkeys changes, include the relevant subset:

  • Typecheck for hotkey strings, Hotkey/HotkeySequence values, target refs, and adapter imports.
  • Unit or component tests for callback firing, enabled, ignoreInputs, preventDefault, stopPropagation, target focus, and cleanup on unmount.
  • Browser smoke for cross-platform display labels, focused input behavior, modal scoping, command palette shortcuts, and sequence timeouts.
  • Tests with fake timers for sequence timeout, recorder idle commit, and debounced UI around shortcut capture.
  • Devtools inspection for duplicate registrations, disabled registrations, held keys, target scoping, and conflict behavior.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.