2.7 KiB
2.7 KiB
description, argument-hint, allowed-tools
| description | argument-hint | allowed-tools |
|---|---|---|
| Edit and modify existing scientific workflows | <workflow-name> [component] | Task, Write, Read, Edit, mcp__filesystem__* |
Edit Scientific Workflow
Workflow: $ARGUMENTS
I'll help you modify and improve your existing scientific workflow using Warpio's expert system.
Editing Capabilities
1. Workflow Structure
- Add/remove stages in the processing pipeline
- Modify data flow between components
- Change execution order and dependencies
- Update resource requirements and allocations
2. Component Modification
- Update processing logic for individual stages
- Modify parameters and configuration settings
- Change expert assignments for specific tasks
- Update error handling and recovery procedures
3. Optimization Features
- Performance tuning for better execution speed
- Resource optimization to reduce costs
- Parallelization improvements for scalability
- Memory usage optimization for large datasets
4. Validation & Testing
- Syntax checking for workflow configuration
- Dependency validation between components
- Test data generation for validation
- Performance benchmarking before/after changes
Interactive Editing
Available Operations:
- Add Component: Insert new processing stages
- Remove Component: Delete unnecessary stages
- Modify Parameters: Update configuration settings
- Reorder Steps: Change execution sequence
- Update Resources: Modify compute requirements
- Test Changes: Validate modifications
- Preview Impact: See how changes affect workflow
Expert Integration:
- Data Expert: Data format and processing changes
- HPC Expert: Compute resource and parallelization updates
- Analysis Expert: Statistical and visualization modifications
- Research Expert: Documentation and validation updates
- Workflow Expert: Overall orchestration and dependency management
Safety Features
Backup & Recovery:
- Automatic backups before major changes
- Change history tracking
- Rollback capability to previous versions
- Impact analysis before applying changes
Validation Checks:
- Syntax validation for configuration files
- Dependency checking between components
- Resource requirement verification
- Test execution with sample data
Usage Examples
# Edit specific workflow
/warpio-workflow-edit my-analysis-workflow
# Edit specific component
/warpio-workflow-edit my-analysis-workflow data-processing-stage
# Interactive editing mode
/warpio-workflow-edit my-workflow --interactive
The workflow will be updated with your changes while maintaining proper expert coordination and error handling.