{"id":48629,"plugin_id":"plugin_asdk_app_6abd682abcbc8191b992c346a4afe819","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-10-24T13:37:00.668Z","digest":"3a9a4b07060a79d34a534858d41f6759d170e7c319715e9682d6c9f508172736","against":null,"payload":{"description":"Introduce, add, debug, or migrate TanStack Hotkeys for typed shortcuts, key sequences, held-key tracking, and shortcut recording.","included_files":[{"relative_path":"agents/openai.yaml","size_in_bytes":106}],"name":"tanstack-hotkeys","skill_md_contents":"---\nname: tanstack-hotkeys\ndescription: Introduce, add, debug, or migrate TanStack Hotkeys for typed shortcuts, key sequences, held-key tracking, and shortcut recording.\n---\n\n# TanStack Hotkeys\n\nTyped shortcuts, key sequences, held-key tracking, and shortcut recording.\n\nUse it for: Keyboard commands need consistent platform handling and scopes.\n\nUsually unnecessary for: A page with no shortcut workflow or one native control that already has keyboard behavior.\n\n## Install and try\n\nUse the project's framework and package manager. These examples target the current official documentation checked on September 30, 2026. Match installed versions before copying them into an existing project.\n\n```sh\nnpm install @tanstack/react-hotkeys\n```\n\nMinimal example, paste into an existing React app:\n\n```tsx\nimport { useState } from 'react'\nimport { useHotkey, formatForDisplay } from '@tanstack/react-hotkeys'\nexport function Save() {\n  const [saved, setSaved] = useState(false)\n  const save = () => setSaved(true)\n  useHotkey('Mod+S', save, { preventDefault: true })\n  return <button onClick={save}>{saved ? 'Saved' : 'Save'} <kbd>{formatForDisplay('Mod+S')}</kbd></button>\n}\n```\n\nMod maps to Command on macOS and Control elsewhere. Preserve input typing, scope shortcuts to the correct UI, and test browser conflicts. Provide a visible clickable control for each command. Enable shortcuts only when their target action is available.\n\n## Implement, debug, or migrate\n\nRead the project's package manifest and lockfile before changing dependencies. Load version-matched TanStack Intent guidance with `npx @tanstack/intent@latest list`, then `npx @tanstack/intent@latest load` followed by a concrete identifier returned by the list. Do not invent skill names or assume every version includes skills. If no relevant skill is packaged, use the installed version's official docs and source. Current web docs can describe a newer API than the lockfile.\n\nFor an existing project, reproduce the failure and change the smallest relevant integration. For migration, read the version-specific migration guide and preserve behavior through a small verified slice before migrating the rest. Run the project's relevant build and checks, then verify the user-visible feature. Do not add unrelated TanStack packages.\n\nIn ChatGPT without a shell or repository tools, use the connected documentation tools and provide the code and exact commands for the user to run. Never claim files were edited, packages installed, or checks passed without execution evidence.\n\n[Official docs](https://tanstack.com/hotkeys/latest/docs/framework/react/quick-start) · [Version-matched guidance](https://tanstack.com/intent/latest/docs/overview)\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}