AgentSkillsCN

run-dev

演示如何在独立终端中分别运行开发服务器与客户端。当用户询问如何启动开发环境、运行应用,或开启各类开发服务器时,可使用此技能。

SKILL.md
--- frontmatter
name: run-dev
description: Show how to run the development server and client in separate terminals. Use when the user asks how to start dev, run the app, or start development servers.

Run development servers

Terminal 1: Server

bash
npm run dev:cloudflare

This runs wrangler dev --config wrangler.dev.jsonc --port 8787

Terminal 2: Client

bash
npm start

This runs the Vite dev server for the frontend.

Done

Server runs on http://localhost:8787 Client runs on http://localhost:5173