Repository navigation
docs: use --append-system-prompt-file in the longform guide - #3968
Conversation
--system-prompt replaces Claude Code's entire default prompt. The append variant keeps it. Applied to the English guide and the es, ja-JP, tr and zh-CN code blocks. Fixes #3967
ECC Tools / Security EvidenceCommit: Security evidence gate passed (success) No security-sensitive scanner-evidence gap detected. Mode: enforce Scanned 5 changed file(s). No missing scanner-evidence signal was detected. Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / PR Risk TaxonomyCommit: PR taxonomy clear (success) Scanned 5 changed file(s). No taxonomy bucket signals were detected. Scanned 5 changed file(s). No PR taxonomy bucket signals were detected. Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / Reference Set ReadinessCommit: Reference set readiness gaps detected (neutral) Reference evidence present for 0/7 areas (0%) across 5 changed file(s). This check is based on files changed in this PR. Repository-level readiness is still reported by
Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / Hosted Promotion ReadinessCommit: Hosted promotion readiness passed (success) No hosted promotion evidence gaps detected across 5 changed file(s); 0 corpus scenarios had matching evidence. This check compares PR file changes against the evaluator/RAG promotion corpus in No evaluator corpus scenarios matched this PR. Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
|
No actionable comments were generated in the recent review. Summary
Merge Risk:
|
[Low impact] The documentation changes appear safe to merge.
|
|
Thank you for preserving Claude Code defaults when appending context files. We merged your original commit history through #4048 so the related changes could be tested together. The resulting main commit |
What Changed
the-longform-guide.md: replacedclaude --system-prompt "$(cat file)"withclaude --append-system-prompt-file filein the example and the three aliases, and added a one-line note explaining why.docs/{es,ja-JP,tr,zh-CN}/the-longform-guide.md: same command change in the code blocks only. Translated prose is untouched.Why This Change
Per the Claude Code CLI reference,
--system-promptreplaces the entire default system prompt, so readers following the guide lose Claude Code's built-in instructions.--append-system-prompt-fileadds the file and keeps the defaults, which is what the section intends.Fixes #3967
Testing Done
grep -rn -- '--system-prompt "' *.md docs/returns no remaining matches in the longform guidesType of Change
docs:DocumentationSecurity & Quality Checklist