# Skill: wzrd-framework

## Purpose
Integrates Remi with WZRD.dev 7-component Stripe Minions framework. Auto-loads skills, detects workflows, optimizes context, and ensures quality.

## Framework Location
`/home/mdwzrd/wzrd-redesign/conductor/`

## Components

### 1. Tool Shed (`tool-shed.sh`)
- Skill registry with 180+ skills
- Dependency resolution
- Recommendation engine

### 2. Blueprint Engine (`blueprint-engine.sh`)
- Systematic workflows
- Validation checkpoints  
- Predictable execution

### 3. Sandbox Engine (`sandbox-engine.sh`)
- Git worktree isolation
- Resource allocation
- Environment setup

### 4. Rules Engine (`context-optimizer.sh`)
- Token optimization
- Context pruning
- Priority-based attention

### 5. Validation Pipeline (`validation-pipeline.sh`)
- Quality gates
- Pre-commit validation
- Production readiness

## Integration Commands

### `/framework skill-recommend "task"`
```bash
# Calls tool-shed.sh for skill recommendations
cd /home/mdwzrd/wzrd-redesign/conductor/
./tool-shed.sh recommend --task "task" --mode "auto"
```

### `/framework workflow "task"`
```bash
# Calls blueprint-engine.sh for systematic workflow
cd /home/mdwzrd/wzrd-redesign/conductor/
./blueprint-engine.sh detect --task "task"
```

### `/framework validate`
```bash
# Runs validation pipeline
cd /home/mdwzrd/wzrd-redesign/conductor/
./validation-pipeline.sh run
```

## Auto-Integration Logic

When this skill loads, it:
1. Checks if framework components are available
2. Sets up framework context
3. Enables auto-skill recommendations
4. Enables workflow detection

## Framework Status
```bash
# Check framework health
cd /home/mdwzrd/wzrd-redesign/conductor/
./test-framework.sh
```

## Implementation Examples

### Example 1: Coding Task
```
User: "Write a Python API with FastAPI"

Framework Integration:
1. /framework skill-recommend "python fastapi api"
   → Recommends: python, fastapi, testing, api skills
2. /framework workflow "api implementation"
   → Returns: API development blueprint
3. Execute blueprint with validation checkpoints
```

### Example 2: Debugging Task
```
User: "Fix authentication bug"

Framework Integration:
1. /framework skill-recommend "debug authentication"
   → Recommends: debugging, security, testing skills  
2. /framework workflow "systematic debugging"
   → Returns: Debugging blueprint
3. Execute with token optimization rules
```

## Framework Benefits

1. **Predictable**: Same input → Same quality output
2. **Efficient**: Optimal token usage per task
3. **Quality**: Built-in validation gates
4. **Scalable**: Works across any project

## Quick Start

1. Load this skill
2. Use `/framework` commands
3. Let framework handle complexity

---

**Base directory:** `/home/mdwzrd/.claude/skills/wzrd-framework`
**Framework home:** `/home/mdwzrd/wzrd-redesign/conductor/`