worktree-setup-hook
✓Post-checkout git hook for automatic worktree setup. Use when: (1) Setting up automatic configuration for new git worktrees, (2) Creating post-checkout hooks that detect new worktrees and run setup tasks, (3) Configuring worktrees to automatically copy env files and install dependencies
Installation
SKILL.md
Provides a post-checkout git hook template that automatically configures new git worktrees by detecting new worktree creation and running setup tasks.
The hook detects when a new worktree is created (not a regular checkout) and automatically:
The hook will automatically run after git worktree add completes.
Post-checkout git hook for automatic worktree setup. Use when: (1) Setting up automatic configuration for new git worktrees, (2) Creating post-checkout hooks that detect new worktrees and run setup tasks, (3) Configuring worktrees to automatically copy env files and install dependencies Source: lambda-curry/devagent.
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/lambda-curry/devagent --skill worktree-setup-hook- Source
- lambda-curry/devagent
- Category
- </>Dev Tools
- Verified
- ✓
- First Seen
- 2026-02-01
- Updated
- 2026-02-18
Quick answers
What is worktree-setup-hook?
Post-checkout git hook for automatic worktree setup. Use when: (1) Setting up automatic configuration for new git worktrees, (2) Creating post-checkout hooks that detect new worktrees and run setup tasks, (3) Configuring worktrees to automatically copy env files and install dependencies Source: lambda-curry/devagent.
How do I install worktree-setup-hook?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/lambda-curry/devagent --skill worktree-setup-hook Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Where is the source repository?
https://github.com/lambda-curry/devagent
Details
- Category
- </>Dev Tools
- Source
- skills.sh
- First Seen
- 2026-02-01