---

code: wize-create-workflow
description: "Use quando precisar criar um novo workflow multi-step sob .wize/custom/workflows/."
name: Create Workflow
owner: builder
status: stub
---

# Create Workflow

**Goal.** Scaffold a multi-step workflow in `.wize/custom/workflows/{code}/`.

## Inputs (interactive)
- `code`, `name`, `description`
- `owner` (agent)
- `phase` (1-analysis | 2-plan | 3-solutioning | 4-implementation | transversal)
- `steps[]` (numbered list, each with name + brief)
- `inputs[]`, `outputs[]`

## Outputs
- `.wize/custom/workflows/{code}/workflow.md`
- IDE adapter regeneration.

## Validation
- Schema (`schemas/workflow.schema.json`).
- Markdown lint.
- Dry-run: parse steps; render and assert each step has a clear action.
