コード風プロンプト例3c コレクション要素の反復処理
Iterates through array items and outputs each element to console.
/plugin marketplace add kokuyouwind/claude-plugins/plugin install code-like-prompt@kokuyouwind-plugins{"items": array}Emulate the following code internally (without using external tools or interpreter) with environment: $ARGUMENTS
Output only what puts() commands would output. Do not show any explanations, code, variables, or other messages.
# Validate required arguments
raise "Required argument 'items' is missing" if items.nil?
# Iteration
items.each do |item|
puts item
end