anthropics / anthropics/claude-code-action

Feature: Add --system-prompt-file

Open
#811 2 comments 1 reaction 0 assignees View on GitHub
dev-experience enhancement feature-request p3
Dominant language
TypeScript
Stars
8.9k
Forks
2.1k
Avg merge
3d 9h
Merged PRs (30d)
10

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.