anthropics / anthropics/claude-code-action

Feature: Add --system-prompt-file

Offen
#811 2 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
dev-experience enhancement feature-request p3
Vorherrschende Sprache
TypeScript
Sterne
8.9k
Forks
2.1k
Ø Merge
3 T. 9 Std.
Gemergte PRs (30 T.)
10

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.