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:
markdown
## 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
devorstartscripts) - •Start the service
- •Verify the port becomes active
Output Format for Start
code
🚀 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
code
🛑 Stopping workspace services... Stopping api (port 3000)... ✓ Stopped Stopping admin (port 3001)... ✓ Stopped