feat: ship /wt as an agent skill installable via npx skills - #42
Merged
Conversation
Move claude/commands/wt.md to skills/wt/SKILL.md so Vercel's skills CLI (npx skills add johnpangalos/wt) can discover and install it into Claude Code, Cursor, Codex, and other agents. Update the README install docs accordingly. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
What
Converts the
claude/commands/wt.mdslash-command file into a proper agent skill atskills/wt/SKILL.md, and documents installation via Vercel'sskillsCLI:Why
skills/<name>/SKILL.mdlayout is whatnpx skills addauto-discovers, so anyone can install the skill into Claude Code, Cursor, Codex, OpenCode, etc. — no more hand-copying a command file./wt), a skill's frontmatter description lets agents invoke it on their own — e.g. aftergit worktree add, the agent knows to runwt switch <branch>to pop a Ghostty tab. In Claude Code it stays user-invocable as/wttoo.Changes
skills/wt/SKILL.md(content carried over from the command file, plus trigger-oriented frontmatter, agent-awarewt listnote, and an install hint for missingwt)claude/commands/wt.mdnpx skills addinstructions and a manual-copy fallbackVerified
pnpm dlx skills add . --listdiscovers exactly one skill (wt) with the intended description.🤖 Generated with Claude Code