Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
laravel, laravel-herd, git-worktree, worktree, local-development, feature-branch, herd, workflow
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A Claude Code skill that automates setting up git worktrees for Laravel projects served by Laravel Herd.
When you need to work on a feature branch in isolation, this skill:
.worktrees/<project-name>-<branch-name>http://<project-name>-<branch-name>.test.env with correct URLs, session domains, and Sanctum settingscomposer install and npm installIt also handles cleanup and PR creation when you're done.
Why project name + branch name? This prevents conflicts when multiple projects have the same branch (e.g., both project-a and project-b have a feature/login branch).
/plugin marketplace add harris21/laravel-herd-worktree
/plugin install laravel-herd-worktree@harrisrafto-laravel-tools
claude plugin marketplace add harris21/laravel-herd-worktree
claude plugin install laravel-herd-worktree@harrisrafto-laravel-tools
claude plugin update laravel-herd-worktree@harrisrafto-laravel-tools
The skill is automatically invoked when you mention worktrees with Laravel Herd projects. Example prompts:
/laravel-herd-worktree
The skill defaults to develop as the base branch for PRs. If your project uses a different default branch (e.g., main or master), you can:
git symbolic-ref refs/remotes/origin/HEAD)The skill assumes npm. If you use yarn or pnpm, the skill will ask before running install commands.
If your project requires specific composer flags (like --ignore-platform-reqs), the skill will ask during setup.
your-project/
├── .worktrees/
│ └── your-project-feature-branch/ # Your isolated worktree
│ ├── .env # Configured for http://your-project-feature-branch.test
│ ├── vendor/ # Fresh composer install
│ └── node_modules/ # Fresh npm install
Plus a Herd site at http://your-project-feature-branch.test
SANCTUM_STATEFUL_DOMAINS in .envphp artisan config:clearSESSION_DOMAIN in .env to match worktree domainSESSION_SECURE_COOKIE=false for HTTP sitesvite.config.js has host: 'localhost' and cors: trueAPP_URL as http:// not https://pkill -f "node.*vite"rm -f public/hotSee the skill's "Common Issues" section for complete troubleshooting.
MIT - see LICENSE
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub harris21/laravel-herd-worktree --plugin laravel-herd-worktreePlugins from other owners that cover similar ground