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 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
This commit is contained in:
1 parent
6a3fd48fbd
commit
e9df1ca0da
1 file changed
+3
-2
@@ -5,7 +5,8 @@ input:
|
|||||||
- target
|
- target
|
||||||
# FILL IN: rename or remove. input takes names only, matching
|
# 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
|
# [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:
|
# Optional, uncomment only if needed. The Claude family keeps them, Gemini drops them:
|
||||||
# allowed-tools: Bash(git status:*) Read
|
# allowed-tools: Bash(git status:*) Read
|
||||||
# model: FILL IN
|
# model: FILL IN
|
||||||
@@ -13,4 +14,4 @@ input:
|
|||||||
---
|
---
|
||||||
FILL IN: an instruction to the model, written so it works with nothing else loaded.
|
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}.
|
||||||
Reference in new issue
Block a user