Skip to content

hoatv2211/GameStudio-CodexKIT / skills/multi-service-local-environment-doctor

multi-service-local-environment-doctor

Verified

Use when diagnosing a multi-service local game environment with port conflicts, process listeners, configured ports, service names, startup dependencies, and cross-project isolation concerns.

FileKindSize
SKILL.mdskill md3.9 KB
agents/openai.yamlconfig319 B
references/commands.mdmarkdown1.5 KB
scripts/environment_doctor.pyscript2.0 KB

references/commands.md

View on GitHub
# Local Environment Command Reference

These commands collect read-only snapshots. They do not authorize stopping processes, restarting services, editing configs, or changing firewall rules.

## Windows ports and processes

```powershell
Get-NetTCPConnection -State Listen |
  Sort-Object LocalPort |
  Select-Object LocalAddress,LocalPort,OwningProcess

Get-NetTCPConnection -LocalPort 3306,3307 -ErrorAction SilentlyContinue |
  Select-Object LocalAddress,LocalPort,State,OwningProcess

Get-Process -Id 1234 | Select-Object Id,ProcessName,Path,StartTime
Get-CimInstance Win32_Service | Select-Object Name,State,StartMode,PathName
```

## Linux ports and processes

```bash
ss -lntp
ss -lntp '( sport = :3306 or sport = :3307 )'
lsof -nP -iTCP:3306 -sTCP:LISTEN
lsof -nP -iTCP:3307 -sTCP:LISTEN
ps -fp PID
systemctl status SERVICE_NAME --no-pager
```

## Configuration snapshot

Search only the named project and exclude secrets or generated output.

```powershell
rg -n --glob '!**/logs/**' --glob '!**/secrets/**' '3306|3307|27000|redis|mysql' D:\Projects\MyGame
```

```bash
rg -n --glob '!**/logs/**' --glob '!**/secrets/**' '3306|3307|27000|redis|mysql' /srv/my-game
```

## Evidence

Record expected port, configured port, observed listener, owning process path, service name, project ownership, command, timestamp, and limitations.

Do not kill an unknown process to free a port. Do not treat a listener as proof that the correct executable or database owns it. Service-control actions require explicit approval.
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall