Skip to main content

claude-workflow-authoring-gotchas

Four gotchas that bite when authoring Claude Code Workflow scripts (the `Workflow` tool's `.js` files with `export const meta`). Use when: (1) Workflow tool call fails immediately with `Invalid workflow script: meta must be a pure literal: non-literal node type in meta: BinaryExpression`; (2) the script's `args` field arrives as `undefined`/`null`/JSON-string even though the caller passed an object; (3) you're starting a new Workflow script and want to skip the trial-and-error round on these traps; (4) the workflow returns ready/green but agents resolved a DIFFERENT file than the one passed via args — a literal "undefined" in a prompt made them self-heal onto a substitute source. Covers the pure-literal-meta requirement (no string concat, no template literals, no variable references inside the `meta` literal), the args delivery contract (normalize for object / JSON-string / undefined shapes), informative-error patterns for missing required args (multi-line throw including the expected Workflow tool invocation

Ir para a instalação

Informações da origem

Repositório
cajias/claude-skills
Última atividade na origem
20 de julho de 2026 às 07:29
Idioma detectado do SKILL.md
inglês
Estrelas
0
Forks
0

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.