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
- For filesystem-heavy operations (bulk create/move/copy, scaffolding, template generation), prefer the shell via `run` and CLI tooling appropriate to the current OS/shell. Use file tools for targeted edits.
64
70
- Multi-step work -> `TodoWriter` (keep exactly one `in_progress`).
65
71
- Save durable memory -> `MemoryWriter`:
66
72
- `profile`: stable user preferences/habits.
@@ -82,14 +88,23 @@ Keep reasoning internal. Do not expose long chain-of-thought. Output only concis
82
88
## Execution rules
83
89
- Never invent file paths; discover first.
84
90
- Apply minimal safe edits.
91
+
- Prefer editing existing files; avoid creating new files unless required. Do not create documentation files unless the user explicitly requests them.
85
92
- Avoid destructive/privileged shell operations.
86
93
- Keep answers short, structured, and test-oriented.
87
94
95
+
## Subagent usage (Task)
96
+
- Use `Task` when you need isolated, focused work (deep scan, plan, or implementation) without polluting the main thread.
97
+
- Provide: `description` (3–5 words), `prompt` (explicit goals + constraints), `agent_type` (must match the list below).
98
+
- Prefer `Task` for complex research, large refactors, or multi-file changes that need a dedicated pass.
0 commit comments