portman
CommunityManage local development ports, avoid conflicts.
Software Engineering#devops#port management#git worktrees#docker-compose#local development#direnv#portman
Authorjpoutrin
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Running multiple local development instances or git worktrees of the same project often leads to port conflicts, making parallel development tedious and error-prone. This Skill provides patterns for managing port allocations with portman.
Core Features & Use Cases
- Core Workflow: Setup, booking, getting, and exporting ports for services.
- Integration with Docker Compose: Configure
docker-compose.ymlto use dynamic ports via environment variables. - Direnv Integration: Automatically set port environment variables when entering a project directory.
- Context-Aware Port Allocation:
portmanautomatically assigns unique ports per worktree context, ensuring isolation. - Maintenance Commands: Tools for viewing allocations, pruning orphaned entries, and troubleshooting.
- Use Case: Setting up a new git worktree for a feature branch, configuring
docker-compose.ymlto use dynamic ports, cleaning up orphaned port allocations, or ensuring unique ports for parallel CI jobs.
Quick Start
Use the portman skill to generate a docker-compose.yml snippet that uses environment variables for PostgreSQL and Redis ports.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: portman Download link: https://github.com/jpoutrin/product-forge/archive/main.zip#portman Please download this .zip file, extract it, and install it in the .claude/skills/ directory.