dev-server-lifecycle-management
Installation
SKILL.md
Dev Server Lifecycle Management
Overview
Standardized patterns for detecting, starting, monitoring, and maintaining development server connections. Prevents connection losses and reduces server management overhead.
Problem: Connection losses during browser automation cause retries and delays, port detection requires multiple attempts, no health checks before critical browser operations, server restart logic is inconsistent.
Solution: Port detection strategy, health check patterns, connection resilience, startup verification.
Impact: Eliminate 2-3 minutes of server management overhead per task, reduce connection-related failures.
Port Detection Strategy
Pattern 1: Check Configuration Files
Check common ports or read from config files (package.json, vite.config, etc.):