Create multi-step workflow skills with progressive step loading, state management, and interactive decisions. Use when building complex skills like APEX that need structured phases.
<when_to_use> Use this skill when building:
Don't use for:
<workflow_creation_process>
<step_1_define_structure> 1.1 Identify Workflow Steps
Ask yourself:
Step 1 ──► Step 2 ──► Step 3 ──┬──► Step 4a (if condition)
└──► Step 4b (else)
1.3 Define State Variables
What data needs to persist across steps?
state_variables:
- task_description: string # What to do
- task_id: string # Unique identifier
- auto_mode: boolean # Skip confirmations
- results: object # Accumulated results
</step_1_define_structure>
<step_2_create_structure> 2.1 Create Folder Structure
skills/{skill-name}/
├── SKILL.md # Main entry point
├── steps/
│ ├── step-00-init.md # Initialization (parse flags, setup)
│ ├── step-01-{name}.md # First step
│ ├── step-02-{name}.md # Second step
│ └── ...
└── references/ # Optional: templates, patterns
└── ...
2.2 Naming Conventions
step-NN-{descriptive-name}.md</workflow_creation_process>
<execution_flow>
Step 1: Create SKILL.md
Use this structure:
---