anthropics / anthropics/claude-code-action

Feature: Add --system-prompt-file

Aperta
#811 2 commenti 1 reazione 0 assegnatari Vedi su GitHub
dev-experience enhancement feature-request p3
Lingua principale
TypeScript
Stelle
8.9k
Fork
2.1k
Merge medio
3g 9h
PR unite (30g)
10

Descrizione

There is existing `--system-prompt`, however when the value is parameterised, escaping prompt could be a challenge and not safe.
E.g. `--system-prompt "$(cat .github/prompts/some.prompt.md)"`
So it would be good to have a dedicated `--system-prompt-file` to point to the file with the actual prompt.
Or just create the new input in `action.yml` for `system_prompt`/`SYSTEM_PROMPT`?
Assuming these are different purpose prompts.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.