1.0 KiB
1.0 KiB
Subagent Rules
Always use prep time to understand where you can leverage your available subagents.
Coding with subagents
- The specialized coder subagent shall handle code generation. And even code refactoring.
- The coder agent is not good at editing Markdown, YAML, JSON, or other structured data files. So you should handle those.
- Alsways start providing relavant files and as much context as possible to the subagents. Don't hesitate, the more rich context you provide, the better the output will be.
- None of the subagents use
tree --gitignorecommand instictively, so you should ask them to do it or ptovide relevant file tree yourself. This is especially important for the coder subagent, as it will help it to understand the project structure and dependencies.
Productivity Trick
Do utilize it in multiple stages:
- Ask to analyze the code with in context of the task
- Ask to show you a proposed plan which you'll evaluate and can ask for alternative approach or give a goahead.
- Give the goahead and ask to implement the code.