ai-developer-skill-os 3.1.4 → 3.1.5

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": "3.1.4",
3
+ "version": "3.1.5",
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": {
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  name: qk-access-policy
3
- version: 3.1.4
3
+ version: 3.1.5
4
4
  updated: 2026-07-02
5
- description: Manage RBAC, ABAC, and security boundaries.
5
+ description: Quản RBAC, ABAC các ranh giới bảo mật.
6
6
  category: security
7
7
  behavior: static-analysis
8
8
  intent: review-code
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  name: qk-ai-builder
3
- version: 3.1.4
3
+ version: 3.1.5
4
4
  updated: 2026-07-02
5
- description: Design AI Logic, Prompts, RAG pipelines, and Agents.
5
+ description: Thiết kế AI Logic, Prompts, RAG pipelines, các Agents.
6
6
  category: ai
7
7
  behavior: development
8
8
  intent: implement-feature
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  name: qk-api-lifecycle
3
- version: 3.1.4
3
+ version: 3.1.5
4
4
  updated: 2026-07-02
5
- description: Design, implement, and integrate API endpoints.
5
+ description: Thiết kế, triển khai, tích hợp các API endpoints.
6
6
  category: engineering
7
7
  behavior: development
8
8
  intent: implement-feature
@@ -31,6 +31,7 @@ pipeline: [analyze, implement, engineering-standard, validate, complete]
31
31
  - If Backend: Choose the appropriate layer (Controller -> Service -> Repository).
32
32
  3. **Execute (Implementation):**
33
33
  - Write the backend handler/controller with strict validation (e.g., Zod, Class Validator).
34
+ - **Security:** Integrate Auth Middleware (JWT/RBAC) before the Controller. DO NOT expose public endpoints unless explicitly requested.
34
35
  - Write the frontend API client (e.g., Axios instance wrapper).
35
36
  4. **Verify (Validation):**
36
37
  - Handle Error Status Codes (400, 401, 403, 404, 500) gracefully.
@@ -40,6 +41,7 @@ pipeline: [analyze, implement, engineering-standard, validate, complete]
40
41
 
41
42
  - **No Hardcoded URLs:** Never hardcode `http://localhost:3000` inside frontend components. Always use environment variables (`process.env.API_URL`).
42
43
  - **Separation of Concerns:** Do NOT write `fetch` or `axios.get` directly inside a React UI component. Extract it to a custom hook or an API service file.
44
+ - **Pagination & Rate Limit:** Any `GET` API returning a list MUST include Pagination by default to prevent server OOM.
43
45
 
44
46
  ## 🌳 3. Decision Tree
45
47
 
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  name: qk-bug-resolution
3
- version: 3.1.4
3
+ version: 3.1.5
4
4
  updated: 2026-07-02
5
- description: Fix bugs and prevent regressions.
5
+ description: Xử lý và sửa các lỗi (bugs), đồng thời ngăn ngừa lỗi hồi quy.
6
6
  category: engineering
7
7
  behavior: development
8
8
  intent: fix-bug
@@ -22,8 +22,9 @@ pipeline: [analyze, implement, engineering-standard, validate, complete]
22
22
 
23
23
  ## 🔄 1. Chain of Thought (SOP)
24
24
 
25
- 1. **Analyze (Root Cause Analysis):**
25
+ 1. **Analyze (Root Cause Analysis & Reproduce):**
26
26
  - Read the provided error log or bug description.
27
+ - Identify how to reproduce the bug. Ask the user for more info if it is unclear.
27
28
  - Trace the error to the exact file and line of code.
28
29
  - Identify if the bug is a syntax error, logic error, state issue, or boundary case.
29
30
  2. **Plan (Fix Strategy):**
@@ -41,6 +42,7 @@ pipeline: [analyze, implement, engineering-standard, validate, complete]
41
42
  - **No Guesses:** Do not assume the shape of an API response. Print it or read the type definitions first.
42
43
  - **Minimal Fix:** Always prefer a 1-line fix over a 100-line refactor, unless the architecture is fundamentally broken.
43
44
  - **Clean Up:** Remove any `console.log()` or debugger statements introduced during the debugging process.
45
+ - **Regression Test:** Add at least 1 Unit or Integration Test to prevent this bug from recurring.
44
46
 
45
47
  ## 🌳 3. Decision Tree
46
48
 
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  name: qk-context-loader
3
- version: 3.1.4
3
+ version: 3.1.5
4
4
  updated: 2026-07-02
5
- description: Load relevant files and map the dependency graph for a task.
5
+ description: Tải các file liên quan vẽ biểu đồ phụ thuộc (dependency graph) cho một tác vụ.
6
6
  category: utilities
7
7
  behavior: static-analysis
8
8
  intent: review-code
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  name: qk-data-lifecycle
3
- version: 3.1.4
3
+ version: 3.1.5
4
4
  updated: 2026-07-02
5
- description: Manage Database Schema, Migrations, and Repositories.
5
+ description: Quản Database Schema, Migrations, Repositories.
6
6
  category: database
7
7
  behavior: development
8
8
  intent: implement-feature
