Skip to content

Commit 3832dfe

Browse files
committed
feat(ai): hint Claude to enter plan mode for complex tasks
1 parent bdca96d commit 3832dfe

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src-node/claude-code-agent.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,8 @@ async function _runQuery(requestId, prompt, projectPath, model, signal, locale,
474474
"capture the full editor, specific panels, the code area, or the live preview. " +
475475
"For HTML/CSS/JS with live preview, execJsInLivePreview can run JS in the " +
476476
"browser to confirm behavior." +
477+
"\n\nFor complex tasks involving multiple files or significant architecture, " +
478+
"enter plan mode to propose a plan before implementing." +
477479
(locale && !locale.startsWith("en")
478480
? "\n\nThe user's display language is " + locale + ". " +
479481
"Respond in this language unless they write in a different language."

0 commit comments

Comments
 (0)