Repository navigation
feat(skill): add a cmdk-engine Agent Skill - #120
Merged
Merged
Conversation
Entry points, CommandItem fields, provider config options, CommandPalette props, hooks and route discovery, checked against the 0.6 exports.
skills/cmdk-engine/SKILL.md teaches coding agents to add a Cmd+K palette: install with the project's package manager, provider setup, registering commands and groups, the shortcut, search and frecency ranking, routers, SSR, styling and common pitfalls. Installable with npx skills add Priyans-hu/cmdk-engine.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Makes cmdk-engine installable as an Agent Skill, so it can be listed on skills.sh.
skills/cmdk-engine/SKILL.md: teaches a coding agent to add a Cmd+K palette to a React app. Install with the project's package manager, minimal setup, registering commands and groups, the shortcut, search, synonyms and frecency ranking, routers and Next.js, SSR, styling and common pitfalls.skills/cmdk-engine/references/api.md: entry points,CommandItemfields, provider config,CommandPaletteprops and hooks, for anything the skill body does not show.No package code changes.
skills/is outsidefiles, so the npm tarball is unchanged. The skill uses only package-manager installs (no remote scripts). The repo has no.claude/skillsdev skills to hide.Install
Testing
skills-ref validate skills/cmdk-engine: valid.npx skills add <this branch> -l: finds exactly one skill,cmdk-engine.SKILL.mdandreferences/api.mdpasstsc --noEmit(strict) against the publishedcmdk-engine@0.6.0andcmdk@1.1.1in a React 19 + TypeScript fixture. A negative control (a made-up hook, anopenprop) fails as expected..claude/skills/, prompt "Add a Cmd+K command palette to this app", project settings only, limited tools, $1 cap. The skill loaded as the first tool call. The agent installedcmdk-engineandcmdkwith npm (the lockfile's manager), addedsrc/command-menu.tsx(provider,<CommandPalette dialog />,useCommandPaletteShortcut()), registered four commands withuseCommandRegisterunder configuredgroups, wrapped the app and added theme-aware styles. Cost $0.68, 23 turns.tsc --noEmitpasses on the result.