Research the codebase and analyze the request to understand requirements and dependencies.
Clarify requirements with the user through targeted questions.
Retrieve relevant documentation for external dependencies.
Create a structured plan with an overview, sprints, and tasks.
Save the plan to a markdown file.
Identify potential issues and edge cases in the plan.
Refine the plan based on additional information.
Present the plan summary and file path to the user.