원클릭으로
bk-monitor-dev-server
帮助配置和启动本地开发服务器。当用户提到启动开发服务器、dev server、pnpm dev 时使用。
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
帮助配置和启动本地开发服务器。当用户提到启动开发服务器、dev server、pnpm dev 时使用。
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or work through tasks.
Archive a completed change in the experimental workflow. Use when the user wants to finalize and archive a change after implementation is complete.
Archive multiple completed changes at once. Use when archiving several parallel changes.
Continue working on an OpenSpec change by creating the next artifact. Use when the user wants to progress their change, create the next artifact, or continue their workflow.
Enter explore mode - a thinking partner for exploring ideas, investigating problems, and clarifying requirements. Use when the user wants to think through something before or during a change.
Fast-forward through OpenSpec artifact creation. Use when the user wants to quickly create all artifacts needed for implementation without stepping through each one individually.
| name | bk-monitor-dev-server |
| description | 帮助配置和启动本地开发服务器。当用户提到启动开发服务器、dev server、pnpm dev 时使用。 |
node .cursor/skills/dev-server/scripts/setup-config.js
CONFIG_VALID → 跳到 Step 5CONFIG_INVALID:* → 需配置,向用户索要 URL/Cookie/Tokenbash .cursor/skills/dev-server/scripts/check-env.shpnpm imake dev-pcmake dev-vue3等待 Compiled successfully,访问 http://appdev.xxx.com:7001
| 问题 | 可能原因 | 解决方案 |
|---|---|---|
| 端口被占用 | 其他进程占用 7001 | 服务会自动换端口 |
| API 401/403 | Cookie/Token 过期 | 重新获取 Cookie 和 X-CSRFToken |
| API 连接失败 | 代理配置错误 | 检查 devProxyUrl |
| 页面空白 | hosts 未配置 | 添加 hosts 映射 |
| 依赖安装失败 | 未使用 pnpm | 使用 pnpm i |
详细排查见 references/troubleshooting.md
skill://bk-monitor-dev-server/references/config-guide.mdskill://bk-monitor-dev-server/references/troubleshooting.mdskill://bk-monitor-dev-server/scripts/check-env.shskill://bk-monitor-dev-server/scripts/setup-config.jsskill://bk-monitor-dev-server/scripts/check-env.shskill://bk-monitor-dev-server/scripts/generate-config.jsskill://bk-monitor-dev-server/scripts/setup-config.jsskill://bk-monitor-dev-server/references/config-guide.mdskill://bk-monitor-dev-server/references/troubleshooting.md根据 SKILL.md 中的 IF-THEN 规则判断是否需要加载