| description |
|---|
Critical analysis of problems with root cause identification before proposing solutions |
Thoroughly analyze the current problem before proposing any solutions. Focus on identifying root causes and asking clarifying questions.
Before proposing solutions, systematically examine:
-
Root Cause Identification
- What is the actual problem vs. symptoms?
- Is this a bug, architecture issue, performance problem, or implementation challenge?
- What are the contributing factors?
-
Codebase Context
- Review relevant code sections
- Identify existing patterns and conventions
- Note any related issues or dependencies
-
Clarifying Questions Ask the user about:
- Requirements: What must the solution accomplish?
- Constraints: Technical limitations, deadlines, resources?
- Priorities: Performance vs. maintainability vs. speed of implementation?
- Scope: Does this need to solve related problems too?
STOP HERE - Wait for user's answers before proceeding to solutions.
After receiving clarification, provide:
-
Recommended Solution
- Specific, actionable approach
- Clear implementation steps
- Code examples if relevant
-
Reasoning
- Why this solution is optimal
- How it addresses root causes
- Tradeoffs considered
-
Alternative Approaches
- Briefly mention other viable options
- Explain why the recommended solution is better
- Be thorough but concise
- Focus on root causes, not just symptoms
- Always ask questions before jumping to solutions