# Pattern Template

<!-- Evolution: {DATE} | source: {EPISODE_ID} | task: {TASK_TYPE} -->

## {Pattern Name}

### Context
- **Source episode**: {episode_id}
- **Task type**: {task_type}
- **Situation**: {Brief description of the situation}

### Problem
{What problem does this pattern solve?}

### Solution
{How to apply this pattern — be specific and actionable}

### Examples

**Before (problematic)**:
```
{Code or behavior that caused the issue}
```

**After (improved)**:
```
{Code or behavior that applies the pattern}
```

### Confidence
- **Initial confidence**: {0.75}
- **Applications**: {0}
- **Validation notes**: {How this pattern was verified}

### Target Skills
- {skill-name-1}: {How this pattern applies to this skill}
- {skill-name-2}: {How this pattern applies to this skill}

