multi-service-local-environment-doctor
Skill3 starsChanged 3 months agoMITView on GitHub
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.
In this repository53 other files it gives its agents.
- AGENTS.mdAGENTS.md
- codexkit-repository-maintenanceSkill
- animation-rigging-import-auditSkill
- art-asset-pipeline-preflightSkill
- audio-content-pipeline-reviewSkill
- balance-data-change-reviewSkill
- bug-hunt-swarmSkill
- build-and-runtime-verificationSkill
- code-intelligence-contractSkill
- cpp-server-crash-triageSkill
- economy-source-sink-modelSkill
- evidence-first-debuggingSkill
- feature-to-work-packetsSkill
- game-database-migration-safetySkill
- game-feature-brainstormingSkill
- game-feature-to-specSkill
- game-performance-budgetSkill
- game-screenshot-showcase-and-store-packagingSkill
- level-and-content-design-reviewSkill
- liveops-content-rollout-and-rollbackSkill
- liveops-incident-responseSkill
- load-soak-capacity-verificationSkill
- localization-authority-auditSkill
- lua-client-server-contract-auditSkill
- mmorpg-packet-protocol-reviewSkill
- narrative-quest-content-contractSkill
- network-authority-and-exploit-reviewSkill
- platform-device-compatibility-matrixSkill
- playtest-evidenceSkill
- product-analytics-experiment-reviewSkill
- production-risk-and-dependency-reviewSkill
- qa-test-strategy-and-coverageSkill
- release-candidate-preflightSkill
- review-swarmSkill
- safe-project-mutationSkill
- save-data-schema-migrationSkill
- skill-authoring-and-auditSkill
- store-submission-checklistSkill
- studio-agent-orchestrationSkill
- studio-context-briefSkill
- studio-goal-progressSkill
- studio-handoffSkill
- studio-production-planningSkill
- studio-project-intakeSkill
- studio-project-scaffoldSkill
- studio-workspace-routingSkill
- telemetry-event-contract-reviewSkill
- unity-asset-guid-meta-auditSkill
- unity-batchmode-build-verificationSkill
- unity-client-offline-debuggingSkill
- unity-ui-art-and-motion-productionSkill
- unity-ui-rendering-debuggingSkill
- using-game-studio-skillsSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 35
Use for local server startup failures, port 27000 conflicts, MySQL 3306/3307 isolation, Redis or web listener issues, config drift, or …
- Distinctive: line 38
Do not use to kill processes, start services, edit configs, import databases, or claim a runtime is healthy from static config alone.
- Distinctive: line 44
Read-only only. Process and port inspection is allowed.
- Distinctive: line 67
Do not reuse a DB port across projects because “only one runs at a time.”
- Distinctive: line 68
Do not stop unknown processes to make a test pass.
- Distinctive: line 78
Read references/commands.md for read-only Windows and Linux snapshots.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Multi-Service Local Environment Doctor
Overview
Build a read-only topology of services, processes, ports, and configuration, then identify collisions without starting or stopping anything.
When to use
Use for local server startup failures, port 27000 conflicts, MySQL 3306/3307 isolation, Redis or web listener issues, config drift, or multiple game stacks on one workstation.
When NOT to use
Do not use to kill processes, start services, edit configs, import databases, or claim a runtime is healthy from static config alone.
Required inputs and context discovery
Collect service names, executable or script paths, expected and configured hosts/ports, dependency order, process snapshot, listener snapshot, config files, project ownership, and forbidden service-control actions.
Safety and risk level
Read-only only. Process and port inspection is allowed; start, stop, kill, firewall, registry, database, and config changes require explicit approval and another workflow.
Workflow
- Inventory declared services and configuration sources. Completion criterion: each service has an owner, config path, expected host, and expected port.
- Capture active processes and listeners without controlling them. Completion criterion: observed listeners are a timestamped Snapshot.
- Compare expected, configured, and observed ports and dependencies. Completion criterion: collisions, missing listeners, and mismatches are separated.
- Identify cross-project ownership such as Project Alpha versus Project Beta and database port isolation. Completion criterion: no proposed fix crosses a project boundary silently.
- Recommend the smallest safe next action and label service-control work BLOCKED pending approval. Completion criterion: the report does not mutate the environment.
Evidence and output contract
Produce environment-report.json with services, configs, expected/observed listeners, conflicts, mismatches, ownership, limitations, and recommended next checks.
Handoff contract
Record service topology, commands used, process IDs only when necessary and sanitized, port conflicts, config paths, project owners, and blocked control actions.
Pitfalls and anti-rationalization
- A free port now may not be the configured port.
- A listening port does not prove the correct executable owns it.
- Do not reuse a DB port across projects because “only one runs at a time.”
- Do not stop unknown processes to make a test pass.
Verification checklist
- Expected, configured, and observed ports are distinct fields.
- Project ownership is explicit.
- No process or service was controlled.
- Static-only limitations are stated.
- Mutating next steps are BLOCKED pending approval.
References and scripts
Read references/commands.md for read-only Windows and Linux snapshots. Use the bundled scripts/environment_doctor.py for static topology and project-native read-only process/port commands for live snapshots.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

