flow-convert-workflow-definition

Convert Flow SDK workflow classes to Output SDK workflow() functions.

Updated Dec 16, 2025
One-click install
npx skills add https://github.com/growthxai/output-claude-plugins --skill flow-convert-workflow-definition
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: flow-convert-workflow-definition
Source: https://github.com/growthxai/output-claude-plugins/tree/main/plugins/outputai-flow-migrator/skills/flow-convert-workflow-definition
Command: npx skills add https://github.com/growthxai/output-claude-plugins --skill flow-convert-workflow-definition

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill guides converting Flow SDK workflow classes to Output SDK workflow() functions, aligning with deterministic orchestration.

Core Features & Use Cases

  • Class to Function: Replace class-based workflow with a functional workflow().
  • Schema Migration: Move interfaces to Zod schemas for input/output.
  • Use Case: Convert a legacy workflow.ts to the new Output SDK standard.

Quick Start

Replace the class with a default export workflow() function and adjust imports accordingly.