# Development Environment Management

Manage development servers, Docker containers, and service orchestration.

## Usage
```
/dev-env [action] [service]
```

## Description
Control development environment services:
- **start**: Launch dev servers or Docker services
- **stop**: Gracefully terminate services
- **restart**: Stop and start services
- **status**: Check running services
- **logs**: View service output

## Parameters
- `action`: Command to execute (start, stop, restart, status, logs)
- `service`: Service identifier (web, api, db, all) - default: all

## Workflow - Start
1. Check if services already running
2. Start Docker Compose services if docker-compose.yml exists
3. Start application dev server (npm/yarn/python)
4. Verify services are healthy
5. Display access URLs and ports

## Workflow - Status
1. List running Docker containers with `docker_manager` (action: ps)
2. Check docker-compose status with `docker_manager` (action: compose-status)
3. List active process sessions with `list_sessions`
4. Display port usage with `execute_command` (command: lsof -i)

## Tools Used
- `start_dev_server` - Application servers
- `docker_manager` - Docker and docker-compose operations
- `list_sessions` - Active processes
- `execute_command` - Port checking and system commands

## Supported Frameworks
- Node.js (npm run dev, yarn dev)
- Python (python manage.py runserver, uvicorn)
- Docker Compose multi-service setups