@@ -0,0 +1,63 @@
1
+ ---
2
+ name: qk-db-optimizer
3
+ version: 1.0.0
4
+ updated: 2026-07-02
5
+ description: Tối ưu hóa Database (đánh Index, xử lý N+1 Queries, Slow Queries).
6
+ category: database
7
+ behavior: development
8
+ intent: implement-feature
9
+ priority: high
10
+ tags: [database, optimize, sql, index, performance]
11
+ platforms: [claude-code, cursor, windsurf, gemini-cli]
12
+ trigger: User asks to optimize database, fix slow queries, add index, or resolve N+1 issues.
13
+ inputs: [Database Schema, Slow Query Log or ORM code]
14
+ outputs: [Optimized Query/ORM code, Migration script for Indexes]
15
+ allowed_tools: [run_command, read_file, write_to_file, grep_search]
16
+ pipeline: [analyze, plan, implement, validate, complete]
17
+ ---
18
+
19
+ # 🛠️ qk-db-optimizer - Standard Operating Procedure
20
+
21
+ > **Goal:** Tối ưu hóa hiệu suất cơ sở dữ liệu. Đóng vai trò là một Database Administrator (DBA) / Performance Engineer. Giải quyết các bài toán cổ điển như N+1 queries, thiếu Index, truy vấn chậm.
22
+
23
+ ## 🔄 1. Chain of Thought (SOP)
24
+
25
+ 1. **Analyze (Bottleneck Identification):**
26
+ - Read the relevant ORM code (Prisma, TypeORM, Drizzle) or raw SQL.
27
+ - Identify the source of the slowdown (e.g., fetching in a loop causing N+1).
28
+ 2. **Plan (Optimization Strategy):**
29
+ - Decide whether to optimize the query structure (e.g., using `JOIN` / `include`) or add an Index to the database schema.
30
+ 3. **Implement (Code & Schema changes):**
31
+ - Refactor the code to eliminate N+1 queries.
32
+ - Write migration scripts or update the ORM schema to add necessary Indexes.
33
+ 4. **Verify (Explain & Test):**
34
+ - Ensure the new query yields the same correct result.
35
+
36
+ ## 🛡️ 2. Constraints & Rules
37
+
38
+ - **No Destructive Operations:** Never drop tables or columns unless explicitly asked by the user to do so.
39
+ - **Explain First:** Always explain why a query is slow and how your index/refactor fixes it.
40
+
41
+ ## 🌳 3. Decision Tree
42
+
43
+ ```text
44
+ Is it an N+1 Query problem?
45
+ ├── YES → Use Eager Loading (e.g., `.include()` in Prisma) or a DataLoader pattern.
46
+ └── NO → Is it a slow filtering/sorting issue?
47
+ ├── YES → Add a database Index (B-Tree, Hash, etc.) to the relevant columns.
48
+ └── NO → Refactor the raw SQL/ORM logic to be more efficient.
49
+ ```
50
+
51
+ ## 🤝 4. Handoff Pipeline
52
+
53
+ 1. `validate`: Run tests using `qk-validation-gate` to ensure no data regressions.
54
+ 2. `complete`: Generate the Database Optimization report.
55
+
56
+ ## 📝 5. Output Format
57
+
58
+ Vui lòng trả kết quả bằng Tiếng Việt.
59
+
60
+ - **Tóm tắt (Summary):** Vấn đề gì đã được giải quyết.
61
+ - **Chi tiết (Changes):** Cách khắc phục (đánh index hay refactor code).
62
+ - **Hiệu năng (Performance):** Giải thích tại sao cách mới lại nhanh hơn.
63
+ - **Xác thực (Verification):** ...
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  name: qk-design-to-code
3
- version: 3.1.4
3
+ version: 3.1.5
4
4
  updated: 2026-07-02
5
- description: Convert Figma/Images to semantic, pixel-perfect code components.
5
+ description: Chuyển đổi thiết kế từ Figma/Images thành các UI component hoàn chỉnh, chuẩn pixel.
6
6
  category: frontend
7
7
  behavior: development
8
8
  intent: implement-feature
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  name: qk-docs
3
- version: 3.1.4
3
+ version: 3.1.5
4
4
  updated: 2026-07-02
5
- description: Write and maintain human-readable project documentation.
5
+ description: Viết duy trì tài liệu dự án để con người có thể dễ dàng đọc hiểu.
6
6
  category: documentation
7
7
  behavior: static-analysis
8
8
  intent: maintain
9
9
  priority: low
10
- tags: [docs, markdown, jsdoc, readme]
10
+ tags: [docs, markdown, jsdoc, readme, architecture, mermaid]
11
11
  platforms: [claude-code, cursor, windsurf, gemini-cli]
12
- trigger: User asks to write docs, update the README, or generate JSDoc comments.
12
+ trigger: User asks to write docs, generate architecture diagrams, update README, or write JSDoc.
13
13
  inputs: [Source code, Task context]
14
14
  outputs: [Markdown Documentation, JSDoc]
15
15
  allowed_tools: [read_file, write_to_file]
@@ -40,11 +40,13 @@ pipeline: [analyze, implement, validate, complete]
40
40
  ## 🌳 3. Decision Tree
41
41
 
42
42
  ```text
43
- Is this an API Documentation?
44
- ├── YES → Use standard REST/GraphQL documentation layout (Endpoint, Method, Body, Response).
45
- └── NO → Is it a Component Documentation?
46
- ├── YES → Document the Props interface and usage examples.
47
- └── NO → Write standard JSDoc.
43
+ Is this a System Architecture or Flow?
44
+ ├── YES → Create Mermaid diagrams (Architecture, Sequence) and save to `/docs/`.
45
+ └── NO → Is this an API Documentation?
46
+ ├── YES → Use standard REST/GraphQL documentation layout (Endpoint, Method, Body, Response).
47
+ └── NO → Is it a Component Documentation?
48
+ ├── YES → Document the Props interface and usage examples.
49
+ └── NO → Write standard JSDoc or update README.
48
50
  ```
49
51
 
50
52
  ## 🤝 4. Handoff Pipeline
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  name: qk-engineering-standard
3
- version: 3.1.4
3
+ version: 3.1.5
4
4
  updated: 2026-07-02
5
- description: Enforce SOLID, DRY, Clean Code, and Naming conventions.
5
+ description: Ép buộc áp dụng SOLID, DRY, Clean Code, các quy tắc đặt tên.
6
6
  category: standard
7
7
  behavior: static-analysis
8
8
  intent: review-code
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  name: qk-feature-delivery
3
- version: 3.1.4
3
+ version: 3.1.5
4
4
  updated: 2026-07-02
5
- description: Develop new features end-to-end (Frontend & Backend).
5
+ description: Phát triển tính năng mới hoàn chỉnh từ Frontend đến Backend.
6
6
  category: engineering
