Plugin
dev-script
Generates idempotent dev.sh / dev.ps1 launchers for the current stack — Compose orchestration, healthchecks, two-strategy port handling (find-next-free discovery with peer-coordination env vars for foreign-owned service ports / kill-and-reclaim with pgrep fallback for own orphans), HTTPS-on-LAN via mkcert+Caddy, boot-time sanity check. Encodes the gotchas learned in JRC projects (Vite allowedHosts, JWKS over self-signed HTTPS, --tlsMode external, runtime drift detection, P17 foreign-port-owner + strictPort silent-hang cascade, plus v0.5.0 Windows↔WSL migration traps — P18 CRLF .env reads corrupt grep|cut values, P19 cross-platform node_modules native-binding crash, P20 yarn↔cmdtest name collision / Corepack-aware package-manager resolution).