Agent skill
local-dev-server-control
Control the TermLink local development server on Windows by starting, stopping, restarting, or inspecting the repo-local `npm run dev` process tree. Use when Codex needs to recover the current dev environment, relaunch the local server after code or config changes, stop the dev server cleanly, check whether port 3010 is healthy, or avoid manually hunting `nodemon` and `node src/server.js` processes.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/local-dev-server-control-kongxiangning-termlink
SKILL.md
Local Dev Server Control
Use this skill to manage the current repository's local development server without touching unrelated Node.js processes.
Run commands from repository root:
E:\coding\TermLink
Quick Start
Check current status:
powershell -ExecutionPolicy Bypass -File .\skills\local-dev-server-control\scripts\manage-local-dev-server.ps1 -Action status
Start server:
powershell -ExecutionPolicy Bypass -File .\skills\local-dev-server-control\scripts\manage-local-dev-server.ps1 -Action start
Stop server:
powershell -ExecutionPolicy Bypass -File .\skills\local-dev-server-control\scripts\manage-local-dev-server.ps1 -Action stop
Restart server:
powershell -ExecutionPolicy Bypass -File .\skills\local-dev-server-control\scripts\manage-local-dev-server.ps1 -Action restart
Behavior
- Manage only the repo-local development chain:
cmd -> npm run dev -> nodemon -> node src/server.js. - Default to
http://127.0.0.1:3010and setPORT=3010when starting. - Write combined startup logs to
logs/dev-server.log. - Probe
/api/healthafter startup and treat401 Unauthorizedas a valid sign that the server is up with auth enabled. - Fall back to
.envcredentials when present, otherwise useadmin/adminfor authenticated health checks.
Optional Parameters
powershell -ExecutionPolicy Bypass -File .\skills\local-dev-server-control\scripts\manage-local-dev-server.ps1 `
-Action restart `
-BaseUrl http://127.0.0.1:3010 `
-StartupTimeoutSec 30
Rules
- Do not use this skill for pm2 service management; use
win-server-deployfor Windows service operations. - Do not kill unrelated
node.exeprocesses outside this repository. - Prefer
-Action restartover ad hoc process killing when the request is simply to reload the local dev environment.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?