Skill: Workspace Services
Description
Start and stop services for workspace projects. Manages development servers and related services.
Arguments
start [project|all] - Start services
stop [project|all] - Stop services
Instructions
Starting Services
When the user wants to start services:
Step 1: Check for Shared Command
Look for start-all in the ## Commands section of WORKSPACE.md:
## Commands
start-all: cd ~/work/acme && docker-compose up -d
If a shared command exists, offer to use it.
Step 2: Start Individual Projects
If no shared command or user prefers individual starts:
- Find the project's start command (check package.json for
dev or start scripts)
- Start the service
- Verify the port becomes active
Output Format for Start
๐ Starting workspace services...
Starting api...
cd ~/work/acme/api && npm run dev
โ api started on port 3000
Starting admin...
cd ~/work/acme/admin && npm run dev
โ admin started on port 3001
Port status:
โข api: :3000 โ running
โข admin: :3001 โ running
Stopping Services
Step 1: Check for Shared Command
Look for stop-all in ## Commands.
Step 2: Stop Individual Projects
If no shared command, stop services by terminating processes on configured ports.
Output Format for Stop
๐ Stopping workspace services...
Stopping api (port 3000)...
โ Stopped
Stopping admin (port 3001)...
โ Stopped