fix: allow model to invoke Skill tool for review commands
Set disableModelInvocation to false so the model can use the Skill tool to load review/security-review skills as instructed by locale templates. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
7565ad59a4
commit
09bbfb77e1
|
|
@ -34,7 +34,7 @@ function registerReviewSkill(
|
||||||
description,
|
description,
|
||||||
whenToUse: description,
|
whenToUse: description,
|
||||||
userInvocable: true,
|
userInvocable: true,
|
||||||
disableModelInvocation: true,
|
disableModelInvocation: false,
|
||||||
allowedTools: ALLOWED_TOOLS,
|
allowedTools: ALLOWED_TOOLS,
|
||||||
files,
|
files,
|
||||||
async getPromptForCommand(args) {
|
async getPromptForCommand(args) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user