·dev-server
</>

dev-server

petekp/agent-skills

通过智能端口管理启动开发服务器。当被要求“启动开发服务器”、“运行开发”、“开始开发”、“启动服务器”、“启动应用程序”、“让它运行”、“启动前端”或任何运行本地开发服务器的请求时使用。处理端口冲突,检测项目类型,清理过时的进程,并自动打开浏览器。

10安装·0热度·@petekp

安装

$npx skills add https://github.com/petekp/agent-skills --skill dev-server

SKILL.md

The script detects project ownership by comparing the process's working directory to the current directory. "Same project" means the process was started from this directory or a parent/child of it.

Docker projects: If docker-compose.yml exists with a web/app service, suggest docker compose up instead.

Monorepos: Check if current directory has package.json with dev script. If not, look for:

通过智能端口管理启动开发服务器。当被要求“启动开发服务器”、“运行开发”、“开始开发”、“启动服务器”、“启动应用程序”、“让它运行”、“启动前端”或任何运行本地开发服务器的请求时使用。处理端口冲突,检测项目类型,清理过时的进程,并自动打开浏览器。 来源:petekp/agent-skills。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/petekp/agent-skills --skill dev-server
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 dev-server?

通过智能端口管理启动开发服务器。当被要求“启动开发服务器”、“运行开发”、“开始开发”、“启动服务器”、“启动应用程序”、“让它运行”、“启动前端”或任何运行本地开发服务器的请求时使用。处理端口冲突,检测项目类型,清理过时的进程,并自动打开浏览器。 来源:petekp/agent-skills。

如何安装 dev-server?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/petekp/agent-skills --skill dev-server 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/petekp/agent-skills