ai-developer-skill-os 6.0.2 → 6.0.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-developer-skill-os",
3
- "version": "6.0.2",
3
+ "version": "6.0.3",
4
4
  "description": "Behavior Specification Format Framework, AI coding agents (Claude, Cursor, Windsurf, Antigravity) với 23 skills chuyên nghiệp.",
5
5
  "main": "bin/install.js",
6
6
  "bin": {
@@ -41,4 +41,4 @@
41
41
  "gray-matter": "^4.0.0",
42
42
  "js-yaml": "^4.1.0"
43
43
  }
44
- }
44
+ }
@@ -0,0 +1,66 @@
1
+ const fs = require('fs');
2
+ const path = require('path');
3
+
4
+ const repoDir = 'd:\\ai-code-skin-mcp\\rules-skill';
5
+ const skillsJsonPath = path.join(repoDir, 'skills.json');
6
+
7
+ try {
8
+ const data = fs.readFileSync(skillsJsonPath, 'utf8');
9
+ const skillsConfig = JSON.parse(data);
10
+
11
+ skillsConfig.skills.forEach(skill => {
12
+ if (skill.path && skill.description) {
13
+ const skillMdPath = path.join(repoDir, skill.path);
14
+ if (fs.existsSync(skillMdPath)) {
15
+ let content = fs.readFileSync(skillMdPath, 'utf8');
16
+ const frontmatterRegex = /^---\r?\n([\s\S]*?)\r?\n---/;
17
+ const match = content.match(frontmatterRegex);
18
+
19
+ if (match) {
20
+ let frontmatter = match[1];
21
+ // Update version to 6.0.3 in frontmatter
22
+ if (/^version:/m.test(frontmatter)) {
23
+ frontmatter = frontmatter.replace(/^version:.*$/m, `version: 6.0.3`);
24
+ } else {
25
+ frontmatter += `\nversion: 6.0.3`;
26
+ }
27
+
28
+ // Check if description already exists
29
+ if (/^description:/m.test(frontmatter)) {
30
+ frontmatter = frontmatter.replace(/^description:.*$/m, `description: "${skill.description}"`);
31
+ } else {
32
+ frontmatter += `\ndescription: "${skill.description}"`;
33
+ }
34
+
35
+ const newContent = content.replace(frontmatterRegex, `---\n${frontmatter}\n---`);
36
+ fs.writeFileSync(skillMdPath, newContent, 'utf8');
37
+ console.log(`Updated ${skillMdPath}`);
38
+ } else {
39
+ console.log(`No frontmatter found in ${skillMdPath}`);
40
+ }
41
+ } else {
42
+ console.log(`File not found: ${skillMdPath}`);
43
+ }
44
+ }
45
+ });
46
+
47
+ // Also update package.json version
48
+ const packageJsonPath = path.join(repoDir, 'package.json');
49
+ if (fs.existsSync(packageJsonPath)) {
50
+ const pkg = JSON.parse(fs.readFileSync(packageJsonPath, 'utf8'));
51
+ pkg.version = "6.0.3";
52
+ fs.writeFileSync(packageJsonPath, JSON.stringify(pkg, null, 2), 'utf8');
53
+ console.log('Updated package.json to 6.0.3');
54
+ }
55
+
56
+ // Also update skills.json version if needed
57
+ if (skillsConfig.version) {
58
+ skillsConfig.version = "6.0.3";
59
+ fs.writeFileSync(skillsJsonPath, JSON.stringify(skillsConfig, null, 2), 'utf8');
60
+ console.log('Updated skills.json version to 6.0.3');
61
+ }
62
+
63
+ console.log('Done!');
64
+ } catch (err) {
65
+ console.error('Error:', err);
66
+ }
@@ -1,7 +1,8 @@
1
1
  ---
2
2
  name: qk-access-policy
3
3
  category: security
4
- version: 6.0.0
4
+ version: 6.0.3
5
+ description: "Quản lý RBAC, ABAC và các ranh giới bảo mật."
5
6
  ---
6
7
 
7
8
  # qk-access-policy
@@ -1,7 +1,8 @@
1
1
  ---