7
7
  behavior: development
8
8
  intent: implement-feature
@@ -32,12 +32,13 @@ pipeline: [analyze, implement, engineering-standard, validate, complete]
32
32
  - Build the backend/API mock first (if applicable).
33
33
  - Build the UI component and bind the data.
34
34
  4. **Verify (Validation):**
35
- - Check if the UI is responsive.
36
- - Ensure the API handles edge cases (empty states, loading, error).
35
+ - **4 UI States:** Implement all 4 UI states: `Loading` (Skeleton/Spinner), `Success` (Data), `Error` (Fallback UI/Retry), and `Empty` (No data).
36
+ - Check if the UI is responsive (works well on Mobile & Desktop).
37
37
 
38
38
  ## 🛡️ 3. Constraints & Rules
39
39
 
40
40
  - **Contract First:** Always define the Type/Interface contract before writing the implementation logic.
41
+ - **State Management:** Lift state to Global (Redux/Zustand/Context) only if 2 or more components outside the same parent/child tree need to share it. Do not abuse Global State.
41
42
  - **Component Reusability:** Do not create a new Button or Input if a Shared Component already exists in `src/components/shared/`.
42
43
  - **DRY (Don't Repeat Yourself):** Extract inline styles or duplicate logic into hooks/utilities.
43
44
 
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  name: qk-help
3
- version: 3.1.4
3
+ version: 3.1.5
4
4
  updated: 2026-07-02
5
- description: Display the list of available skills and pro-tips.
5
+ description: Hiển thị danh sách các kỹ năng hiện có và các mẹo sử dụng.
6
6
  category: utilities
7
7
  behavior: static-analysis
8
8
  intent: review-code
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  name: qk-orchestrator
3
- version: 3.1.4
3
+ version: 3.1.5
4
4
  updated: 2026-07-02
5
- description: Route user requests, parse intents, and delegate to the correct sub-skills.
5
+ description: Điều hướng yêu cầu của người dùng, phân tích ý định ủy quyền cho các sub-skills phù hợp.
6
6
  category: orchestration
7
7
  behavior: static-analysis
8
8
  intent: review-code
@@ -32,7 +32,8 @@ pipeline: [analyze, plan, delegate]
32
32
 
33
33
  ## 🛡️ 2. Constraints & Rules
34
34
 
35
- - **Delegation First:** Do not write source code directly while acting as the Orchestrator. Delegate to the correct specialized Skill.
35
+ - **Cost-Awareness:** Evaluate task complexity. If the task is trivial (e.g., fix a typo, change display text), solve it directly to save tokens.
36
+ - **Delegation First:** For complex tasks, do not write source code directly. Delegate to the correct specialized Skill.
36
37
  - **Ambiguity Check:** If the user's intent is unclear, give them 2-3 Skill suggestions to choose from.
37
38
 
38
39
  ## 🌳 3. Decision Tree
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  name: qk-policy-engine
3
- version: 3.1.4
3
+ version: 3.1.5
4
4
  updated: 2026-07-02
5
- description: Policy evaluation engine to ensure actions are authorized and safe.
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.
6
6
  category: security
7
7
  behavior: static-analysis
8
8
  intent: review-code
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  name: qk-production-release
3
- version: 3.1.4
3
+ version: 3.1.5
4
4
  updated: 2026-07-02
5
- description: Prepare the codebase for a production release (Build, CI/CD, Security).
5
+ description: Chuẩn bị codebase để phát hành lên production (Build, CI/CD, Security).
6
6
  category: operations
7
7
  behavior: validation
8
8
  intent: validate
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  name: qk-project-bootstrap
3
- version: 3.1.4
3
+ version: 3.1.5
4
4
  updated: 2026-07-02
5
- description: Initialize a new project with best practices, linters, and folder structures.
5
+ description: Khởi tạo dự án mới với các best practices, linters, cấu trúc thư mục chuẩn.
6
6
  category: setup
7
7
  behavior: development
8
8
  intent: implement-feature
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  name: qk-project-health
3
- version: 3.1.4
3
+ version: 3.1.5
4
4
  updated: 2026-07-02
5
- description: Comprehensive audit of Code Smells, Tech Debt, and Architecture.
5
+ description: Kiểm toán toàn diện về Code Smells, Tech Debt, Architecture.
6
6
  category: architecture
7
7
  behavior: static-analysis
8
8
  intent: review-code
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  name: qk-project-memory
3
- version: 3.1.4
3
+ version: 3.1.5
4
4
  updated: 2026-07-02
5
- description: Store and retrieve long-term project context across sessions.
5
+ description: Lưu trữ truy xuất ngữ cảnh dự án dài hạn qua các phiên làm việc.
6
6
  category: utilities
7
7
  behavior: static-analysis
8
8
  intent: maintain
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  name: qk-system-evolution
3
- version: 3.1.4
3
+ version: 3.1.5
4
4
  updated: 2026-07-02
5
- description: Safely upgrade dependencies, migrate frameworks, and manage rollbacks.
5
+ description: Cập nhật an toàn các thư viện dependencies, di chuyển frameworks quản lý quá trình rollback.
6
6
  category: operations
7
7
  behavior: maintenance
8
8
  intent: maintain
@@ -29,9 +29,9 @@ pipeline: [analyze, plan, implement, validate, complete]
29
29
  2. **Plan (Rollback Strategy):**
30
30
  - Document the exact Git commands or NPM commands needed to revert the system if the upgrade fails completely.
31
31
  3. **Implement (Dry-Run & Upgrade):**
32
- - Apply the dependency updates in `package.json`.
33
- - Run Codemods (if provided by the library).
34
- - Manually fix code affected by Breaking Changes.
32
+ - **Mandatory Dry Run:** Create a temporary branch (e.g., `git checkout -b upgrade-dry-run`).
33
+ - Update dependencies and run Codemods on this branch.
34
+ - Fix Breaking Changes and pass the Validation Gate. Merge only if safe.
35
35
  4. **Verify (System Test):**
36
36
  - Reinstall dependencies cleanly (`npm ci` or `yarn install`).
37
37
  - Run the build process to ensure the system compiles.
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  name: qk-ui-audit
3
- version: 3.1.4
3
+ version: 3.1.5
4
4
  updated: 2026-07-02
5
- description: Audit UI for Consistency, Accessibility, Responsive, and Performance.
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) hiệu suất.
6
6
  category: validation
