dev
3
总安装量
3
周安装量
#62393
全站排名
安装命令
npx skills add https://github.com/rootspec/skills --skill dev
Agent 安装分布
claude-code
3
opencode
2
gemini-cli
2
github-copilot
2
codex
2
kimi-cli
2
Skill 文档
Human usage
After setup, use these commands directly:
npm run dev/npm run dev:startâ start server in background (detached via nohup)npm run dev:stopâ stop server (Ctrl+C won’t work since it’s detached)npm run dev:statusâ check PID and log locationnpm run dev:restartâ restart servertail -f logs/dev.logâ stream live logsPORT=5173 npm run devâ override port
PID file: .dev/dev.pid â Log file: logs/dev.log
You are managing the dev server. The argument determines the action.
/dev setup
Only run setup if dev:raw is missing from package.json.
- Read
package.jsonand config files to detect framework and dev command:nuxt.config.*â commandnuxt dev, default port 3000vite.config.*â commandvite, default port 5173next.config.*â commandnext dev, default port 3000- Else: inspect existing
devscript for clues; if still unclear, ask the user
- Check config files for port overrides (e.g.
devServer.port,server.port) - Propose detected command and port to user for confirmation
- Write
dev:rawtopackage.jsonwith the confirmed command - Add these wrapper scripts to
package.json:
Note:"dev": ".agents/skills/dev/scripts/dev.sh start", "dev:start": ".agents/skills/dev/scripts/dev.sh start", "dev:stop": ".agents/skills/dev/scripts/dev.sh stop", "dev:restart": ".agents/skills/dev/scripts/dev.sh restart", "dev:status": ".agents/skills/dev/scripts/dev.sh status"dev:rawstays as-is (it holds the actual dev command).
/dev start
Run: npm run dev:start
If dev:raw is not in package.json, tell the user to run /dev setup first.
/dev stop
Run: npm run dev:stop
/dev restart
Run: npm run dev:restart
/dev status
Run: npm run dev:status