2
2
  name: qk-ai-builder
3
3
  category: ai
4
- version: 6.0.0
4
+ version: 6.0.3
5
+ description: "Thiết kế AI Logic, Prompts, RAG pipelines, và các Agents."
5
6
  ---
6
7
 
7
8
  # qk-ai-builder
@@ -1,7 +1,8 @@
1
1
  ---
2
2
  name: qk-api-lifecycle
3
3
  category: fullstack
4
- version: 6.0.0
4
+ version: 6.0.3
5
+ description: "Thiết kế, triển khai, và tích hợp các API endpoints."
5
6
  ---
6
7
 
7
8
  # qk-api-lifecycle
@@ -1,7 +1,8 @@
1
1
  ---
2
2
  name: qk-bug-resolution
3
3
  category: maintenance
4
- version: 6.0.0
4
+ version: 6.0.3
5
+ description: "Xử lý và sửa các lỗi (bugs), đồng thời ngăn ngừa lỗi hồi quy."
5
6
  ---
6
7
 
7
8
  # qk-bug-resolution
@@ -1,7 +1,8 @@
1
1
  ---
2
2
  name: qk-context-loader
3
3
  category: utilities
4
- version: 6.0.0
4
+ version: 6.0.3
5
+ description: "Tải các file liên quan và vẽ biểu đồ phụ thuộc (dependency graph) cho một tác vụ."
5
6
  ---
6
7
 
7
8
  # qk-context-loader
@@ -1,7 +1,8 @@
1
1
  ---
2
2
  name: qk-data-lifecycle
3
3
  category: infrastructure
4
- version: 6.0.0
4
+ version: 6.0.3
5
+ description: "Quản lý Database Schema, Migrations, và Repositories."
5
6
  ---
6
7
 
7
8
  # qk-data-lifecycle
@@ -1,7 +1,8 @@
1
1
  ---
2
2
  name: qk-db-optimizer
3
3
  category: infrastructure
4
- version: 6.0.0
4
+ version: 6.0.3
5
+ description: "Tối ưu hóa Database (đánh Index, xử lý N+1 Queries, Slow Queries)."
5
6
  ---
6
7
 
7
8
  # qk-db-optimizer
@@ -1,7 +1,8 @@
1
1
  ---
2
2
  name: qk-design-to-code
3
3
  category: frontend
4
- version: 6.0.0
4
+ version: 6.0.3
5
+ description: "Chuyển đổi thiết kế từ Figma/Images thành các UI component hoàn chỉnh, chuẩn pixel."
5
6
  ---
6
7
 
7
8
  # qk-design-to-code
@@ -1,7 +1,8 @@
1
1
  ---
2
2
  name: qk-docs
3
3
  category: utilities
4
- version: 6.0.0
4
+ version: 6.0.3
5
+ description: "Viết và duy trì tài liệu dự án để con người có thể dễ dàng đọc hiểu."
5
6
  ---
6
7
 
7
8
  # qk-docs
@@ -1,7 +1,8 @@
1
1
  ---
2
2
  name: qk-engineering-standard
3
3
  category: conventions
4
- version: 6.0.0
4
+ version: 6.0.3
5
+ description: "Ép buộc áp dụng SOLID, DRY, Clean Code, và các quy tắc đặt tên."
5
6
  ---
6
7
 
7
8
  # qk-engineering-standard
@@ -1,7 +1,8 @@
1
1
  ---
2
2
  name: qk-feature-delivery
3
3
  category: fullstack
4
- version: 6.0.0
4
+ version: 6.0.3
5
+ description: "Phát triển tính năng mới hoàn chỉnh từ Frontend đến Backend."
5
6
  ---
6
7
 
7
8
  # qk-feature-delivery
@@ -1,7 +1,8 @@
1
1
  ---
2
2
  name: qk-help
3
3
  category: core
4
- version: 6.0.0
4
+ version: 6.0.3
5
+ description: "Hiển thị danh sách các kỹ năng hiện có và các mẹo sử dụng."
5
6
  ---
6
7
 
7
8
  # qk-help
@@ -1,7 +1,8 @@
1
1
  ---
2
2
  name: qk-orchestrator
