Install any skill in seconds. Free to start, no credit card required.
Get Started Free →growthxai/output-dev-types-file
Create types.ts files with Zod schemas for Output SDK workflows.
Passed 22 of 23 test cases with the skill, and 4 of 23 without it.
and 23 more in the full report
19 fixed3 passed either way0 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 19 test cases the skill fixed. Same model, same prompt, with and without the skill.
Show how to define a Zod enum with default value and an optional string field with description in an Output SDK `types.ts` file for an image generation concept workflow.
| Checked | Without skill | With skill |
|---|---|---|
| Uses z.enum with a default value | Passed | Passed |
| Uses optional and describe on optional string fields | Passed | Passed |
| Imports z from @outputai/core | Missed | Passed |
The instructions your model reads when the skill loads.
This skill documents how to create types.ts files for Output SDK workflows. These files contain Zod schemas for input/output validation and their corresponding TypeScript types.
ALWAYS import z from @outputai/core, NEVER from zod directly:
// CORRECT
import { z } from '@outputai/core';
// WRONG - will cause runtime errors
import { z } from 'zod';
Related Skill: output-error-zod-import for troubleshooting import issues
import { z } from '@outputai/core';
// 1. Workflow Input Schema
export const WorkflowInputSchema = z.object( {
// Define input fields
} );
// 2. Workflow Output Type
export type WorkflowInput = z.infer<typeof WorkflowInputSchema>;
export type WorkflowOutput = /* output type */;
test cases passed, vs 4 / 23 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.