Generate a YAML workflow from natural language
Copy the command definition below into:
~/.claude/commands/create-workflow.md---
name: create-workflow
description: Generate a YAML workflow from natural language
usage: /llm-box:create-workflow "<description>"
---
# Create Workflow
Generate a YAML workflow file from a natural language description.
## Usage
```
/llm-box:create-workflow "<description>"
```
## Examples
```
/llm-box:create-workflow "Fetch the GitHub trending page and save to file"
/llm-box:create-workflow "Read package.json and generate release notes"
/llm-box:create-workflow "Fetch news from multiple sources and summarize with Ollama"
```
## What it does
1. Parses your natural language description
2. Generates a structured YAML workflow
3. Saves it to the current directory
4. Shows you the workflow steps
## Next steps
After creating a workflow, you can:
- Edit the YAML file manually to tweak things
- Run it with `/llm-box:run-workflow <filename>`
- Validate it with `/llm-box:validate-workflow <filename>`