You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2988cbe
Browse filesBrowse the repository at this point in the historyBrowse files
docs: map custom_instructions to --append-system-prompt (#1480) (#1484)
* docs: map custom_instructions to --append-system-prompt (#1480)
The v1 migration guide mapped the v0 `custom_instructions` input to
`claude_args: --system-prompt`, but these have different semantics:
`custom_instructions` *appended* to Claude Code's default system prompt,
while `--system-prompt` *replaces* it entirely. Users who followed the
guide silently lost the whole built-in system prompt (tool-usage guidance,
sub-agent conventions, etc.), keeping only their few custom lines.
Fixes#1480:
- Map `custom_instructions` -> `--append-system-prompt` (matches v0 append
semantics) in the deprecated-inputs table, the migration example, and the
checklist.
- Correct the claude_args options table: `--system-prompt` replaces the
entire prompt; add an `--append-system-prompt` row for append behavior.
Docs-only; no code changes.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* docs: fix remaining custom_instructions migration references (#1480)
Update usage.md, faq.md, and configuration.md to map custom_instructions
to --append-system-prompt, matching the migration-guide fix. The
override_prompt row is left unchanged since replacement semantics may be
intended there.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: docs/faq.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -153,7 +153,7 @@ prompt: "Review this PR for security vulnerabilities"
153
153
**These inputs are deprecated in v1.0:**
154
154
155
155
-**`direct_prompt`** → Use `prompt` instead
156
-
-**`custom_instructions`** → Use `claude_args` with `--system-prompt`
156
+
-**`custom_instructions`** → Use `claude_args` with `--append-system-prompt` (appends to the default system prompt, matching v0 behavior; `--system-prompt` replaces it entirely)
157
157
158
158
Migration examples:
159
159
@@ -165,7 +165,7 @@ custom_instructions: "Focus on security"
Copy file name to clipboardExpand all lines: docs/usage.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -99,7 +99,7 @@ These inputs are deprecated and will be removed in a future version:
99
99
|`mode`|**DEPRECATED**: Mode is now automatically detected based on workflow context | Remove this input; the action auto-detects the correct mode |
100
100
|`direct_prompt`|**DEPRECATED**: Use `prompt` instead | Replace with `prompt`|
101
101
|`override_prompt`|**DEPRECATED**: Use `prompt` with template variables or `claude_args` with `--system-prompt`| Use `prompt` for templates or `claude_args` for system prompts |
102
-
|`custom_instructions`|**DEPRECATED**: Use `claude_args` with `--system-prompt` or include in `prompt`| Move instructions to `prompt` or use `claude_args`|
102
+
|`custom_instructions`|**DEPRECATED**: Use `claude_args` with `--append-system-prompt` or include in `prompt`| Move instructions to `prompt` or use `claude_args`|
103
103
|`max_turns`|**DEPRECATED**: Use `claude_args` with `--max-turns` instead | Use `claude_args: "--max-turns 5"`|
104
104
|`model`|**DEPRECATED**: Use `claude_args` with `--model` instead | Use `claude_args: "--model claude-4-0-sonnet-20250805"`|
105
105
|`fallback_model`|**DEPRECATED**: Use `claude_args` with fallback configuration | Configure fallback in `claude_args` or `settings`|
@@ -139,7 +139,7 @@ For a comprehensive guide on migrating from v0.x to v1.0, including step-by-step
0 commit comments