portless
Installation
SKILL.md
Portless
Replace port numbers with stable, named .localhost URLs. For humans and agents.
Why portless
- Port conflicts:
EADDRINUSEwhen two projects default to the same port - Memorizing ports: which app is on 3001 vs 8080?
- Refreshing shows the wrong app: stop one server, start another on the same port, stale tab shows wrong content
- Monorepo multiplier: every problem scales with each service in the repo
- Agents test the wrong port: AI agents guess or hardcode the wrong port
- Cookie/storage clashes: cookies on
localhostbleed across apps; localStorage lost when ports shift - Hardcoded ports in config: CORS allowlists, OAuth redirects,
.envfiles break when ports change - Sharing URLs with teammates: "what port is that on?" becomes a Slack question
- Browser history is useless:
localhost:3000history is a mix of unrelated projects
Installation
Install globally (recommended) or as a project dev dependency. Do NOT use npx or pnpm dlx for one-off execution.