Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Documents the standard folder layout and file conventions for Output SDK workflows under src/shared and src/workflows.
32% 100%+68 ptsof test cases passed
Passed 25 of 25 test cases with the skill, and 8 of 25 without it.
In our workflow step src/workflows/image_gen/steps.ts, we need to call business logic from src/shared/services/image_service.ts. Show the import statement for importing ImageService into steps.ts.
Imports business logic services from ../../shared/services/ using a .js relative import extension.
This test ran on v1. v2 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
This skill documents the standard folder structure for Output SDK workflows. Following these conventions ensures consistency across the codebase and enables proper tooling support.
src/
├── shared/ # Shared code across workflows
│ ├── clients/ # API clients (using @outputai/core/http)
│ ├── utils/ # Utility functions & helpers
│ ├── services/ # Business logic services
│ ├── steps/ # Shared steps (optional)
│ └── evaluators/ # Shared evaluators (optional)
└── workflows/
└── {workflow-name}/ # Individual workflow directory
├── workflow.ts # Workflow definition (REQUIRED)
├── steps.ts # OR steps/ folder
├── evaluators.ts # OR evaluators/ folder (optional)
├── types.ts # Zod schemas and TypeScript types
├── utils.ts # Workflow-specific utilities (optional)
├── prompts/ # LLM prompt templates (optional)
│ └── {promptName}@v1.prompt
└── scenarios/ # Test input scenarios (optional)
└── {scenario_name}.json
workflow() function definitionSkills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.