wize-create-workflow · git:20261019.207e46c · 2026-10-19 · sha256 5ed7f06899b2d841

wize-create-workflow git:20261019.207e46cA

Immutable. This exact content never changes and is served at /api/v1/blob/5ed7f06899b2d841.

---
description: "Use quando precisar criar um novo workflow multi-step sob .wize/custom/workflows/."
globs:
alwaysApply: false
---

# Create Workflow

# 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.