7
7
  behavior: static-analysis
8
8
  intent: review-code
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  name: qk-ui-system-builder
3
- version: 3.1.4
3
+ version: 3.1.5
4
4
  updated: 2026-07-02
5
- description: Build and maintain Design Systems, Token extraction, and shared UI libraries.
5
+ description: Xây dựng duy trì Design Systems, Token extraction, các thư viện UI dùng chung.
6
6
  category: frontend
7
7
  behavior: development
8
8
  intent: implement-feature
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  name: qk-validation-gate
3
- version: 3.1.4
3
+ version: 3.1.5
4
4
  updated: 2026-07-02
5
- description: Mandatory Quality Gate (Test, Lint, Security).
5
+ description: Cổng kiểm tra chất lượng bắt buộc (Test, Lint, Security).
6
6
  category: validation
7
7
  behavior: validation
8
8
  intent: validate
package/skills.json CHANGED
@@ -21,7 +21,12 @@
21
21
  "behavior": "static-analysis",
22
22
  "intent": "review-code",
23
23
  "priority": "high",
24
- "tags": ["security", "rbac", "auth", "permissions"],
24
+ "tags": [
25
+ "security",
26
+ "rbac",
27
+ "auth",
28
+ "permissions"
29
+ ],
25
30
  "trigger": [
26
31
  "add roles",
27
32
  "restrict access",
@@ -31,9 +36,14 @@
31
36
  ],
32
37
  "dependencies": [],
33
38
  "conflicts": [],
34
- "platforms": ["claude-code", "cursor", "windsurf", "gemini-cli"],
39
+ "platforms": [
40
+ "claude-code",
41
+ "cursor",
42
+ "windsurf",
43
+ "gemini-cli"
44
+ ],
35
45
  "status": "ready",
36
- "description": "Manage RBAC, ABAC, and security boundaries."
46
+ "description": "Quản RBAC, ABAC các ranh giới bảo mật."
37
47
  },
38
48
  {
39
49
  "name": "qk-ai-builder",
@@ -44,7 +54,13 @@
44
54
  "behavior": "development",
45
55
  "intent": "implement-feature",
46
56
  "priority": "medium",
47
- "tags": ["ai", "llm", "prompt-engineering", "rag", "agents"],
57
+ "tags": [
58
+ "ai",
59
+ "llm",
60
+ "prompt-engineering",
61
+ "rag",
62
+ "agents"
63
+ ],
48
64
  "trigger": [
49
65
  "build a chatbot",
50
66
  "add AI features",
@@ -53,9 +69,14 @@
53
69
  ],
54
70
  "dependencies": [],
55
71
  "conflicts": [],
56
- "platforms": ["claude-code", "cursor", "windsurf", "gemini-cli"],
72
+ "platforms": [
73
+ "claude-code",
74
+ "cursor",
75
+ "windsurf",
76
+ "gemini-cli"
77
+ ],
57
78
  "status": "ready",
58
- "description": "Design AI Logic, Prompts, RAG pipelines, and Agents."
79
+ "description": "Thiết kế AI Logic, Prompts, RAG pipelines, các Agents."
59
80
  },
60
81
  {
61
82
  "name": "qk-api-lifecycle",
@@ -66,7 +87,12 @@
66
87
  "behavior": "development",
67
88
  "intent": "implement-feature",
68
89
  "priority": "high",
69
- "tags": ["api", "backend", "frontend-integration", "endpoints"],
90
+ "tags": [
91
+ "api",
92
+ "backend",
93
+ "frontend-integration",
94
+ "endpoints"
95
+ ],
70
96
  "trigger": [
71
97
  "create a new API",
72
98
  "fix an API",
@@ -76,9 +102,14 @@
76
102
  ],
77
103
  "dependencies": [],
78
104
  "conflicts": [],
79
- "platforms": ["claude-code", "cursor", "windsurf", "gemini-cli"],
105
+ "platforms": [
106
+ "claude-code",
107
+ "cursor",
108
+ "windsurf",
109
+ "gemini-cli"
110
+ ],
80
111
  "status": "ready",
81
- "description": "Design, implement, and integrate API endpoints."
112
+ "description": "Thiết kế, triển khai, tích hợp các API endpoints."
82
113
  },
83
114
  {
84
115
  "name": "qk-bug-resolution",
@@ -89,7 +120,12 @@
89
120
  "behavior": "development",
90
121
  "intent": "fix-bug",
91
122
  "priority": "high",
92
- "tags": ["bug", "debug", "regression", "error"],
123
+ "tags": [
124
+ "bug",
125
+ "debug",
126
+ "regression",
127
+ "error"
128
+ ],
93
129
  "trigger": [
94
130
  "fix this bug",
95
131
  "it's broken",
@@ -102,9 +138,14 @@
102
138
  ],
103
139
  "dependencies": [],
104
140
  "conflicts": [],
105
- "platforms": ["claude-code", "cursor", "windsurf", "gemini-cli"],
141
+ "platforms": [
142
+ "claude-code",
143
+ "cursor",
144
+ "windsurf",
145
+ "gemini-cli"
146
+ ],
106
147
  "status": "ready",
107
- "description": "Fix bugs and prevent regressions."
148
+ "description": "Xử lý và sửa các lỗi (bugs), đồng thời ngăn ngừa lỗi hồi quy."
108
149
  },
