From e9df1ca0da9af2d3130ec33272b53495ac1cfd72 Mon Sep 17 00:00:00 2001 From: Defame1297 Date: Thu, 15 Oct 2026 16:04:49 +0000 Subject: [PATCH] fix(kyberforge): keep literal $ARGUMENTS out of the prompt template body A scaffolded body that mentions $ARGUMENTS ships that text in the deployed command, where Claude Code substitutes it and Gemini rewrites it to {{args}}. Move the warning into the template comments, which are deleted on fill-in. Refs #149 Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN --- .../.apm/skills/prompt-author/assets/templates/prompt.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/kyberforge/.apm/skills/prompt-author/assets/templates/prompt.md b/plugins/kyberforge/.apm/skills/prompt-author/assets/templates/prompt.md index af1a7a1..7cc7966 100644 --- a/plugins/kyberforge/.apm/skills/prompt-author/assets/templates/prompt.md +++ b/plugins/kyberforge/.apm/skills/prompt-author/assets/templates/prompt.md @@ -5,7 +5,8 @@ input: - target # FILL IN: rename or remove. input takes names only, matching # [A-Za-z][A-Za-z0-9_-]{0,63}, no duplicates; a description beside a name is -# discarded. It becomes `arguments:` on Claude. +# discarded. It becomes `arguments:` on Claude. Do not also write a literal +# $ARGUMENTS in the body: both would be deployed. # Optional, uncomment only if needed. The Claude family keeps them, Gemini drops them: # allowed-tools: Bash(git status:*) Read # model: FILL IN @@ -13,4 +14,4 @@ input: --- FILL IN: an instruction to the model, written so it works with nothing else loaded. -Work on ${input:target}. Do not also write a literal $ARGUMENTS. +Work on ${input:target}.