← スキル一覧に戻る

dev-server
by sydevs
⭐ 0🍴 0📅 2026年1月25日
SKILL.md
name: dev-server description: Manage the development server lifecycle. Use when starting, stopping, restarting the dev server, checking server status, viewing server logs, or before testing changes that require a running server.
Dev Server Management
This skill manages the development server for this Next.js/PayloadCMS project. It ensures a single server instance is shared across all Claude Code sessions.
Quick Start
# Default: Start server (if needed) + show 100 lines + tail logs
.claude/skills/dev-server/dev-server.sh
Commands
| Command | Description |
|---|---|
| (none) | Default: Start if needed, show last 100 lines, tail logs |
start | Start server if not running |
stop | Stop server gracefully |
restart | Stop and start server |
status | Show server status and health |
logs [N] | Show last N lines (default 100) and tail |
health | Quick health check |
Usage Examples
# Default - most common usage
.claude/skills/dev-server/dev-server.sh
# Start without tailing logs
.claude/skills/dev-server/dev-server.sh start
# Check if server is running and healthy
.claude/skills/dev-server/dev-server.sh status
# View logs only
.claude/skills/dev-server/dev-server.sh logs
# Restart after config changes
.claude/skills/dev-server/dev-server.sh restart
# Stop when done
.claude/skills/dev-server/dev-server.sh stop
Server Details
- Port: 3000 (configurable via PORT env var)
- Start Command:
pnpm devsafe(cleans .next before starting) - Health Check:
/api/managers/meendpoint - Logs:
.claude/skills/dev-server/state/server.log
URLs
Once running:
- App: http://localhost:3000
- Admin: http://localhost:3000/admin
Admin Credentials
- Email: contact@sydevelopers.com
- Password: evk1VTH5dxz_nhg-mzk
How It Works
The skill uses PID-based state tracking to ensure a single server across all Claude instances:
- PID File: Tracks running server process
- Stale Detection: Cleans up if process died
- Port Check: Detects conflicts with other processes
- Health Check: Waits up to 60s for server to be healthy
When to Use
- Before testing any changes that require a running server
- When debugging server issues (use
logscommand) - After configuration changes (use
restartcommand) - When switching branches or pulling changes (use
restartcommand)
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です