# WorkflowEngine

UMLClass
Skill Seekers :: skill_seekers :: Enhancement :: WorkflowEngine

### Description

Executes enhancement workflows with sequential stages. Loads workflows from YAML (file path, user config dir, or bundled package), supports workflow inheritance, stage history passing, custom AI prompts, and post-processing transforms.

### Attributes

Visibility | Name | Type | Description
--- | --- | --- | ---
public | workflow | EnhancementWorkflow |
public | history | list[dict] |
public | enhancer | AIEnhancer |

### Operations

Visibility | Name | Description
--- | --- | ---
public | run() |
private | _load_workflow() |
private | _run_stage() |
public | save_history() |
public | __init__() |
private | _load_workflow() |
private | _merge_workflows() |
public | run() |
private | _build_stage_context() |
private | _run_stage() |
private | _run_builtin_stage() |
private | _run_custom_stage() |
private | _merge_stage_results() |
private | _post_process() |
public | save_history() |

### Properties

Name | Value
--- | ---
name | WorkflowEngine
stereotype | null
visibility | public
isAbstract | false
isFinalSpecialization | false
isLeaf | false
isActive | false

### Dependencies

### Relationships

### Owned Elements

### Diagrams