개발 서버 재기동 또는 중지. 프로젝트 유형(Node, Python, Go, Docker 등)을 자동 감지하여 적절한 방식으로 재시작. 풀스택, 단일 서버, Docker 모두 지원. 트리거: 서버재기동해, 서버 재시작해, 서버내려, 서버 중지해, restart server, stop server
Restart or stop the development server for the current project. Auto-detects the project type and handles it accordingly.
scripts/detect-project.sh — detects project type, ports, and directory structurescripts/stop-by-port.sh — gracefully stops then force-kills processes on specified portsscripts/check-ports.sh — checks which ports are in LISTEN state${CLAUDE_SKILL_ROOT}/scripts/detect-project.sh
This script outputs the project type (Docker, full-stack, single, Python, Go, etc.), ports, and directories.
Try in priority order:
stop.sh exists → run ./stop.shdocker compose down or docker compose stop${CLAUDE_SKILL_ROOT}/scripts/stop-by-port.sh <port1> <port2> ...
If in "stop server" mode, finish here.
Branch based on project type.
server.sh / client.sh exist)./server.sh & # background
sleep 5
./client.sh & # background
| Project Type | Command |
|---|---|
| Full-stack (root dev uses concurrently) | npm run dev |
| Full-stack (split) | Backend: npm run start:dev or npm run dev, Frontend: npm run dev |
| Frontend only | npm run dev |
| Backend only | npm run start:dev or npm run dev |
| Single server | npm start or node server.js |
| Framework | Command |
|---|---|
| Django | python manage.py runserver |
| Flask | flask run or python app.py |
| FastAPI | uvicorn main:app --reload |
go run .
docker compose up -d
For Docker + local server combinations, bring up Docker (DB, etc.) first, then start the server.
${CLAUDE_SKILL_ROOT}/scripts/check-ports.sh <port1> <port2> ...
Server restart complete!
- Backend: port XXXX ✓
- Frontend: port XXXX ✓
If this is a full-stack project but server.sh, client.sh, or stop.sh are missing:
"This project has no server management scripts. Generate them automatically for next time?"
If the user agrees, generate scripts tailored to the project structure:
chmod +x to make them executablebin/ structure) have no server — print an informational message only.