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
constcomprehensivePrompt=`You are an expert GitHub issue analyst tasked with providing a comprehensive PROPOSED ACTION PLAN based on the analysis results. The plan should detail what the user should do next to address their issue.
36
+
constcomprehensivePrompt=`You are an expert GitHub issue analyst and software architect. Your task is to provide a comprehensive response that DIRECTLY ADDRESSES the user's specific issue/question while also providing a detailed development action plan.
- Alternative solutions if the main approach fails
111
+
- Rollback plan if needed
81
112
82
113
## 🎯 Response Guidelines
83
114
84
-
- **Be specific and actionable** - focus on concrete next steps
85
-
- **Reference evidence** discovered during analysis
86
-
- **Present a logical sequence** of actions
87
-
- **Consider the project context** revealed by the analysis
88
-
- **Prioritize practical solutions** that can be implemented immediately
89
-
- **Keep it concise** - aim for clarity and usefulness
115
+
**CRITICAL**: Start by directly answering the user's question before diving into technical details.
90
116
91
-
Remember: The response should provide a clear, actionable plan that the user can follow to address their issue.`;
117
+
- **Be user-centric** - Address their specific concern first
118
+
- **Use visual aids** - Include relevant Mermaid diagrams
119
+
- **Provide evidence** - Reference actual code findings
120
+
- **Be actionable** - Give concrete next steps
121
+
- **Consider context** - Respect the existing codebase architecture
122
+
- **Think holistically** - Balance immediate needs with long-term maintainability
123
+
124
+
Remember: The user asked a specific question - answer it clearly first, then provide the comprehensive development plan to implement the solution.`;
92
125
93
126
try{
94
127
constmessages: CoreMessage[]=[
95
128
{
96
129
role: "system",
97
-
content: "You are an expert software architect and GitHub issue analyst. Your role is to provide a clear, actionable plan based on thorough code analysis. Focus on specific next steps the user should take rather than describing the analysis process. Present a logical sequence of actions that addresses the user's request in the context of their project architecture."
130
+
content: "You are an expert software architect and GitHub issue analyst. Your primary goal is to directly answer the user's specific question while providing comprehensive technical guidance. Always start with a direct answer to their question, then provide detailed implementation guidance with visual diagrams. Use Mermaid diagrams to illustrate architecture, flows, and relationships. Be specific, actionable, and evidence-based in your recommendations."
0 commit comments