3
3
  category: core
4
- version: 6.0.0
4
+ version: 6.0.3
5
+ description: "Điều hướng yêu cầu của người dùng, phân tích ý định và ủy quyền cho các sub-skills phù hợp."
5
6
  ---
6
7
 
7
8
  # qk-orchestrator
@@ -1,7 +1,8 @@
1
1
  ---
2
2
  name: qk-policy-engine
3
3
  category: security
4
- version: 6.0.0
4
+ version: 6.0.3
5
+ description: "Hệ thống đánh giá chính sách để đảm bảo các hành động an toàn và được ủy quyền."
5
6
  ---
6
7
 
7
8
  # qk-policy-engine
@@ -1,7 +1,8 @@
1
1
  ---
2
2
  name: qk-production-release
3
3
  category: devops
4
- version: 6.0.0
4
+ version: 6.0.3
5
+ description: "Chuẩn bị codebase để phát hành lên production (Build, CI/CD, Security)."
5
6
  ---
6
7
 
7
8
  # qk-production-release
@@ -1,7 +1,8 @@
1
1
  ---
2
2
  name: qk-project-bootstrap
3
3
  category: fullstack
4
- version: 6.0.0
4
+ version: 6.0.3
5
+ description: "Khởi tạo dự án mới với các best practices, linters, và cấu trúc thư mục chuẩn."
5
6
  ---
6
7
 
7
8
  # qk-project-bootstrap
@@ -1,7 +1,8 @@
1
1
  ---
2
2
  name: qk-project-health
3
3
  category: maintenance
4
- version: 6.0.0
4
+ version: 6.0.3
5
+ description: "Kiểm toán toàn diện về Code Smells, Tech Debt, và Architecture."
5
6
  ---
6
7
 
7
8
  # qk-project-health
@@ -1,7 +1,8 @@
1
1
  ---
2
2
  name: qk-project-memory
3
3
  category: core
4
- version: 6.0.0
4
+ version: 6.0.3
5
+ description: "Lưu trữ và truy xuất ngữ cảnh dự án dài hạn qua các phiên làm việc."
5
6
  ---
6
7
 
7
8
  # qk-project-memory
@@ -1,7 +1,8 @@
1
1
  ---
2
2
  name: qk-system-evolution
3
3
  category: infrastructure
4
- version: 6.0.0
4
+ version: 6.0.3
5
+ description: "Cập nhật an toàn các thư viện dependencies, di chuyển frameworks và quản lý quá trình rollback."
5
6
  ---
6
7
 
7
8
  # qk-system-evolution
@@ -1,7 +1,8 @@
1
1
  ---
2
2
  name: qk-ui-audit
3
3
  category: qa
4
- version: 6.0.0
4
+ version: 6.0.3
5
+ description: "Kiểm toán giao diện (UI) để đảm bảo tính nhất quán, khả năng truy cập (A11y), độ phản hồi (Responsive) và hiệu suất."
5
6
  ---
6
7
 
7
8
  # qk-ui-audit
@@ -1,7 +1,8 @@
1
1
  ---
2
2
  name: qk-ui-system-builder
3
3
  category: frontend
4
- version: 6.0.0
4
+ version: 6.0.3
5
+ description: "Xây dựng và duy trì Design Systems, Token extraction, và các thư viện UI dùng chung."
5
6
  ---
6
7
 
7
8
  # qk-ui-system-builder
@@ -1,7 +1,8 @@
1
1
  ---
2
2
  name: qk-validation-gate
3
3
  category: qa
4
- version: 6.0.0
4
+ version: 6.0.3
5
+ description: "Cổng kiểm tra chất lượng bắt buộc (Test, Lint, Security)."
5
6
  ---
6
7
 
7
8
  # qk-validation-gate
package/skills.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://ai-developer-skill-os.dev/schema/skills-registry.json",
3
- "version": "3.1.0",
3
+ "version": "6.0.3",
4
4
  "name": "AI Developer Skill OS",
5
5
  "description": "Enterprise-ready Agentic Framework for AI Coding Agents — Engineering + Frontend + Backend",
6
6
  "language": "en",