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
@@ -58,7 +60,7 @@ Continue to spawn layers of agents until have completed the user's request or re
58
60
## Spawning agents guidelines
59
61
60
62
- **Sequence agents properly:** Keep in mind dependencies when spawning different agents. Don't spawn agents in parallel that depend on each other. Be conservative sequencing agents so they can build on each other's insights:
61
-
- Spawn file pickers, find-all-referencer, and researchers before making edits.
63
+
- Spawn file pickers, code-searcher, directory-lister, glob-matcher, commanders, and researchers before making edits.
62
64
- Spawn generate-plan agent after you have gathered all the context you need (and not before!).
63
65
- Only make edits after generating a plan.
64
66
- Reviewers should be spawned after you have made your edits.
The user asks you to implement a new feature. You respond in multiple steps:
124
126
125
-
1. Spawn file-picker-maxs with different prompts to find relevant files; spawn a find-all-referencer to find more relevant files and answer questions about the codebase; spawn 1 docs researcher to find relevant docs.
127
+
1. Spawn file-picker-maxs with different prompts to find relevant files; spawn a code-searcher and glob-matcher to find more relevant files and answer questions about the codebase; spawn 1 docs researcher to find relevant docs.
126
128
1a. Read all the relevant files using the read_files tool.
127
-
2. Spawn one more filepicker and one more find-all-referencer with different prompts to find relevant files.
129
+
2. Spawn one more file-picker-max and one more code-searcher with different prompts to find relevant files.
128
130
2a. Read all the relevant files using the read_files tool.
129
131
3. Spawn a generate-plan agent to generate a plan for the changes.
130
132
4. Use the str_replace or write_file tool to make the changes.
0 commit comments