Alpha-Forge Worktree Manager

•
25
•

Automates Git worktree creation and lifecycle management with standardized branch naming and environment setup.

This skill streamlines the development workflow for the Alpha-Forge repository by automating the creation, tracking, and cleanup of Git worktrees. It enforces consistent branch naming conventions using descriptive slugs and date prefixes, handles remote branch tracking, and integrates seamlessly with direnv for automatic environment variable loading. It is designed for developers managing multiple parallel feature branches who need to maintain a clean main worktree while ensuring consistent workspace configurations across various tasks and features.

主要功能

01Automated kebab-case slug derivation from natural language descriptions
02Atomic worktree creation with integrated directory structures
03Stale worktree detection and cleanup for merged branches
0425 GitHub stars
05Automatic environment setup using direnv and shared secret loading
06Standardized branch naming conventions (type/date-slug) for consistent history

使用场景

01Creating isolated development environments for new feature branches or bug fixes
02Cleaning up merged or stale worktrees to maintain repository hygiene
03Tracking remote branches in new worktrees without disrupting the current workspace