109
150
  {
110
151
  "name": "qk-context-loader",
@@ -115,7 +156,12 @@
115
156
  "behavior": "static-analysis",
116
157
  "intent": "review-code",
117
158
  "priority": "medium",
118
- "tags": ["context", "filesystem", "dependencies", "graph"],
159
+ "tags": [
160
+ "context",
161
+ "filesystem",
162
+ "dependencies",
163
+ "graph"
164
+ ],
119
165
  "trigger": [
120
166
  "understand the codebase",
121
167
  "what files should I read",
@@ -125,9 +171,14 @@
125
171
  ],
126
172
  "dependencies": [],
127
173
  "conflicts": [],
128
- "platforms": ["claude-code", "cursor", "windsurf", "gemini-cli"],
174
+ "platforms": [
175
+ "claude-code",
176
+ "cursor",
177
+ "windsurf",
178
+ "gemini-cli"
179
+ ],
129
180
  "status": "ready",
130
- "description": "Load relevant files and map the dependency graph for a task."
181
+ "description": "Tải các file liên quan vẽ biểu đồ phụ thuộc (dependency graph) cho một tác vụ."
131
182
  },
132
183
  {
133
184
  "name": "qk-data-lifecycle",
@@ -138,7 +189,13 @@
138
189
  "behavior": "development",
139
190
  "intent": "implement-feature",
140
191
  "priority": "medium",
141
- "tags": ["database", "sql", "migration", "schema", "orm"],
192
+ "tags": [
193
+ "database",
194
+ "sql",
195
+ "migration",
196
+ "schema",
197
+ "orm"
198
+ ],
142
199
  "trigger": [
143
200
  "create a new database table",
144
201
  "modify schema",
@@ -149,9 +206,47 @@
149
206
  ],
150
207
  "dependencies": [],
151
208
  "conflicts": [],
152
- "platforms": ["claude-code", "cursor", "windsurf", "gemini-cli"],
209
+ "platforms": [
210
+ "claude-code",
211
+ "cursor",
212
+ "windsurf",
213
+ "gemini-cli"
214
+ ],
215
+ "status": "ready",
216
+ "description": "Quản lý Database Schema, Migrations, và Repositories."
217
+ },
218
+ {
219
+ "name": "qk-db-optimizer",
220
+ "path": "skills/qk-db-optimizer/SKILL.md",
221
+ "version": "1.0.0",
222
+ "category": "database",
223
+ "subcategory": "backend",
224
+ "behavior": "development",
225
+ "intent": "implement-feature",
226
+ "priority": "high",
227
+ "tags": [
228
+ "database",
229
+ "optimize",
230
+ "sql",
231
+ "index",
232
+ "performance"
233
+ ],
234
+ "trigger": [
235
+ "optimize database",
236
+ "slow queries",
237
+ "add index",
238
+ "N+1 issues"
239
+ ],
240
+ "dependencies": [],
241
+ "conflicts": [],
242
+ "platforms": [
243
+ "claude-code",
244
+ "cursor",
245
+ "windsurf",
246
+ "gemini-cli"
247
+ ],
153
248
  "status": "ready",
154
- "description": "Manage Database Schema, Migrations, and Repositories."
249
+ "description": "Tối ưu hóa Database (đánh Index, xử lý N+1 Queries, Slow Queries)."
155
250
  },
156
251
  {
157
252
  "name": "qk-design-to-code",
@@ -162,7 +257,13 @@
162
257
  "behavior": "development",
163
258
  "intent": "implement-feature",
164
259
  "priority": "high",
165
- "tags": ["ui", "figma", "frontend", "styling", "css"],
260
+ "tags": [
261
+ "ui",
262
+ "figma",
263
+ "frontend",
264
+ "styling",
265
+ "css"
266
+ ],
166
267
  "trigger": [
167
268
  "upload image mockup",
168
269
  "design requirement",
@@ -171,9 +272,14 @@
171
272
  ],
172
273
  "dependencies": [],
173
274
  "conflicts": [],
174
- "platforms": ["claude-code", "cursor", "windsurf", "gemini-cli"],
275
+ "platforms": [
276
+ "claude-code",
277
+ "cursor",
278
+ "windsurf",
279
+ "gemini-cli"
280
+ ],
175
281
  "status": "ready",
176
- "description": "Convert Figma/Images to semantic, pixel-perfect code components."
282
+ "description": "Chuyển đổi thiết kế từ Figma/Images thành các UI component hoàn chỉnh, chuẩn pixel."
177
283
  },
