Skip to content

Commit 855a5e2

Browse files
Refactor: Update new_task tool description and mode examples (#3586)
The description for the `new_task` tool has been simplified for clarity. Additionally, the example modes listed for the `mode` parameter have been updated to include "debug" instead of "ask".
1 parent 4aa448b commit 855a5e2

File tree

2 files changed

+26
-26
lines changed

2 files changed

+26
-26
lines changed

src/core/prompts/__tests__/__snapshots__/system.test.ts.snap

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -341,10 +341,10 @@ Example: Requesting to switch to code mode
341341
</switch_mode>
342342
343343
## new_task
344-
Description: Create a new task with a specified starting mode and initial message. This tool instructs the system to create a new Cline instance in the given mode with the provided message.
344+
Description: This will let you create a new task instance in the chosen mode using your provided message.
345345
346346
Parameters:
347-
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect").
347+
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "debug", "architect").
348348
- message: (required) The initial user message or instructions for this new task.
349349
350350
Usage:
@@ -814,10 +814,10 @@ Example: Requesting to switch to code mode
814814
</switch_mode>
815815
816816
## new_task
817-
Description: Create a new task with a specified starting mode and initial message. This tool instructs the system to create a new Cline instance in the given mode with the provided message.
817+
Description: This will let you create a new task instance in the chosen mode using your provided message.
818818
819819
Parameters:
820-
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect").
820+
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "debug", "architect").
821821
- message: (required) The initial user message or instructions for this new task.
822822
823823
Usage:
@@ -1287,10 +1287,10 @@ Example: Requesting to switch to code mode
12871287
</switch_mode>
12881288
12891289
## new_task
1290-
Description: Create a new task with a specified starting mode and initial message. This tool instructs the system to create a new Cline instance in the given mode with the provided message.
1290+
Description: This will let you create a new task instance in the chosen mode using your provided message.
12911291
12921292
Parameters:
1293-
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect").
1293+
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "debug", "architect").
12941294
- message: (required) The initial user message or instructions for this new task.
12951295
12961296
Usage:
@@ -1813,10 +1813,10 @@ Example: Requesting to switch to code mode
18131813
</switch_mode>
18141814
18151815
## new_task
1816-
Description: Create a new task with a specified starting mode and initial message. This tool instructs the system to create a new Cline instance in the given mode with the provided message.
1816+
Description: This will let you create a new task instance in the chosen mode using your provided message.
18171817
18181818
Parameters:
1819-
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect").
1819+
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "debug", "architect").
18201820
- message: (required) The initial user message or instructions for this new task.
18211821
18221822
Usage:
@@ -2338,10 +2338,10 @@ Example: Requesting to switch to code mode
23382338
</switch_mode>
23392339
23402340
## new_task
2341-
Description: Create a new task with a specified starting mode and initial message. This tool instructs the system to create a new Cline instance in the given mode with the provided message.
2341+
Description: This will let you create a new task instance in the chosen mode using your provided message.
23422342
23432343
Parameters:
2344-
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect").
2344+
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "debug", "architect").
23452345
- message: (required) The initial user message or instructions for this new task.
23462346
23472347
Usage:
@@ -2883,10 +2883,10 @@ Example: Requesting to switch to code mode
28832883
</switch_mode>
28842884
28852885
## new_task
2886-
Description: Create a new task with a specified starting mode and initial message. This tool instructs the system to create a new Cline instance in the given mode with the provided message.
2886+
Description: This will let you create a new task instance in the chosen mode using your provided message.
28872887
28882888
Parameters:
2889-
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect").
2889+
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "debug", "architect").
28902890
- message: (required) The initial user message or instructions for this new task.
28912891
28922892
Usage:
@@ -3449,10 +3449,10 @@ Example: Requesting to switch to code mode
34493449
</switch_mode>
34503450
34513451
## new_task
3452-
Description: Create a new task with a specified starting mode and initial message. This tool instructs the system to create a new Cline instance in the given mode with the provided message.
3452+
Description: This will let you create a new task instance in the chosen mode using your provided message.
34533453
34543454
Parameters:
3455-
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect").
3455+
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "debug", "architect").
34563456
- message: (required) The initial user message or instructions for this new task.
34573457
34583458
Usage:
@@ -3922,10 +3922,10 @@ Example: Requesting to switch to code mode
39223922
</switch_mode>
39233923
39243924
## new_task
3925-
Description: Create a new task with a specified starting mode and initial message. This tool instructs the system to create a new Cline instance in the given mode with the provided message.
3925+
Description: This will let you create a new task instance in the chosen mode using your provided message.
39263926
39273927
Parameters:
3928-
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect").
3928+
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "debug", "architect").
39293929
- message: (required) The initial user message or instructions for this new task.
39303930
39313931
Usage:
@@ -4486,10 +4486,10 @@ Example: Requesting to switch to code mode
44864486
</switch_mode>
44874487
44884488
## new_task
4489-
Description: Create a new task with a specified starting mode and initial message. This tool instructs the system to create a new Cline instance in the given mode with the provided message.
4489+
Description: This will let you create a new task instance in the chosen mode using your provided message.
44904490
44914491
Parameters:
4492-
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect").
4492+
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "debug", "architect").
44934493
- message: (required) The initial user message or instructions for this new task.
44944494
44954495
Usage:
@@ -4965,10 +4965,10 @@ Example: Requesting to switch to code mode
49654965
</switch_mode>
49664966
49674967
## new_task
4968-
Description: Create a new task with a specified starting mode and initial message. This tool instructs the system to create a new Cline instance in the given mode with the provided message.
4968+
Description: This will let you create a new task instance in the chosen mode using your provided message.
49694969
49704970
Parameters:
4971-
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect").
4971+
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "debug", "architect").
49724972
- message: (required) The initial user message or instructions for this new task.
49734973
49744974
Usage:
@@ -5326,10 +5326,10 @@ Example: Requesting to switch to code mode
53265326
</switch_mode>
53275327
53285328
## new_task
5329-
Description: Create a new task with a specified starting mode and initial message. This tool instructs the system to create a new Cline instance in the given mode with the provided message.
5329+
Description: This will let you create a new task instance in the chosen mode using your provided message.
53305330
53315331
Parameters:
5332-
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect").
5332+
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "debug", "architect").
53335333
- message: (required) The initial user message or instructions for this new task.
53345334
53355335
Usage:
@@ -5881,10 +5881,10 @@ Example: Requesting to switch to code mode
58815881
</switch_mode>
58825882
58835883
## new_task
5884-
Description: Create a new task with a specified starting mode and initial message. This tool instructs the system to create a new Cline instance in the given mode with the provided message.
5884+
Description: This will let you create a new task instance in the chosen mode using your provided message.
58855885
58865886
Parameters:
5887-
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect").
5887+
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "debug", "architect").
58885888
- message: (required) The initial user message or instructions for this new task.
58895889
58905890
Usage:

src/core/prompts/tools/new-task.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ import { ToolArgs } from "./types"
22

33
export function getNewTaskDescription(_args: ToolArgs): string {
44
return `## new_task
5-
Description: Create a new task with a specified starting mode and initial message. This tool instructs the system to create a new Cline instance in the given mode with the provided message.
5+
Description: This will let you create a new task instance in the chosen mode using your provided message.
66
77
Parameters:
8-
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect").
8+
- mode: (required) The slug of the mode to start the new task in (e.g., "code", "debug", "architect").
99
- message: (required) The initial user message or instructions for this new task.
1010
1111
Usage:

0 commit comments

Comments
 (0)