Skip to content

Commit d7f95fa

Browse files
fix(ci): use --append-system-prompt instead of deprecated custom_instructions
Replace deprecated custom_instructions input with --append-system-prompt in claude_args for higher priority skill routing when users trigger @claude review.
1 parent dfb06af commit d7f95fa

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

.github/workflows/claude.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,4 @@ jobs:
5050
claude_args: |
5151
--model claude-sonnet-4
5252
--allowedTools "mcp__github_inline_comment__create_inline_comment"
53-
custom_instructions: |
54-
When a user asks you to "review" a pull request (e.g. "@claude review",
55-
"@claude review this PR", "@claude please review"), execute the /review
56-
slash command. Do not attempt a freeform review — always use the skill.
53+
--append-system-prompt "CRITICAL INSTRUCTION: When a user asks you to review a pull request (e.g. @claude review, @claude review this PR, @claude please review), you MUST execute the /review slash command. Do NOT attempt a freeform review. Always use the /review skill — no exceptions."

0 commit comments

Comments
 (0)