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 CHANGED
@@ -1,9 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- const fs = require('fs');
4
- const path = require('path');
5
- const readline = require('readline');
6
- const os = require('os');
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-developer-skill-os",
3
- "version": "3.1.1",
3
+ "version": "3.1.4",
4
4
  "description": "Multi-agent skill package cho AI coding agents (Claude, Cursor, Windsurf, Antigravity) với 23 skills chuyên nghiệp.",
5
5
  "main": "bin/install.js",
6
6
  "bin": {
package/rename.js CHANGED
@@ -1,6 +1,6 @@
1
- const fs = require('fs');
2
- const path = require('path');
3
- const { execSync } = require('child_process');
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());
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: qk-access-policy
3
- version: 3.1.0
3
+ version: 3.1.4
4
4
  updated: 2026-07-02
5
5
  description: Manage RBAC, ABAC, and security boundaries.
6
6
  category: security
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: qk-ai-builder
3
- version: 3.1.0
3
+ version: 3.1.4
4
4
  updated: 2026-07-02
5
5
  description: Design AI Logic, Prompts, RAG pipelines, and Agents.
6
6
  category: ai
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: qk-api-lifecycle
3
- version: 3.1.0
3
+ version: 3.1.4
4
4
  updated: 2026-07-02
5
5
  description: Design, implement, and integrate API endpoints.
6
6
  category: engineering
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: qk-bug-resolution
3
- version: 3.1.0
3
+ version: 3.1.4
4
4
  updated: 2026-07-02
5
5
  description: Fix bugs and prevent regressions.
6
6
  category: engineering
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: qk-context-loader
3
- version: 3.1.0
3
+ version: 3.1.4
4
4
  updated: 2026-07-02
5
5
  description: Load relevant files and map the dependency graph for a task.
6
6
  category: utilities
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: qk-data-lifecycle
3
- version: 3.1.0
3
+ version: 3.1.4
4
4
  updated: 2026-07-02
5
5
  description: Manage Database Schema, Migrations, and Repositories.
6
6
  category: database
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: qk-design-to-code
3
- version: 3.1.0
3
+ version: 3.1.4
4
4
  updated: 2026-07-02
5
5
  description: Convert Figma/Images to semantic, pixel-perfect code components.
6
6
  category: frontend
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: qk-docs
3
- version: 3.1.0
3
+ version: 3.1.4
4
4
  updated: 2026-07-02
5
5
  description: Write and maintain human-readable project documentation.
6
6
  category: documentation
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: qk-documentation-system
3
- version: 3.1.0
3
+ version: 3.1.4
4
4
  updated: 2026-07-02
5
5
  description: Maintain system-level architecture docs and DevOps runbooks.
6
6
  category: documentation
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: qk-engineering-standard
3
- version: 3.1.0
3
+ version: 3.1.4
4
4
  updated: 2026-07-02
5
5
  description: Enforce SOLID, DRY, Clean Code, and Naming conventions.
6
6
  category: standard
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: qk-feature-delivery
3
- version: 3.1.0
3
+ version: 3.1.4
4
4
  updated: 2026-07-02
5
5
  description: Develop new features end-to-end (Frontend & Backend).
6
6
  category: engineering
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: qk-help
3
- version: 3.1.0
3
+ version: 3.1.4
4
4
  updated: 2026-07-02
5
5
  description: Display the list of available skills and pro-tips.
6
6
  category: utilities
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: qk-orchestrator
3
- version: 3.1.0
3
+ version: 3.1.4
4
4
  updated: 2026-07-02
5
5
  description: Route user requests, parse intents, and delegate to the correct sub-skills.
6
6
  category: orchestration
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: qk-policy-engine
3
- version: 3.1.0
3
+ version: 3.1.4
4
4
  updated: 2026-07-02
5
5
  description: Policy evaluation engine to ensure actions are authorized and safe.
6
6
  category: security
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: qk-production-release
3
- version: 3.1.0
3
+ version: 3.1.4
4
4
  updated: 2026-07-02
5
5
  description: Prepare the codebase for a production release (Build, CI/CD, Security).
6
6
  category: operations
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: qk-project-bootstrap
3
- version: 3.1.0
3
+ version: 3.1.4
4
4
  updated: 2026-07-02
5
5
  description: Initialize a new project with best practices, linters, and folder structures.
6
6
  category: setup
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: qk-project-health
3
- version: 3.1.0
3
+ version: 3.1.4
4
4
  updated: 2026-07-02
5
5
  description: Comprehensive audit of Code Smells, Tech Debt, and Architecture.
6
6
  category: architecture
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: qk-project-memory
3
- version: 3.1.0
3
+ version: 3.1.4
4
4
  updated: 2026-07-02
5
5
  description: Store and retrieve long-term project context across sessions.
6
6
  category: utilities
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: qk-system-evolution
3
- version: 3.1.0
3
+ version: 3.1.4
4
4
  updated: 2026-07-02
5
5
  description: Safely upgrade dependencies, migrate frameworks, and manage rollbacks.
6
6
  category: operations
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: qk-ui-audit
3
- version: 3.1.0
3
+ version: 3.1.4
4
4
  updated: 2026-07-02
5
5
  description: Audit UI for Consistency, Accessibility, Responsive, and Performance.
6
6
  category: validation
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: qk-ui-system-builder
3
- version: 3.1.0
3
+ version: 3.1.4
4
4
  updated: 2026-07-02
5
5
  description: Build and maintain Design Systems, Token extraction, and shared UI libraries.
6
6
  category: frontend
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: qk-validation-gate
3
- version: 3.1.0
3
+ version: 3.1.4
4
4
  updated: 2026-07-02
5
5
  description: Mandatory Quality Gate (Test, Lint, Security).
6
6
  category: validation