Automate git worktree and Docker Compose workflows with a CLI tool. Ideal for operations teams to manage isolated development environments, generate .env files, and handle port allocation.
git clone https://github.com/SecDev-Lab/sprout.gitSprout is a CLI tool designed to streamline development environment setup by automating git worktree creation and Docker Compose configuration. It automatically generates .env files from templates, intelligently allocates ports to prevent conflicts across multiple environments, and centralizes worktree management in a .sprout/ directory. The tool supports monorepo architectures with multi-service setups and handles variable templating through environment variables, user prompts, auto-port assignment, and branch name injection. Developers and operations teams benefit from faster environment provisioning, reduced configuration errors, and simplified isolation of development branches.
Install sprout-cli via pip, optionally create .env.example templates in your project, then run 'sprout create branch-name' to generate an isolated environment with automatic .env files and port allocation. Use 'sprout ls' to list all environments, 'sprout path' to navigate to one, and 'sprout rm' to clean up.
Create isolated development environments for feature branches without port conflicts
Manage multi-service monorepo development with automatic .env generation per service
Automate Docker Compose setup with templated configuration files
Generate branch-specific environment variables and service names dynamically
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/SecDev-Lab/sproutCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Create a new isolated development environment for [COMPANY] using Sprout. The environment should be based on the [BRANCH] branch of the [REPOSITORY] repository. The environment should use the [DOCKER_COMPOSE_FILE] Docker Compose file and the [ENVIRONMENT_NAME] environment name. The environment should be created in the [WORKTREE_DIRECTORY] directory.
```markdown # Sprout Environment Creation Report ## Environment Details - **Environment Name**: [ENVIRONMENT_NAME] - **Branch**: [BRANCH] - **Repository**: [REPOSITORY] - **Docker Compose File**: [DOCKER_COMPOSE_FILE] - **Worktree Directory**: [WORKTREE_DIRECTORY] ## Environment Status - **Status**: Created - **Ports**: 8000, 8080, 8443 - **Services**: web, api, database ## Environment Commands ``` ```bash # To start the environment sprout start [ENVIRONMENT_NAME] # To stop the environment sprout stop [ENVIRONMENT_NAME] # To delete the environment sprout delete [ENVIRONMENT_NAME] ```
Automate your browser workflows effortlessly
Your one-stop shop for church and ministry supplies.
Container platform for building, sharing, and running applications
AI-Powered Writing Tool
The #1 Decentralized ID platform
Automate your spreadsheet tasks with AI power
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan