SkillPedia Skills Encyclopedia
中文 EN

Skills 2026-05-29 12:14 UTC

claude-code-workflow-creator

Committed by ray-amjad. Update Category: Bug Fixes & Stability Improvements. Commit details: fix: correct args behavior — runtime serializes args to a string. This update resolves known runtime errors and enhances system reliability.

ray-amjad c4e85d8 ray-amjad/claude-code-workflow-creator

CommitRaw commit message

fix: correct args behavior — runtime serializes args to a string

Empirically verified (zero-agent probe workflows): the Workflow runtime
serializes the `args` input to a string before the script runs. A JSON
object or array passed via the tool's `args` field arrives as JSON *text*,
not a live value, so `args.field` / `args.map(...)` do not work directly.

The skill previously claimed the opposite ("passed through unchanged, an
object stays an object, no stringification"). The defensive normalizer
(typeof args === 'string' ? JSON.parse : args) was already correct and is
kept; only the explanations are fixed, plus a verification recipe is added.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>