**TL;DR**: `/orchestrate [workflow]` - Run multi-agent workflow sequences for complex tasks.

---

## Usage

```bash
/orchestrate                # Default workflow
/orchestrate feature        # Feature development workflow
/orchestrate bugfix         # Bug fix workflow
/orchestrate review         # Full review workflow
```

## Predefined Workflows

### Feature Workflow
```
Planner → TDD Guide → Code Reviewer → Security Reviewer → Doc Updater
```

Steps:
1. Create implementation plan
2. Write tests first (TDD)
3. Implement feature
4. Code review
5. Security review
6. Update documentation

### Bug Fix Workflow
```
TDD Guide → Build Error Resolver → Code Reviewer
```

Steps:
1. Write failing test for bug
2. Fix the bug
3. Review the fix

### Review Workflow
```
Code Reviewer → Security Reviewer → Refactor Cleaner
```

Steps:
1. Code quality review
2. Security analysis
3. Dead code check

### Cleanup Workflow
```
Refactor Cleaner → Build Error Resolver → Code Reviewer
```

Steps:
1. Detect dead code
2. Remove safely
3. Fix any breakages
4. Review changes

## Custom Workflows

Define in `.claude/settings.json`:

```json
{
  "workflows": {
    "my-workflow": [
      "planner",
      "tdd-guide",
      "code-reviewer"
    ]
  }
}
```

## Example Session

```bash
$ /orchestrate feature

Starting Feature Workflow
=========================

Step 1/5: Planner
  → Creating implementation plan...
  → Plan ready for review

Step 2/5: TDD Guide
  → Writing tests first...
  → 5 tests created

Step 3/5: Implementation
  → Implementing to pass tests...
  → All tests pass ✅

Step 4/5: Code Reviewer
  → Reviewing code...
  → 2 issues found (MEDIUM)
  → Fixed

Step 5/5: Doc Updater
  → Updating documentation...
  → README updated

Workflow complete! ✅
```

## Integration

Orchestrate coordinates all agents:
- Passes context between agents
- Handles failures gracefully
- Reports progress throughout