178
284
  {
179
285
  "name": "qk-docs",
@@ -184,7 +290,12 @@
184
290
  "behavior": "static-analysis",
185
291
  "intent": "maintain",
186
292
  "priority": "low",
187
- "tags": ["docs", "markdown", "jsdoc", "readme"],
293
+ "tags": [
294
+ "docs",
295
+ "markdown",
296
+ "jsdoc",
297
+ "readme"
298
+ ],
188
299
  "trigger": [
189
300
  "write docs",
190
301
  "update the README",
@@ -193,31 +304,14 @@
193
304
  ],
194
305
  "dependencies": [],
195
306
  "conflicts": [],
196
- "platforms": ["claude-code", "cursor", "windsurf", "gemini-cli"],
197
- "status": "ready",
198
- "description": "Write and maintain human-readable project documentation."
199
- },
200
- {
201
- "name": "qk-documentation-system",
202
- "path": "skills/qk-documentation-system/SKILL.md",
203
- "version": "3.0.0",
204
- "category": "documentation",
205
- "subcategory": "maintenance",
206
- "behavior": "static-analysis",
207
- "intent": "maintain",
208
- "priority": "low",
209
- "tags": ["architecture", "diagrams", "mermaid", "runbooks"],
210
- "trigger": [
211
- "generate architecture diagrams",
212
- "DevOps manuals",
213
- "system docs",
214
- "mermaid diagram"
307
+ "platforms": [
308
+ "claude-code",
309
+ "cursor",
310
+ "windsurf",
311
+ "gemini-cli"
215
312
  ],
216
- "dependencies": [],
217
- "conflicts": [],
218
- "platforms": ["claude-code", "cursor", "windsurf", "gemini-cli"],
219
313
  "status": "ready",
220
- "description": "Maintain system-level architecture docs and DevOps runbooks."
314
+ "description": "Viết duy trì tài liệu dự án để con người có thể dễ dàng đọc hiểu."
221
315
  },
222
316
  {
223
317
  "name": "qk-engineering-standard",
@@ -228,7 +322,13 @@
228
322
  "behavior": "static-analysis",
229
323
  "intent": "review-code",
230
324
  "priority": "critical",
231
- "tags": ["clean-code", "architecture", "refactoring", "solid", "naming"],
325
+ "tags": [
326
+ "clean-code",
327
+ "architecture",
328
+ "refactoring",
329
+ "solid",
330
+ "naming"
331
+ ],
232
332
  "trigger": [
233
333
  "review code",
234
334
  "refactor code",
@@ -239,9 +339,14 @@
239
339
  ],
240
340
  "dependencies": [],
241
341
  "conflicts": [],
242
- "platforms": ["claude-code", "cursor", "windsurf", "gemini-cli"],
342
+ "platforms": [
343
+ "claude-code",
344
+ "cursor",
345
+ "windsurf",
346
+ "gemini-cli"
347
+ ],
243
348
  "status": "ready",
244
- "description": "Enforce SOLID, DRY, Clean Code, and Naming conventions."
349
+ "description": "Ép buộc áp dụng SOLID, DRY, Clean Code, các quy tắc đặt tên."
245
350
  },
246
351
  {
247
352
  "name": "qk-feature-delivery",
@@ -252,7 +357,13 @@
252
357
  "behavior": "development",
253
358
  "intent": "implement-feature",
254
359
  "priority": "high",
255
- "tags": ["feature", "development", "e2e", "ui", "api"],
360
+ "tags": [
361
+ "feature",
362
+ "development",
363
+ "e2e",
364
+ "ui",
365
+ "api"
366
+ ],
256
367
  "trigger": [
257
368
  "create a new page",
258
369
  "build a new component",
@@ -261,9 +372,14 @@
261
372
  ],
262
373
  "dependencies": [],
263
374
  "conflicts": [],
264
- "platforms": ["claude-code", "cursor", "windsurf", "gemini-cli"],
375
+ "platforms": [
376
+ "claude-code",
377
+ "cursor",
378
+ "windsurf",
379
+ "gemini-cli"
380
+ ],
265
381
  "status": "ready",
266
- "description": "Develop new features end-to-end (Frontend & Backend)."
382
+ "description": "Phát triển tính năng mới hoàn chỉnh từ Frontend đến Backend."
267
383
  },
268
384
  {
269
385
  "name": "qk-help",
@@ -274,7 +390,12 @@
274
390
  "behavior": "static-analysis",
275
391
  "intent": "review-code",
276
392
  "priority": "low",
277
- "tags": ["help", "manual", "list", "tutorial"],
393
+ "tags": [
394
+ "help",
395
+ "manual",
396
+ "list",
397
+ "tutorial"
398
+ ],
278
399
  "trigger": [
279
400
  "help",
280
401
  "list skills",
@@ -284,9 +405,14 @@
284
405
  ],
285
406
  "dependencies": [],
286
407
  "conflicts": [],
287
- "platforms": ["claude-code", "cursor", "windsurf", "gemini-cli"],
408
+ "platforms": [
409
+ "claude-code",
410
+ "cursor",
411
+ "windsurf",
412
+ "gemini-cli"
413
+ ],
288
414
  "status": "ready",
289
- "description": "Display the list of available skills and pro-tips."
415
+ "description": "Hiển thị danh sách các kỹ năng hiện có và các mẹo sử dụng."
290
416
  },
291
417
  {
292
418
  "name": "qk-orchestrator",
@@ -297,7 +423,12 @@
297
423
  "behavior": "static-analysis",
298
424
  "intent": "review-code",
299
425
  "priority": "critical",
300
- "tags": ["router", "orchestrator", "delegation", "ai-manager"],
426
+ "tags": [
427
+ "router",
428
+ "orchestrator",
429
+ "delegation",
430
+ "ai-manager"
431
+ ],
301
432
  "trigger": [
302
433
  "plan this task",
303
434
  "how should I approach",
@@ -308,9 +439,14 @@
308
439
  ],
309
440
  "dependencies": [],
310
441
  "conflicts": [],
311
- "platforms": ["claude-code", "cursor", "windsurf", "gemini-cli"],
442
+ "platforms": [
443
+ "claude-code",
444
+ "cursor",
445
+ "windsurf",
446
+ "gemini-cli"
447
+ ],
312
448
  "status": "ready",
313
- "description": "Route user requests, parse intents, and delegate to the correct sub-skills."
449
+ "description": "Điều hướng yêu cầu của người dùng, phân tích ý định ủy quyền cho các sub-skills phù hợp."
314
450
  },
315
451
  {
316
452
  "name": "qk-policy-engine",
@@ -321,7 +457,12 @@
321
457
  "behavior": "static-analysis",
322
458
  "intent": "review-code",
323
459
  "priority": "high",
324
- "tags": ["security", "policy", "guardrails", "authorization"],
460
+ "tags": [
461
+ "security",
462
+ "policy",
463
+ "guardrails",
464
+ "authorization"
465
+ ],
325
466
  "trigger": [
326
467
  "high-risk destructive action",
327
468
  "DROP table",
@@ -330,9 +471,14 @@
330
471
  ],
331
472
  "dependencies": [],
332
473
  "conflicts": [],
333
- "platforms": ["claude-code", "cursor", "windsurf", "gemini-cli"],
474
+ "platforms": [
475
+ "claude-code",
476
+ "cursor",
477
+ "windsurf",
478
+ "gemini-cli"
479
+ ],
334
480
  "status": "ready",
335
- "description": "Policy evaluation engine to ensure actions are authorized and safe."
481
+ "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."
336
482
  },
337
483
  {
338
484
  "name": "qk-production-release",
@@ -343,7 +489,12 @@
343
489
  "behavior": "validation",
344
490
  "intent": "validate",
345
491
  "priority": "high",
346
- "tags": ["deploy", "release", "build", "production"],
492
+ "tags": [
493
+ "deploy",
494
+ "release",
495
+ "build",
496
+ "production"
497
+ ],
347
498
  "trigger": [
348
499
  "deploy the app",
349
500
  "build for production",
@@ -352,9 +503,14 @@
352
503
  ],
353
504
  "dependencies": [],
354
505
  "conflicts": [],
355
- "platforms": ["claude-code", "cursor", "windsurf", "gemini-cli"],
506
+ "platforms": [
507
+ "claude-code",
508
+ "cursor",
509
+ "windsurf",
510
+ "gemini-cli"
511
+ ],
356
512
  "status": "ready",
357
- "description": "Prepare the codebase for a production release (Build, CI/CD, Security)."
513
+ "description": "Chuẩn bị codebase để phát hành lên production (Build, CI/CD, Security)."
358
514
  },
359
515
  {
360
516
  "name": "qk-project-bootstrap",
@@ -365,7 +521,12 @@
365
521
  "behavior": "development",
366
522
  "intent": "implement-feature",
367
523
  "priority": "high",
368
- "tags": ["bootstrap", "scaffolding", "setup", "init"],
524
+ "tags": [
525
+ "bootstrap",
526
+ "scaffolding",
527
+ "setup",
528
+ "init"
529
+ ],
369
530
  "trigger": [
370
531
  "start a new project",
371
532
  "create a new repo",
@@ -374,9 +535,14 @@
374
535
  ],
375
536
  "dependencies": [],
376
537
  "conflicts": [],
377
- "platforms": ["claude-code", "cursor", "windsurf", "gemini-cli"],
538
+ "platforms": [
539
+ "claude-code",
540
+ "cursor",
541
+ "windsurf",
542
+ "gemini-cli"
543
+ ],
378
544
  "status": "ready",
379
- "description": "Initialize a new project with best practices, linters, and folder structures."
545
+ "description": "Khởi tạo dự án mới với các best practices, linters, cấu trúc thư mục chuẩn."
380
546
  },
381
547
  {
382
548
  "name": "qk-project-health",
@@ -387,7 +553,12 @@
387
553
  "behavior": "static-analysis",
388
554
  "intent": "review-code",
389
555
  "priority": "medium",
390
- "tags": ["audit", "architecture", "tech-debt", "code-smell"],
556
+ "tags": [
557
+ "audit",
558
+ "architecture",
559
+ "tech-debt",
560
+ "code-smell"
561
+ ],
391
562
  "trigger": [
392
563
  "project review",
393
564
  "architecture audit",
@@ -397,9 +568,14 @@
397
568
  ],
398
569
  "dependencies": [],
399
570
  "conflicts": [],
400
- "platforms": ["claude-code", "cursor", "windsurf", "gemini-cli"],
571
+ "platforms": [
572
+ "claude-code",
573
+ "cursor",
574
+ "windsurf",
575
+ "gemini-cli"
576
+ ],
401
577
  "status": "ready",
402
- "description": "Comprehensive audit of Code Smells, Tech Debt, and Architecture."
578
+ "description": "Kiểm toán toàn diện về Code Smells, Tech Debt, Architecture."
403
579
  },
404
580
  {
405
581
  "name": "qk-project-memory",
@@ -410,7 +586,11 @@
410
586
  "behavior": "static-analysis",
411
587
  "intent": "maintain",
412
588
  "priority": "low",
413
- "tags": ["memory", "context", "storage"],
589
+ "tags": [
590
+ "memory",
591
+ "context",
592
+ "storage"
593
+ ],
414
594
  "trigger": [
415
595
  "remember a specific configuration",
416
596
  "architectural decision",
@@ -419,9 +599,14 @@
419
599
  ],
420
600
  "dependencies": [],
421
601
  "conflicts": [],
422
- "platforms": ["claude-code", "cursor", "windsurf", "gemini-cli"],
602
+ "platforms": [
603
+ "claude-code",
604
+ "cursor",
605
+ "windsurf",
606
+ "gemini-cli"
607
+ ],
423
608
  "status": "ready",
424
- "description": "Store and retrieve long-term project context across sessions."
609
+ "description": "Lưu trữ truy xuất ngữ cảnh dự án dài hạn qua các phiên làm việc."
425
610
  },
426
611
  {
427
612
  "name": "qk-system-evolution",
@@ -432,7 +617,12 @@
432
617
  "behavior": "maintenance",
433
618
  "intent": "maintain",
434
619
  "priority": "high",
435
- "tags": ["upgrade", "migration", "devops", "dependencies"],
620
+ "tags": [
621
+ "upgrade",
622
+ "migration",
623
+ "devops",
624
+ "dependencies"
625
+ ],
436
626
  "trigger": [
437
627
  "update a library",
438
628
  "upgrade a framework",
@@ -441,9 +631,14 @@
441
631
  ],
442
632
  "dependencies": [],
443
633
  "conflicts": [],
444
- "platforms": ["claude-code", "cursor", "windsurf", "gemini-cli"],
634
+ "platforms": [
635
+ "claude-code",
636
+ "cursor",
637
+ "windsurf",
638
+ "gemini-cli"
639
+ ],
445
640
  "status": "ready",
446
- "description": "Safely upgrade dependencies, migrate frameworks, and manage rollbacks."
641
+ "description": "Cập nhật an toàn các thư viện dependencies, di chuyển frameworks quản lý quá trình rollback."
447
642
  },
448
643
  {
449
644
  "name": "qk-ui-audit",
@@ -454,7 +649,13 @@
454
649
  "behavior": "static-analysis",
455
650
  "intent": "review-code",
456
651
  "priority": "medium",
457
- "tags": ["ui", "audit", "frontend", "a11y", "responsive"],
652
+ "tags": [
653
+ "ui",
654
+ "audit",
655
+ "frontend",
656
+ "a11y",
657
+ "responsive"
658
+ ],
458
659
  "trigger": [
459
660
  "check the UI",
460
661
  "review styling",
@@ -464,9 +665,14 @@
464
665
  ],
465
666
  "dependencies": [],
466
667
  "conflicts": [],
467
- "platforms": ["claude-code", "cursor", "windsurf", "gemini-cli"],
668
+ "platforms": [
669
+ "claude-code",
670
+ "cursor",
671
+ "windsurf",
672
+ "gemini-cli"
673
+ ],
468
674
  "status": "ready",
469
- "description": "Audit UI for Consistency, Accessibility, Responsive, and Performance."
675
+ "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) hiệu suất."
470
676
  },
471
677
  {
472
678
  "name": "qk-ui-system-builder",
@@ -477,7 +683,12 @@
477
683
  "behavior": "development",
478
684
  "intent": "implement-feature",
479
685
  "priority": "medium",
480
- "tags": ["design-system", "tokens", "shared-components", "storybook"],
686
+ "tags": [
687
+ "design-system",
688
+ "tokens",
689
+ "shared-components",
690
+ "storybook"
691
+ ],
481
692
  "trigger": [
482
693
  "create a shared component",
483
694
  "extract color palette",
@@ -486,9 +697,14 @@
486
697
  ],
487
698
  "dependencies": [],
488
699
  "conflicts": [],
489
- "platforms": ["claude-code", "cursor", "windsurf", "gemini-cli"],
700
+ "platforms": [
701
+ "claude-code",
702
+ "cursor",
703
+ "windsurf",
704
+ "gemini-cli"
705
+ ],
490
706
  "status": "ready",
491
- "description": "Build and maintain Design Systems, Token extraction, and shared UI libraries."
707
+ "description": "Xây dựng duy trì Design Systems, Token extraction, các thư viện UI dùng chung."
492
708
  },
493
709
  {
494
710
  "name": "qk-validation-gate",
@@ -499,7 +715,13 @@
499
715
  "behavior": "validation",
500
716
  "intent": "validate",
501
717
  "priority": "critical",
502
- "tags": ["ci", "testing", "linting", "security", "gatekeeper"],
718
+ "tags": [
719
+ "ci",
720
+ "testing",
721
+ "linting",
722
+ "security",
723
+ "gatekeeper"
724
+ ],
503
725
  "trigger": [
504
726
  "check the code",
505
727
  "run validation",
@@ -510,9 +732,14 @@
510
732
  ],
511
733
  "dependencies": [],
512
734
  "conflicts": [],
513
- "platforms": ["claude-code", "cursor", "windsurf", "gemini-cli"],
735
+ "platforms": [
736
+ "claude-code",
737
+ "cursor",
738
+ "windsurf",
739
+ "gemini-cli"
740
+ ],
514
741
  "status": "ready",
515
- "description": "Mandatory Quality Gate (Test, Lint, Security)."
742
+ "description": "Cổng kiểm tra chất lượng bắt buộc (Test, Lint, Security)."
516
743
  }
517
744
  ],
