feat(autominator): update agent menu and documentation

This commit is contained in:
mrsaifullah52 2025-11-22 12:24:58 +05:00
parent 8a91c6fffe
commit f344e5cdc2
3 changed files with 71 additions and 18 deletions

View File

@ -20,9 +20,25 @@ Autominator is an independent BMAD module that specializes in n8n workflow autom
## Workflows ## Workflows
### 1. Create Workflow ### 1. Gather Requirements
Build new n8n workflows from scratch based on your requirements. Gather and document workflow requirements before creating n8n workflows.
**Triggers:**
- `*gather-requirements`
**Features:**
- Interactive requirement gathering
- Documents problem statement, triggers, integrations
- Creates requirement file for workflow creation
- Saves to `docs/workflow-requirements/`
- Required before creating workflows
### 2. Create Workflow
Build new n8n workflows from scratch based on requirements.
**Triggers:** **Triggers:**
@ -38,7 +54,7 @@ Build new n8n workflows from scratch based on your requirements.
- Web search integration for latest n8n docs - Web search integration for latest n8n docs
- Automatic JSON validation - Automatic JSON validation
### 2. Modify Workflow ### 3. Modify Workflow
Edit or update existing n8n workflows with backup and safety checks. Edit or update existing n8n workflows with backup and safety checks.
@ -55,7 +71,7 @@ Edit or update existing n8n workflows with backup and safety checks.
- Change validation - Change validation
- Rollback capability - Rollback capability
### 3. Migrate Workflow ### 4. Migrate Workflow
Migrate automation workflows from other platforms to n8n. Migrate automation workflows from other platforms to n8n.
@ -81,7 +97,7 @@ Migrate automation workflows from other platforms to n8n.
- Migration notes and documentation - Migration notes and documentation
- Post-migration testing guidance - Post-migration testing guidance
### 4. Optimize Workflow ### 5. Optimize Workflow
Analyze and improve existing n8n workflows for performance and best practices. Analyze and improve existing n8n workflows for performance and best practices.
@ -113,18 +129,38 @@ agent autominator/autominator
*autominator *autominator
``` ```
### Gather Requirements (Recommended First Step)
```bash
# Start the requirements gathering process
*gather-requirements
# Follow the interactive prompts to:
# 1. Describe the problem you're solving
# 2. Define trigger type
# 3. Specify data requirements
# 4. Define desired outcome
# 5. List integrations
# 6. Define conditional logic
# 7. Set criticality level
# 8. Name the workflow
# Requirements are saved to: docs/workflow-requirements/req-{name}.md
```
### Create a Workflow ### Create a Workflow
```bash ```bash
# Start the create workflow process # Start the create workflow process
*create-workflow *create-workflow
# Follow the interactive prompts to: # Arnold will:
# 1. Describe your workflow type # 1. Check for requirements file (or prompt to create one)
# 2. Select integrations # 2. Load requirements automatically
# 3. Define complexity level # 3. Research n8n documentation
# 4. Configure error handling # 4. Design workflow structure
# 5. Review and confirm # 5. Build and validate workflow JSON
# 6. Save to docs/workflows/{name}.json
``` ```
### Migrate from Another Platform ### Migrate from Another Platform

View File

@ -23,6 +23,10 @@ agent:
- Structured Approach - Follow task-specific workflows for different automation scenarios. - Structured Approach - Follow task-specific workflows for different automation scenarios.
menu: menu:
- trigger: gather-requirements
workflow: "{project-root}/{bmad_folder}/autominator/workflows/gather-requirements/workflow.yaml"
description: Gather and document workflow requirements (run this first before creating workflows)
- trigger: create-workflow - trigger: create-workflow
workflow: "{project-root}/{bmad_folder}/autominator/workflows/create-workflow/workflow.yaml" workflow: "{project-root}/{bmad_folder}/autominator/workflows/create-workflow/workflow.yaml"
description: Create new n8n workflow from scratch based on requirements description: Create new n8n workflow from scratch based on requirements

View File

@ -2,6 +2,15 @@ name: create-workflow
description: "Create new n8n workflow from scratch based on requirements" description: "Create new n8n workflow from scratch based on requirements"
author: "Saif" author: "Saif"
# Critical variables from config
config_source: "{project-root}/{bmad_folder}/autominator/config.yaml"
output_folder: "{config_source}:output_folder"
user_name: "{config_source}:user_name"
communication_language: "{config_source}:communication_language"
workflows_folder: "{config_source}:workflows_folder"
requirements_folder: "{config_source}:requirements_folder"
date: system-generated
# Workflow components # Workflow components
installed_path: "{project-root}/{bmad_folder}/autominator/workflows/create-workflow" installed_path: "{project-root}/{bmad_folder}/autominator/workflows/create-workflow"
shared_path: "{project-root}/{bmad_folder}/autominator/workflows/_shared" shared_path: "{project-root}/{bmad_folder}/autominator/workflows/_shared"
@ -15,16 +24,20 @@ platform_mappings: "{shared_path}/platform-mappings.yaml"
# Variables # Variables
variables: variables:
workflow_type: "" # Will be elicited requirements_file: "" # Will be discovered or elicited
trigger_type: "" # Will be elicited workflow_type: "" # Will be loaded from requirements or elicited
integrations: [] # Will be elicited trigger_type: "" # Will be loaded from requirements or elicited
integrations: [] # Will be loaded from requirements or elicited
complexity: "" # Will be elicited complexity: "" # Will be elicited
error_handling: "" # Will be elicited error_handling: "" # Will be elicited
save_location: "" # Will be elicited workflow_name: "" # Will be loaded from requirements or elicited
workflow_name: "" # Will be elicited problem_description: "" # Will be loaded from requirements
additional_requirements: "" # Will be elicited data_requirements: "" # Will be loaded from requirements
desired_outcome: "" # Will be loaded from requirements
conditional_logic: "" # Will be loaded from requirements
criticality: "" # Will be loaded from requirements
default_output_file: "{project-root}/workflows/workflow-{timestamp}.json" default_output_file: "{workflows_folder}/{workflow_name}.json"
standalone: true standalone: true
web_bundle: false web_bundle: false