ai-developer-skill-os 3.1.1 → 3.1.4
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/install.js +37 -4
- package/package.json +1 -1
- package/rename.js +3 -3
- package/skills/qk-access-policy/SKILL.md +1 -1
- package/skills/qk-ai-builder/SKILL.md +1 -1
- package/skills/qk-api-lifecycle/SKILL.md +1 -1
- package/skills/qk-bug-resolution/SKILL.md +1 -1
- package/skills/qk-context-loader/SKILL.md +1 -1
- package/skills/qk-data-lifecycle/SKILL.md +1 -1
- package/skills/qk-design-to-code/SKILL.md +1 -1
- package/skills/qk-docs/SKILL.md +1 -1
- package/skills/qk-documentation-system/SKILL.md +1 -1
- package/skills/qk-engineering-standard/SKILL.md +1 -1
- package/skills/qk-feature-delivery/SKILL.md +1 -1
- package/skills/qk-help/SKILL.md +1 -1
- package/skills/qk-orchestrator/SKILL.md +1 -1
- package/skills/qk-policy-engine/SKILL.md +1 -1
- package/skills/qk-production-release/SKILL.md +1 -1
- package/skills/qk-project-bootstrap/SKILL.md +1 -1
- package/skills/qk-project-health/SKILL.md +1 -1
- package/skills/qk-project-memory/SKILL.md +1 -1
- package/skills/qk-system-evolution/SKILL.md +1 -1
- package/skills/qk-ui-audit/SKILL.md +1 -1
- package/skills/qk-ui-system-builder/SKILL.md +1 -1
- package/skills/qk-validation-gate/SKILL.md +1 -1
package/bin/install.js
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
import fs from 'fs';
|
|
4
|
+
import path from 'path';
|
|
5
|
+
import readline from 'readline';
|
|
6
|
+
import os from 'os';
|
|
7
|
+
import { fileURLToPath } from 'url';
|
|
8
|
+
|
|
9
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
10
|
+
const __dirname = path.dirname(__filename);
|
|
7
11
|
|
|
8
12
|
const sourceDir = path.join(__dirname, '..');
|
|
9
13
|
|
|
@@ -192,6 +196,35 @@ Vui lòng tìm đọc danh sách kỹ năng tại file \`${baseFolderForPrompt}/
|
|
|
192
196
|
[Trigger Mechanism]
|
|
193
197
|
Bất cứ khi nào người dùng gõ lệnh bắt đầu bằng \`./qk-[tên-skill]\`, bạn BẮT BUỘC phải đọc file \`SKILL.md\` tương ứng trong thư mục \`${baseFolderForPrompt}/...\` (hoặc dùng tool view_file để đọc file đó) trước khi làm bất cứ việc gì. Đừng bao giờ đoán mò.
|
|
194
198
|
|
|
199
|
+
[Autonomous Execution & Transparency]
|
|
200
|
+
Khi nhận được lệnh kỹ năng, bạn BẮT BUỘC phải:
|
|
201
|
+
1. Thông báo rõ ràng: "[🚀 AI Developer Skin: Đã kích hoạt kỹ năng <tên-skill>]" ngay dòng đầu tiên.
|
|
202
|
+
2. TỰ ĐỘNG THỰC THI (End-to-End): Dùng các tools của bạn (đọc file, sửa code, chạy lệnh) để tự động hoàn thành 100% mục tiêu được giao. KHÔNG ĐƯỢC dừng lại để hỏi ý kiến trừ khi gặp lỗi chí mạng hoặc requirement quá mập mờ.
|
|
203
|
+
3. BÁO CÁO KẾT QUẢ: Sau khi hoàn tất sửa code, LUÔN trả về báo cáo theo đúng format markdown dưới đây:
|
|
204
|
+
|
|
205
|
+
\\\`\\\`\\\`markdown
|
|
206
|
+
🔧 <Tên Kỹ Năng> Summary
|
|
207
|
+
─────────────────────────────────────────────────
|
|
208
|
+
Scope: [Tóm tắt ngắn gọn phạm vi công việc]
|
|
209
|
+
Changes: [N file modified, N extracted, N removed]
|
|
210
|
+
|
|
211
|
+
Changes applied:
|
|
212
|
+
✅ [Loại hành động 1]: [Chi tiết những gì đã làm, ví dụ: Ngăn chặn lỗi lặp vô hạn...]
|
|
213
|
+
✅ [Loại hành động 2]: [Chi tiết những gì đã làm]
|
|
214
|
+
|
|
215
|
+
📊 Quality improvement:
|
|
216
|
+
Before: [Mô tả ngắn tình trạng trước khi sửa/làm]
|
|
217
|
+
After: [Mô tả sự cải thiện đạt được]
|
|
218
|
+
|
|
219
|
+
✅ Verification:
|
|
220
|
+
Tests: [Trạng thái test (vd: N/A, Pass)]
|
|
221
|
+
Lint/Types:[Trạng thái kiểm tra lỗi (vd: Clean)]
|
|
222
|
+
Behavior: [Kết quả hoạt động (vd: Unchanged, Improved)]
|
|
223
|
+
|
|
224
|
+
⚠️ Notes:
|
|
225
|
+
[Các lưu ý đặc biệt, rủi ro tiềm ẩn hoặc cách người dùng có thể test lại tính năng này]
|
|
226
|
+
\\\`\\\`\\\`
|
|
227
|
+
|
|
195
228
|
[Command Arguments]
|
|
196
229
|
Người dùng có thể truyền thêm tham số vào lệnh (ví dụ: \`./qk-ui-builder --fw=react --css=tailwind\`).
|
|
197
230
|
Nếu người dùng sử dụng tham số (argument), bạn BẮT BUỘC phải tuân thủ tuyệt đối các công nghệ/yêu cầu được chỉ định trong tham số đó thay vì dùng mặc định.`;
|
package/package.json
CHANGED
package/rename.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import fs from 'fs';
|
|
2
|
+
import path from 'path';
|
|
3
|
+
import { execSync } from 'child_process';
|
|
4
4
|
|
|
5
5
|
const skillsDir = 'skills';
|
|
6
6
|
const categories = fs.readdirSync(skillsDir).filter(f => fs.statSync(path.join(skillsDir, f)).isDirectory());
|
package/skills/qk-docs/SKILL.md
CHANGED
package/skills/qk-help/SKILL.md
CHANGED