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
User requirement analysis related prompt templates
3
+
4
+
Contains prompt templates for requirement analysis Agent, supporting question generation and requirement summarization functions.
5
+
"""
6
+
7
+
# ========================================
8
+
# User requirement analysis related prompt templates
9
+
# ========================================
10
+
11
+
REQUIREMENT_QUESTION_GENERATION_PROMPT="""You are a professional requirement analysis expert, skilled at helping users refine project requirements through precise questions.
12
+
13
+
Please generate 1-3 precise guiding questions based on user's initial requirement description to help users provide more detailed information.
14
+
15
+
User Initial Requirements:
16
+
{user_input}
17
+
18
+
Please generate a JSON format question list, each question contains the following fields:
5. Ensure questions help users think about important details they might have missed
30
+
31
+
Please return JSON format results directly, without including other text descriptions."""
32
+
33
+
REQUIREMENT_SUMMARY_PROMPT="""You are a professional technical requirement analyst, skilled at converting user requirement descriptions into detailed technical specification documents.
34
+
35
+
Please generate a detailed project requirement document based on user's initial requirements and supplementary responses.
36
+
37
+
User Initial Requirements:
38
+
{initial_input}
39
+
40
+
User Supplementary Responses:
41
+
{answers_text}
42
+
43
+
Please generate a concise requirement document focusing on the following core sections:
44
+
45
+
## Project Overview
46
+
Brief description of project's core goals and value proposition
47
+
48
+
## Functional Requirements
49
+
Detailed list of required features and functional modules:
50
+
- Core functionalities
51
+
- User interactions and workflows
52
+
- Data processing requirements
53
+
- Integration needs
54
+
55
+
## Technical Architecture
56
+
Recommended technical design including:
57
+
- Technology stack and frameworks
58
+
- System architecture design
59
+
- Database and data storage solutions
60
+
- API design considerations
61
+
- Security requirements
62
+
63
+
## Performance & Scalability
64
+
- Expected user scale and performance requirements
65
+
- Scalability considerations and constraints
66
+
67
+
Requirements:
68
+
1. Focus on what needs to be built and how to build it technically
69
+
2. Be concise but comprehensive - avoid unnecessary implementation details
70
+
3. Provide clear functional specifications and technical architecture guidance
71
+
4. Consider project feasibility and technical complexity"""
0 commit comments