What problem does it solve?
Writing durable, replay-safe workflow.js scripts for multi-agent orchestration is error-prone: unbounded fan-out, ambient time and randomness, unsafe isolation, and false completion claims all break runs. This Skill provides authoring and review guidance so Workflow scripts stay deterministic, budgeted, and honestly closed.
Core Features & Use Cases
- Deterministic Authoring: Enforces replay-safe identity, fixed script hashes, and host-API-only side effects using workflow.now() and workflow.random(seed).
- Bounded Parallelism: Guides correct use of workflow.parallel, workflow.pipeline, waitAny, and waitAll with staged result consumption and budget checks.
- Typed Child Results: Covers outputSchema, bounded schemaRetries, worktree isolation, and honest closure via workflow.finish().
- Use Case: Ask the agent to draft a workflow.js that fans out typed reviewer sub-agents in parallel, consumes results through a pipeline, and finishes with verified artifacts instead of a false success.
Quick Start
Ask the agent to draft a replay-safe workflow.js with typed parallel reviewers and pipeline-based result consumption.