prompt-suite 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/cli.js +1 -1
- package/package.json +1 -1
- package/{templates/gen-requirement-template.txt → specs/FEAT-000/gen-requirement-template.md} +3 -3
- package/raws/.gitkeep +0 -0
- package/raws/changename.md +0 -7
- package/raws/my-project-rules.txt +0 -7
- /package/{templates/gen-rule-template.txt → specs/FEAT-000/gen-rule-template.md} +0 -0
package/bin/cli.js
CHANGED
|
@@ -17,7 +17,7 @@ const sourceRoot = path.join(__dirname, '..');
|
|
|
17
17
|
const targetRoot = path.join(process.cwd(), 'prompt-suite');
|
|
18
18
|
|
|
19
19
|
// Exclude 'flows' - will be copied directly to IDE prompts folder
|
|
20
|
-
const itemsToCopy = ['rules', 'scripts', 'templates', 'README.md'];
|
|
20
|
+
const itemsToCopy = ['rules', 'scripts', 'specs', 'templates', 'README.md'];
|
|
21
21
|
|
|
22
22
|
console.log(`\n🚀 Initializing Prompt Suite...`);
|
|
23
23
|
console.log(`Source: ${sourceRoot}`);
|
package/package.json
CHANGED
package/{templates/gen-requirement-template.txt → specs/FEAT-000/gen-requirement-template.md}
RENAMED
|
@@ -18,9 +18,9 @@ Example (Update Feature):
|
|
|
18
18
|
Task ID: FEAT-002
|
|
19
19
|
Language: vi
|
|
20
20
|
Task Mode: UPDATE
|
|
21
|
-
Existing Logic/Code:
|
|
21
|
+
Existing Logic/Code:
|
|
22
22
|
function login(email, password) {
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
// checked password
|
|
24
|
+
return true;
|
|
25
25
|
}
|
|
26
26
|
Raw Request: Cập nhật hàm login để thêm logic kiểm tra captcha trước khi check password. Nếu sai captcha trả về lỗi 400.
|
package/raws/.gitkeep
DELETED
|
File without changes
|
package/raws/changename.md
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
# Yêu cầu thay đổi tên dự án và prefix
|
|
2
|
-
|
|
3
|
-
Thực hiện các thay đổi sau cho hệ thống prompt:
|
|
4
|
-
|
|
5
|
-
1. **Đổi tên dự án**: Cập nhật tên thư mục hoặc tên gói thành `devflow-prompts`.
|
|
6
|
-
2. **Đổi Prefix Prompt**: Cập nhật tiền tố (prefix) cho các lệnh prompt từ tên cũ sang `devflow`.
|
|
7
|
-
- Ví dụ: đổi thành `df.1-gen-requirement`, `df.2-gen-design`, v.v.
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
Step: all
|
|
2
|
-
Stack: Laravel (Backend) + Inertia & Vue.js (Frontend)
|
|
3
|
-
Architecture: Read this source code to understand the architecture
|
|
4
|
-
Coding Rules: Read this source code to understand the coding rules
|
|
5
|
-
Team: 5 developers, mid-level experience
|
|
6
|
-
Constraints: Must support 10k concurrent users
|
|
7
|
-
Language: en
|
|
File without changes
|