518
745
  "categories": {
@@ -520,7 +747,6 @@
520
747
  "qk-access-policy",
521
748
  "qk-context-loader",
522
749
  "qk-docs",
523
- "qk-documentation-system",
524
750
  "qk-engineering-standard",
525
751
  "qk-help",
526
752
  "qk-orchestrator",
@@ -533,6 +759,7 @@
533
759
  "qk-ai-builder",
534
760
  "qk-api-lifecycle",
535
761
  "qk-data-lifecycle",
762
+ "qk-db-optimizer",
536
763
  "qk-design-to-code",
537
764
  "qk-feature-delivery",
538
765
  "qk-project-bootstrap",
@@ -565,4 +792,4 @@
565
792
  "readySkills": 22,
566
793
  "archivedSkills": 22
567
794
  }
568
- }
795
+ }
@@ -1,45 +0,0 @@
1
- ---
2
- name: qk-documentation-system
3
- version: 3.1.4
4
- updated: 2026-07-02
5
- description: Maintain system-level architecture docs and DevOps runbooks.
6
- category: documentation
7
- behavior: static-analysis
8
- intent: maintain
9
- priority: low
10
- tags: [architecture, diagrams, mermaid, runbooks]
11
- platforms: [claude-code, cursor, windsurf, gemini-cli]
12
- trigger: User asks to generate architecture diagrams or DevOps manuals.
13
- inputs: [Architecture changes]
14
- outputs: [System Docs, Mermaid Diagrams]
15
- allowed_tools: [write_to_file, read_file]
16
- pipeline: [analyze, design, implement, complete]
17
- ---
18
-
19
- # 🛠️ qk-documentation-system - Standard Operating Procedure
20
-
21
- > **Goal:** Quản lý tài liệu cấp hệ thống (System Architecture, Sequence Diagrams, Runbooks).
22
-
23
- ## 🔄 1. Chain of Thought (SOP)
24
-
25
- 1. **Analyze (System Flow):**
26
- - Understand the flow of data across microservices or complex components.
27
- 2. **Design (Diagramming):**
28
- - Draft the sequence or architecture diagram using Mermaid syntax.
29
- 3. **Implement (Drafting):**
30
- - Save the documentation into the `/docs/` folder.
31
-
32
- ## 🛡️ 2. Constraints & Rules
33
-
34
- - **Syntax Check:** Ensure Mermaid diagrams are syntactically valid before saving.
35
-
36
- ## 🤝 3. Handoff Pipeline
37
-
38
- 1. `complete`: Output the System Documentation Report.
39
-
40
- ## 📝 4. Output Format
41
-
42
- Vui lòng trả kết quả bằng Tiếng Việt.
43
-
44
- - **Tóm tắt (Summary):** Tài liệu kiến trúc nào đã được tạo.
45
- - **Chi tiết (Changes):** Đường dẫn file.