feat: add Claude Code plugin for wt#85
Merged
Merged
Conversation
Adds a Claude Code plugin that teaches Claude how to work with wt-managed git worktrees. Install with `claude plugin add timvw/wt`. - Plugin marketplace manifest (.claude-plugin/marketplace.json) - Plugin definition (plugins/wt/.claude-plugin/plugin.json) - Skill with full command reference, strategies, hooks, and agent workflow - Skill trigger tests (5 positive, 2 negative) - README updated with plugin feature and docs link - Fixed .gitignore: `wt` -> `/wt` to only ignore the binary at repo root
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #85 +/- ##
==========================================
+ Coverage 29.12% 29.16% +0.03%
==========================================
Files 26 26
Lines 2712 2712
==========================================
+ Hits 790 791 +1
+ Misses 1843 1841 -2
- Partials 79 80 +1 🚀 New features to boost your workflow:
|
Add practical hook examples that users frequently ask about: - Copy .env files from main worktree - Auto npm install / uv sync on create/checkout - Launch Claude Code in tmux per worktree - Shared build cache via symlinked node_modules - Deterministic dev server port per branch Also adds skill trigger tests for npm/uv hook queries.
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
claude plugin add timvw/wtto teach Claude about wt commands and worktree workflows.gitignore:wt->/wtto only ignore the binary at repo root (was blockingplugins/wt/)Inspired by dwmkerr/git-workforest's Claude Code plugin.
Test plan
claude plugin add timvw/wtworks after merge.gitignorechange doesn't break the build (binary still ignored)