Help us improve
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
By harris21
Set up git worktrees for Laravel projects served by Herd, creating isolated feature branches with dedicated site URLs and Vite configurations for parallel development without environment conflicts.
npx claudepluginhub harris21/laravel-herd-worktree --plugin laravel-herd-worktree
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
Share bugs, ideas, or general feedback.
Based on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Creates git worktrees for all open PRs or specific branches, handling branches with slashes, cleaning up stale worktrees, and supporting custom branch creation for development.
Delegate Claude Code worktree lifecycle to twig CLI (requires twig installed)
Git worktree management expert for @desplega.ai/wts
Reliable automation, in-depth debugging, and performance analysis in Chrome using Chrome DevTools and Puppeteer
Claude Code skills for Godot 4.x game development - GDScript patterns, interactive MCP workflows, scene design, and shaders
Harness-native ECC plugin for engineering teams - 64 agents, 262 skills, 84 legacy command shims, reusable hooks, rules, MCP conventions, and operator workflows for Claude Code plus adjacent agent harnesses
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claim