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
Copy file name to clipboardExpand all lines: apps/server/utils/prompt.ts
+9-10Lines changed: 9 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -88,21 +88,20 @@ You are given a Software Requirements Specification (SRS) document.
88
88
89
89
Your task is to return a realistic and production-grade backend project file structure that implements the described system, using best practices for a Node.js or python or springboot backend project.
90
90
91
-
### Output Format
91
+
### Output Format YAML
92
92
93
93
Respond with **only** a JavaScript or django or springboot array of file paths, like this:
94
94
95
-
[
96
-
'src/index.js',
97
-
'src/database.js',
98
-
'src/routes.js',
99
-
'src/controller.js',
100
-
'src/model.js',
101
-
]
95
+
project_dir
96
+
- 'src/index.js',
97
+
- 'src/database.js',
98
+
- 'src/routes.js',
99
+
- 'src/controller.js',
100
+
- 'src/model.js',
102
101
103
102
### Rules
104
-
105
-
- The array should contain full relative paths to each file.
103
+
- The yaml should contain full relative paths to each file.
104
+
- follow the strict yaml format and nothing more
106
105
- Include meaningful folders and subfolders (e.g. src, routes, controllers, models, middleware, utils).
107
106
- Follow best practices for organizing a scalable Node.js or django backend.
108
107
- Do **not** include folder names as objects — just file paths as strings.
0 commit comments