Laravel Herd Worktree
This skill automatically manages Laravel worktrees for multiple environments, streamlining deployments and ensuring consistent development setups.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add laravel-herd-worktree npx -- -y @trustedskills/laravel-herd-worktree
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"laravel-herd-worktree": {
"command": "npx",
"args": [
"-y",
"@trustedskills/laravel-herd-worktree"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill allows AI agents to manage and interact with Laravel Herd worktrees. It enables the creation, switching, and merging of worktrees for efficient development workflows within a Laravel project. The agent can also perform operations like pulling updates from remote repositories associated with these worktrees.
When to use it
- A developer needs to create a new feature branch without affecting the main codebase.
- An AI is assisting in refactoring a large portion of a Laravel application and requires isolated development environments.
- You want to quickly switch between different versions or experimental features within a Laravel project.
- The agent needs to apply changes from a remote repository to a specific worktree.
Key capabilities
- Creating new Herd worktrees.
- Switching between existing worktrees.
- Merging worktrees back into the main codebase.
- Pulling updates for a given worktree.
Example prompts
- "Create a new worktree named 'user-authentication'."
- "Switch to the 'payment-integration' worktree."
- "Merge the changes from 'feature/new-design' into the main branch."
- “Pull the latest updates for the ‘api-refactor’ worktree.”
Tips & gotchas
This skill requires a Laravel project with Herd installed and configured. Ensure that the agent has appropriate permissions to execute commands within the project directory.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.