Chaining tasks
Chaining tasks is a powerful feature for building up relevant context to the agent for solving the next task. By using this technique, you can have the agent map out how a feature works in your app, using the task as a short-term memory for relevant context, making it easier for the agent to make precise changes to your app even when it grows in size. This is better exemplified than described.
Debug an issue
First prompt
Describe the issue you experience, and tell the agent to create a task for investigating it and writing down findings as it goes.
Second prompt
Provide the agent with context from the first prompt and start a task based on it
Make changes to existing feature
First prompt
Tell the agent what you want to change with an existing feature and have the agent map out the required changes for this.
Second prompt
Last updated
Was this helpful?