preview
Local development server management. Use when: "preview", "start server", "localhost", "dev server", "run app", "start app", "stop server"
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Local development server management. Use when: "preview", "start server", "localhost", "dev server", "run app", "start app", "stop server"
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Full codebase audit: architecture health, dependencies, complexity, tech debt. Use when: "audit", "health check", "codebase analysis", "tech debt", "architecture review", "dependency check", "code quality"
Structured brainstorming with multiple approaches and tradeoffs. Use when: "brainstorm", "explore options", "what are my options", "compare approaches", "pros and cons", "which is better", "how should I", "alternatives"
Build error diagnosis and resolution. Use when: "build failed", "compile error", "bundler error", "fix build", "npm error", "type error", "won't compile"
Scaffold a new application with interactive dialogue. Use when: "create", "build me", "make an app", "new project", "scaffold", "generate app", "start new"
Generate a new custom skill from natural language description. Use when: "create skill", "new skill", "make a skill", "add command", "custom workflow", "skill template", "generate skill"
Systematic debugging with hypothesis-driven investigation. Use when: "debug", "not working", "bug", "broken", "error", "unexpected behavior", "fix issue", "investigate"
| name | preview |
| description | Local development server management. Use when: "preview", "start server", "localhost", "dev server", "run app", "start app", "stop server" |
| argument-hint | [start|stop|restart|check] |
| user-invocable | true |
| disable-model-invocation | true |
$ARGUMENTS
Manage preview server: start, stop, status check.
/preview - Show current status
/preview start - Start server
/preview stop - Stop server
/preview restart - Restart
/preview check - Health check
/preview start
Response:
🚀 Starting preview...
Port: 3000
Type: Next.js
✅ Preview ready!
URL: http://localhost:3000
/preview
Response:
=== Preview Status ===
🌐 URL: http://localhost:3000
📁 Project: C:/projects/my-app
🏷️ Type: nextjs
💚 Health: OK
/preview start
Response:
⚠️ Port 3000 is in use.
Options:
1. Start on port 3001
2. Close app on 3000
3. Specify different port
Which one? (default: 1)
Auto preview uses auto_preview.py script:
python .agent/scripts/auto_preview.py start [port]
python .agent/scripts/auto_preview.py stop
python .agent/scripts/auto_preview.py status