Agent skill
yaml-workflow-executor-configuration-loader
Sub-skill of yaml-workflow-executor: Configuration Loader (+3).
Install this agent skill to your Project
npx add-skill https://github.com/vamseeachanta/workspace-hub/tree/main/.claude/skills/_archive/development/yaml-workflow-executor/configuration-loader
SKILL.md
Configuration Loader (+3)
Configuration Loader
import yaml
from pathlib import Path
from dataclasses import dataclass, field
from typing import Any, Dict, Optional
import logging
logger = logging.getLogger(__name__)
@dataclass
*See sub-skills for full details.*
## Workflow Router
```python
class WorkflowRouter:
"""Route tasks to appropriate handlers based on configuration."""
def __init__(self):
self.handlers = {}
def register(self, task_name: str, handler_func):
"""Register a handler for a task type."""
self.handlers[task_name] = handler_func
*See sub-skills for full details.*
## Handler Registration Pattern
```python
def register_handlers(router: WorkflowRouter):
"""Register all available task handlers."""
@router.register('analyze_data')
def analyze_data(config: WorkflowConfig):
"""Handler for data analysis tasks."""
import pandas as pd
# Load input
*See sub-skills for full details.*
## Main Executor
```python
def execute_workflow(yaml_path: str, overrides: Dict[str, Any] = None) -> Any:
"""
Execute workflow from YAML configuration.
Args:
yaml_path: Path to YAML config file
overrides: Optional parameter overrides
Returns:
*See sub-skills for full details.*
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
gsd-complete-milestone
Archive completed milestone and prepare for next version
gsd-reapply-patches
Reapply local modifications after a GSD update
gsd-verify-work
Validate built features through conversational UAT
gsd-thread
Manage persistent context threads for cross-session work
clinical-trial-protocol
Generate clinical trial protocols for medical devices or drugs through a modular, waypoint-based architecture with research-only and full protocol modes.
single-cell-rna-qc
Performs quality control on single-cell RNA-seq data (.h5ad or .h5 files) using scverse best practices with MAD-based filtering and comprehensive visualizations.
Didn't find tool you were looking for?