AgentSkillsCN

run-frontend

从任意版本截取HTML原型的屏幕截图。在用户想要将原型以PNG图像保存、重新生成截图,或提及“/screenshot”命令时使用此功能。

SKILL.md
--- frontmatter
name: run-frontend
description: Start the frontend Vite dev server. Use when user wants to start the frontend or mentions /run-frontend command.

Run Frontend Dev Server

Action

Start dev server:

bash
cd frontend && npm run dev

Use run_in_background: true so the dev server keeps running.

Output

Report startup status. Dev server runs at http://localhost:5173

Stop with Ctrl+C or kill the background process.