shadcn-errors-cmdk-version-drift
OfficialFix shadcn Command bugs from cmdk drift.
Software Engineering#debugging#shadcn ui#focus management#version drift#command palette#cmdk#filter signature
AuthorImpertio-Studio
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It fixes shadcn ui Command component failures caused by drift between the shadcn registry-generated wrapper and the installed cmdk version, which can break filtering, clicking, focus, exports, and even crash rendering.
Core Features & Use Cases
- Diagnose drift causes quickly by mapping symptoms to the six common cmdk drift traps (filter signature mismatch, case-sensitive custom filtering, Vaul focus duel, shouldFilter=false full-list trap, CommandLoading export gap, and wrapper/core version mismatch).
- Apply correct, version-aware fixes including rewriting filter functions to the cmdk 1.0+ 3-argument signature, enforcing case normalization in custom filters, and regenerating or pinning cmdk so the wrapper matches the runtime API.
- Repair composition and runtime structure by ensuring CommandItem (and related subcomponents) are rendered under CommandList to avoid the Symbol.iterator crash, and by pairing shouldFilter=false with client/server filtering and a proper loading component.
Quick Start
Use the skill to troubleshoot a broken shadcn Command palette or Combobox by running the drift checks and then applying the matching fix strategy (pin cmdk, re-run shadcn add command --overwrite, or upgrade and migrate filter signatures).
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: shadcn-errors-cmdk-version-drift Download link: https://github.com/Impertio-Studio/shadcn-ui-Claude-Skill-Package/archive/main.zip#shadcn-errors-cmdk-version-drift Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.