Back to prompt library
Mastra AI Workflow Initialization
Linked challenge: Software-Defined PLC Motion Code Synthesis with Mastra AI and Sourcegraph Amp
Prompt source
implementation1 lines1 sectionsNo variables0 checklist items
Using `@mastra/core`, define a workflow with steps `parseRequirement`, `fetchCodeContext`, and `generateSTCode`. Configure steps to return structured objects.