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

설치로 이동

소스 정보

저장소
cajias/claude-skills
최근 소스 활동
2026년 7월 20일 07:29
감지된 SKILL.md 언어
영어
스타
0
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.