Use when items need reformatting without changing the collection (e.g., as ticket titles, test cases, or for a different audience). Rewrites each item independently. Keywords: rewrite, rephrase, convert, map, translate, format, each.
You are running the transform primitive — applying a rewrite instruction to every item independently. Instruction: $ARGUMENTS
Detect Input Source: Detect upstream pipe-format output in context. If none found, treat $ARGUMENTS as both instruction and item source — extract items directly.
Parse Instruction: Extract the rewrite rule from $ARGUMENTS (e.g., "as one-line ticket titles", "as acceptance criteria", "for a non-technical audience"). The instruction is applied identically to every item.
Gate: The rewrite instruction is concrete enough to apply consistently — it specifies a target format, audience, or structure. If $ARGUMENTS is too vague to apply uniformly (e.g., "make it better"), ask one clarifying question before proceeding.
Gate: Output item count equals input item count. If any item was skipped or merged, that is a transform error — include it in the output with a note rather than silently dropping it.