Skip to content
Development
Command

/run

启动开发服务或应用(快捷启动,完整管理见 /cc-best:service)

From plugin
4944 skills8 agents44 commands20 hooks
shell
$ npx -y skills add xiaobei930/cc-best --agent claude-code

Ships with cc-best. Installing the plugin gets this command.

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/run

Context preview

What this command does when you run it.

启动开发服务或应用(快捷启动,完整管理见 /cc-best:service)

Command definition

run.md
description: 启动开发服务或应用(快捷启动,完整管理见 /cc-best:service)
argument-hint: "[api|frontend|all]"
allowed-tools: Read, Glob, Grep, Bash

/run - 启动服务

启动项目的开发服务器。

参数

`$ARGUMENTS` - 可选,指定启动的服务

示例:

  • `/cc-best:run` - 启动所有服务
  • `/cc-best:run api` - 只启动后端 API
  • `/cc-best:run frontend` - 只启动前端

任务

1. 检测可用的服务组件 2. 根据 $ARGUMENTS 启动指定服务(或全部) 3. 显示服务访问地址

服务类型

  • 后端 API:Flask, FastAPI, Django, Spring Boot, ASP.NET
  • 前端:Vite, Webpack Dev Server, Vue CLI

启动步骤

  • 检查端口占用情况
  • 按依赖顺序启动服务
  • 显示各服务的访问 URL

注意事项

  • 确保虚拟环境已激活(Python)
  • 确保依赖已安装(npm install / pip install)
  • 检查必要的环境变量

> **记住**: 开发服务要在后台运行,前台留给主工作流。用完记得关闭,避免端口占用和资源浪费。

Read it on GitHub ↗
Ships withcc-best

Role-Driven Development Workflow for Claude Code Transform Claude into a complete development team. From product requirements to code review — one plugin, full workflow. Quick Start • Features • Workflow • Commands • FAQ

Get the whole plugin, auto-invoked
Stats
49
Stars
0
Views
3
Forks
Maintained
Maintenance
JavaScript
Language
MIT
License
1mo ago
Last commit
6mo ago
Created

Repo: xiaobei930/cc-best