spec-to-workflow
Turn a spec (a description of an outcome and its scope) into an executable Cortex .workflow.js file — designs the fan-out, assigns a fast or capable model per task, scopes every agent() call to a cone of the files it may touch, and skips agent() entirely for purely mechanical steps. Use whenever the user has a spec or requirements doc and asks to "turn this into a workflow," "cortex-ify this," "make a workflow for this spec," or wants Cortex to execute a piece of work — even if they don't name Cortex explicitly but describe applying the same change across many files, modules, or endpoints. Trigger only when the Cortex CLI is available to run the generated workflow; this targets Cortex's agent/parallel/pipeline globals, not Anthropic's Workflow tool.