ai-developer-skill-os 8.2.0 → 8.3.0

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.
Files changed (79) hide show
  1. package/.agents/LICENSE +21 -21
  2. package/.agents/README.md +90 -90
  3. package/.agents/docs/CHI_TIET_SKILLS.md +125 -125
  4. package/.agents/docs/MIGRATION-CLEANUP-V8.1.3.md +36 -36
  5. package/.agents/docs/MIGRATION-STATUS.md +35 -35
  6. package/.agents/docs/MIGRATION-V8.md +10 -10
  7. package/.agents/docs/V8-CERTIFICATION.md +27 -27
  8. package/.agents/docs/decisions/ADR-001-v8-migration.md +58 -58
  9. package/.agents/docs/decisions/ADR-002-workflow-separation.md +50 -50
  10. package/.agents/docs/decisions/ADR-003-registry-generated.md +54 -54
  11. package/.agents/docs/decisions/ADR-008-skill-boundary-review.md +27 -27
  12. package/.agents/registry/graph.json +4 -8
  13. package/.agents/registry/index.yaml +3 -4
  14. package/.agents/registry/skills-index.yml +525 -525
  15. package/.agents/rules/coding.md +10 -0
  16. package/.agents/rules/command-safety.md +37 -14
  17. package/.agents/rules/priorities.yml +13 -2
  18. package/.agents/rules/security.md +47 -7
  19. package/.agents/rules/skill-quality.md +32 -8
  20. package/.agents/skills/_template/SKILL.md +133 -132
  21. package/.agents/skills/_template/capability.yaml +20 -20
  22. package/.agents/skills/_template/evals/scorecard.yaml +19 -19
  23. package/.agents/skills/qk-access-policy/SKILL.md +4 -1
  24. package/.agents/skills/qk-agent-observability/SKILL.md +111 -0
  25. package/.agents/skills/qk-agent-observability/references/scorecard.yaml +80 -0
  26. package/.agents/skills/qk-ai-builder/SKILL.md +74 -5
  27. package/.agents/skills/qk-api-lifecycle/SKILL.md +4 -2
  28. package/.agents/skills/qk-bug-resolution/SKILL.md +3 -21
  29. package/.agents/skills/qk-code-review/SKILL.md +188 -189
  30. package/.agents/skills/qk-context-loader/SKILL.md +3 -47
  31. package/.agents/skills/qk-data-lifecycle/SKILL.md +7 -2
  32. package/.agents/skills/qk-db-optimizer/SKILL.md +3 -2
  33. package/.agents/skills/qk-design-system-engineering/SKILL.md +235 -112
  34. package/.agents/skills/qk-devops-platform/SKILL.md +241 -117
  35. package/.agents/skills/qk-docs/SKILL.md +3 -1
  36. package/.agents/skills/qk-engineering-standard/SKILL.md +4 -75
  37. package/.agents/skills/qk-engineering-standard/references/anti-patterns.md +121 -0
  38. package/.agents/skills/qk-engineering-standard/rules/frontend.md +1 -1
  39. package/.agents/skills/qk-fe-api-integration/SKILL.md +13 -32
  40. package/.agents/skills/qk-feature-delivery/SKILL.md +54 -202
  41. package/.agents/skills/qk-frontend-architecture/SKILL.md +258 -134
  42. package/.agents/skills/qk-help/SKILL.md +21 -159
  43. package/.agents/skills/qk-orchestrator/SKILL.md +2 -78
  44. package/.agents/skills/qk-orchestrator/references/routing-table.md +15 -3
  45. package/.agents/skills/qk-product-specification/SKILL.md +253 -130
  46. package/.agents/skills/qk-production-release/SKILL.md +32 -67
  47. package/.agents/skills/qk-project-bootstrap/SKILL.md +59 -8
  48. package/.agents/skills/qk-project-health/SKILL.md +4 -2
  49. package/.agents/skills/qk-project-memory/SKILL.md +3 -1
  50. package/.agents/skills/qk-security-audit/SKILL.md +259 -135
  51. package/.agents/skills/qk-system-evolution/SKILL.md +18 -68
  52. package/.agents/skills/qk-test-engineering/SKILL.md +262 -139
  53. package/.agents/skills/qk-ui-audit/SKILL.md +16 -89
  54. package/.agents/skills/qk-ui-audit/references/anti-slop-checklist.md +2 -2
  55. package/.agents/skills/qk-ui-builder/SKILL.md +482 -509
  56. package/.agents/skills/qk-ui-builder/references/component-cookbook.md +455 -1191
  57. package/.agents/skills/qk-ui-system-builder/SKILL.md +1 -5
  58. package/.agents/skills/qk-validation-gate/SKILL.md +0 -74
  59. package/.agents/skills/qk-web-quality-gate/SKILL.md +232 -114
  60. package/.agents/workflows/_schema.yml +146 -109
  61. package/.agents/workflows/bug-resolution.yml +121 -101
  62. package/.agents/workflows/code-review.yml +93 -77
  63. package/.agents/workflows/documentation.yml +90 -75
  64. package/.agents/workflows/feature-delivery.yml +120 -103
  65. package/.agents/workflows/refactor.yml +99 -81
  66. package/.agents/workflows/research.yml +75 -60
  67. package/.agents/workflows/security-audit.yml +115 -72
  68. package/.agents/workflows/skill-evolution.yml +97 -65
  69. package/.agents/workflows/spec-driven-development.yml +87 -57
  70. package/CHANGELOG.md +10 -0
  71. package/README.md +90 -90
  72. package/bin/install.js +330 -180
  73. package/package.json +2 -2
  74. package/.agents/CHANGELOG.md +0 -131
  75. package/.agents/learnings/draft/README.md +0 -37
  76. package/.agents/reports/RELEASE-CHECKLIST.md +0 -29
  77. package/.agents/reports/architecture-audit.md +0 -13
  78. package/.agents/reports/graph-health.md +0 -20
  79. package/.agents/reports/skill-audit.md +0 -215
@@ -1,65 +1,97 @@
1
- name: skill-evolution
2
- description: "Workflow vòng lặp tiến hóa và tối ưu hóa skill (Skill Evolution)."
3
- version: 1.0.0
4
-
5
- steps:
6
- - id: observe_usage
7
- name: "Observe Usage"
8
- purpose: "Theo dõi cách skill được sử dụng"
9
- required: true
10
- inputs: [skill_logs]
11
- outputs: [usage_metrics]
12
- actions:
13
- - "Thống trigger rate và token usage"
14
-
15
- - id: measure_success
16
- name: "Measure Success"
17
- purpose: "Đánh giá tỷ lệ thành công"
18
- required: true
19
- inputs: [usage_metrics, execution_results]
20
- outputs: [success_rate]
21
- actions:
22
- - "Xác định các lần exit SUCCESS vs FAILED/PARTIAL"
23
-
24
- - id: detect_failure
25
- name: "Detect Failure Patterns"
26
- purpose: "Phát hiện lý do thất bại"
27
- required: true
28
- inputs: [execution_results]
29
- outputs: [failure_patterns]
30
- actions:
31
- - "Phân tích log lỗi, hallucination, out of budget"
32
-
33
- - id: improve_skill
34
- name: "Improve Skill"
35
- purpose: "Đề xuất tối ưu skill"
36
- required: true
37
- inputs: [failure_patterns, skill_body]
38
- outputs: [improved_skill_proposal]
39
- actions:
40
- - "Giảm noise trong instruction"
41
- - "Cập nhật examples và learnings"
42
- - "Tinh chỉnh token budget"
43
-
44
- - id: validate_improvement
45
- name: "Validate Improvement"
46
- purpose: "Xác thực bản nâng cấp"
47
- required: true
48
- inputs: [improved_skill_proposal]
49
- outputs: [validation_result]
50
- actions:
51
- - "Chạy qua validate-skills.js"
52
- - "Kiểm tra schema compliance"
53
-
54
- - id: promote
55
- name: "Promote Skill"
56
- purpose: "Đưa bản cải tiến vào sử dụng"
57
- required: true
58
- inputs: [validation_result]
59
- outputs: [stable_skill]
60
- actions:
61
- - "Chuyển status thành stable"
62
-
63
- escalation:
64
- max_retries: 1
65
- on_failure: "Hủy bỏ bản cải tiến nếu validation thất bại"
1
+ name: skill-evolution
2
+ version: 8.0.0
3
+ description: "Workflow vòng lặp tiến hóa và tối ưu hóa skill (Skill Evolution)."
4
+
5
+ owner:
6
+ type: engineering
7
+ maintained_by: qk-team
8
+
9
+ verification_profile: skill-evolution
10
+
11
+ triggers:
12
+ - "improve this skill"
13
+ - "tối ưu skill"
14
+ - "why does this skill keep failing"
15
+ - "optimize this workflow"
16
+ - "phân tích usage skill"
17
+
18
+ ide_binding:
19
+ slash_command: "/evolve-skill"
20
+ aliases: ["/skill-tune"]
21
+
22
+ steps:
23
+ - id: observe_usage
24
+ name: "Observe Usage"
25
+ purpose: "Theo dõi cách skill được sử dụng"
26
+ required: true
27
+ inputs:
28
+ - skill_logs
29
+ outputs:
30
+ - usage_metrics
31
+ actions:
32
+ - "Thống kê trigger rate và token usage"
33
+
34
+ - id: measure_success
35
+ name: "Measure Success"
36
+ purpose: "Đánh giá tỷ lệ thành công"
37
+ required: true
38
+ inputs:
39
+ - usage_metrics
40
+ - execution_results
41
+ outputs:
42
+ - success_rate
43
+ actions:
44
+ - "Xác định các lần exit SUCCESS vs FAILED/PARTIAL"
45
+
46
+ - id: detect_failure
47
+ name: "Detect Failure Patterns"
48
+ purpose: "Phát hiện lý do thất bại"
49
+ required: true
50
+ inputs:
51
+ - execution_results
52
+ outputs:
53
+ - failure_patterns
54
+ actions:
55
+ - "Phân tích log lỗi, hallucination, out of budget"
56
+
57
+ - id: improve_skill
58
+ name: "Improve Skill"
59
+ purpose: "Đề xuất tối ưu skill"
60
+ required: true
61
+ inputs:
62
+ - failure_patterns
63
+ - skill_body
64
+ outputs:
65
+ - improved_skill_proposal
66
+ actions:
67
+ - "Giảm noise trong instruction"
68
+ - "Cập nhật examples và learnings"
69
+ - "Tinh chỉnh token budget"
70
+
71
+ - id: validate_improvement
72
+ name: "Validate Improvement"
73
+ purpose: "Xác thực bản nâng cấp"
74
+ required: true
75
+ inputs:
76
+ - improved_skill_proposal
77
+ outputs:
78
+ - validation_result
79
+ actions:
80
+ - "Chạy qua validate-skills.js"
81
+ - "Đảm bảo skill không vi phạm R-C-09"
82
+ - "Kiểm tra schema compliance"
83
+
84
+ - id: promote
85
+ name: "Promote Skill"
86
+ purpose: "Đưa bản cải tiến vào sử dụng"
87
+ required: true
88
+ inputs:
89
+ - validation_result
90
+ outputs:
91
+ - stable_skill
92
+ actions:
93
+ - "Chuyển status thành stable"
94
+
95
+ escalation:
96
+ max_retries: 1
97
+ on_failure: "Hủy bỏ bản cải tiến nếu validation thất bại"
@@ -1,57 +1,87 @@
1
- name: spec-driven-development
2
- description: "Workflow phát triển dựa trên đặc tả (Specification-Driven Development)."
3
- version: 1.0.0
4
-
5
- steps:
6
- - id: clarify_requirement
7
- name: "Clarify Requirements"
8
- purpose: "Làm rõ yêu cầu từ ý tưởng ban đầu"
9
- required: true
10
- inputs: [user_idea]
11
- outputs: [clarified_requirement]
12
- actions:
13
- - "Hỏi các câu hỏi làm rõ scope và constraints"
14
- - "Xác định rõ outcome mong muốn"
15
-
16
- - id: create_spec
17
- name: "Create Specification"
18
- purpose: "Viết tài liệu đặc tả kỹ thuật"
19
- required: true
20
- inputs: [clarified_requirement]
21
- outputs: [technical_spec]
22
- actions:
23
- - "Thiết kế API contracts, data models"
24
- - "Xác định UI/UX heuristics"
25
- - "Xác định edge cases"
26
-
27
- - id: create_plan
28
- name: "Create Plan"
29
- purpose: "Lên kế hoạch triển khai"
30
- required: true
31
- inputs: [technical_spec]
32
- outputs: [implementation_plan]
33
- actions:
34
- - "Chia nhỏ spec thành các task cụ thể"
35
- - "Đánh giá rủi ro và thứ tự ưu tiên"
36
-
37
- - id: implement
38
- name: "Implement"
39
- purpose: "Triển khai mã nguồn"
40
- required: true
41
- inputs: [implementation_plan, technical_spec]
42
- outputs: [source_code]
43
- actions:
44
- - "Code theo đúng spec"
45
-
46
- - id: verify
47
- name: "Verify Implementation"
48
- purpose: "Kiểm tra mã nguồn với đặc tả"
49
- required: true
50
- inputs: [source_code, technical_spec]
51
- outputs: [verification_result]
52
- actions:
53
- - "Đối chiếu kết quả code với acceptance criteria"
54
-
55
- escalation:
56
- max_retries: 2
57
- on_failure: "Báo cáo lệch spec và xin chỉ thị"
1
+ name: spec-driven-development
2
+ version: 8.0.0
3
+ description: "Workflow phát triển dựa trên đặc tả (Specification-Driven Development)."
4
+
5
+ owner:
6
+ type: engineering
7
+ maintained_by: qk-team
8
+
9
+ verification_profile: spec-driven
10
+
11
+ triggers:
12
+ - "write a spec"
13
+ - "viết đặc tả"
14
+ - "spec this out"
15
+ - "design before implementing"
16
+ - "technical spec for"
17
+
18
+ ide_binding:
19
+ slash_command: "/spec"
20
+ aliases: ["/spec-driven"]
21
+
22
+ steps:
23
+ - id: clarify_requirement
24
+ name: "Clarify Requirements"
25
+ purpose: "Làm yêu cầu từ ý tưởng ban đầu"
26
+ required: true
27
+ inputs:
28
+ - user_idea
29
+ outputs:
30
+ - clarified_requirement
31
+ actions:
32
+ - "Hỏi các câu hỏi làm rõ scope và constraints"
33
+ - "Xác định rõ outcome mong muốn"
34
+
35
+ - id: create_spec
36
+ name: "Create Specification"
37
+ purpose: "Viết tài liệu đặc tả kỹ thuật"
38
+ required: true
39
+ inputs:
40
+ - clarified_requirement
41
+ outputs:
42
+ - technical_spec
43
+ actions:
44
+ - "Thiết kế API contracts, data models"
45
+ - "Xác định UI/UX heuristics"
46
+ - "Spec phải quy định rõ boundary validation (R-SEC-04)"
47
+ - "Xác định edge cases"
48
+
49
+ - id: create_plan
50
+ name: "Create Plan"
51
+ purpose: "Lên kế hoạch triển khai"
52
+ required: true
53
+ inputs:
54
+ - technical_spec
55
+ outputs:
56
+ - implementation_plan
57
+ actions:
58
+ - "Chia nhỏ spec thành các task cụ thể"
59
+ - "Đánh giá rủi ro và thứ tự ưu tiên"
60
+
61
+ - id: implement
62
+ name: "Implement"
63
+ purpose: "Triển khai mã nguồn"
64
+ required: true
65
+ inputs:
66
+ - implementation_plan
67
+ - technical_spec
68
+ outputs:
69
+ - source_code
70
+ actions:
71
+ - "Code theo đúng spec"
72
+
73
+ - id: verify
74
+ name: "Verify Implementation"
75
+ purpose: "Kiểm tra mã nguồn với đặc tả"
76
+ required: true
77
+ inputs:
78
+ - source_code
79
+ - technical_spec
80
+ outputs:
81
+ - verification_result
82
+ actions:
83
+ - "Đối chiếu kết quả code với acceptance criteria"
84
+
85
+ escalation:
86
+ max_retries: 2
87
+ on_failure: "Báo cáo lệch spec và xin chỉ thị"
package/CHANGELOG.md CHANGED
@@ -5,6 +5,16 @@ Format: [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
5
5
 
6
6
  ---
7
7
 
8
+ ## [8.2.1] — 2026-07 — Token Optimization Patch
9
+
10
+ ### Fixed
11
+ - **`stop_early: false` → `true` in 13 skills**: `qk-code-review`, `qk-data-lifecycle`, `qk-design-system-engineering`, `qk-devops-platform`, `qk-feature-delivery`, `qk-frontend-architecture`, `qk-production-release`, `qk-product-specification`, `qk-project-bootstrap`, `qk-security-audit`, `qk-system-evolution`, `qk-test-engineering`, `qk-ui-builder`, `qk-web-quality-gate` — skills now self-terminate when token budget is exhausted instead of running indefinitely.
12
+ - **Removed 20 duplicate metadata blocks**: Stripped repeated `skill_version/runtime_version/schema_version` YAML blocks from `qk-orchestrator` (11×) and `qk-context-loader` (9×) — saves ~1320 chars per context load.
13
+ - **`qk-code-review` Dynamic Context Loading: mandatory → on-demand**: References are now only read when a specific issue is found, not before every review. Eliminates 2 forced `view_file` calls per review session.
14
+ - **`qk-feature-delivery` FAST PATH**: Simple tasks (≤1 file, no new API, no DB migration) now bypass `qk-context-loader` and Phase 1 clarification — saves 2–3 turns per simple fix.
15
+
16
+ ---
17
+
8
18
  ## [8.2.0] — 2026-07 — EDAOS v8.2: Governed Capability Metadata & Eval Platform
9
19
 
10
20
  ### Added
package/README.md CHANGED
@@ -1,90 +1,90 @@
1
- # 🚀 AI Developer Skill OS (ai-developer-skill-os) v8.2.0
2
-
3
- > **v8.2.0 "EDAOS v8.2 — Governed Capability Metadata & Eval Platform"**
4
-
5
- Hệ sinh thái AI Developer Skill OS tiến hóa lên phiên bản **V8.2.0 (EDAOS v8.2)** với kiến trúc **Manifest-First & Eval Platform**, giúp giảm tối đa chi phí nhận thức (cognitive load) cho các AI Agent thế hệ mới (như Antigravity) nhờ chỉ định ranh giới định lượng, đồ thị phụ thuộc O(1), và các Blueprint Plugins quy chuẩn cho từng ngành nghề kỹ thuật.
6
-
7
- ---
8
-
9
- ## 🏗️ 4 Trụ Cột Kiến Trúc Cốt Lõi (EDAOS v8.2 Architecture)
10
-
11
- ### 1. Manifest-First & O(1) Registry Engine
12
- Không còn phụ thuộc vào việc đọc/scan toàn bộ markdown mệt mỏi. AI Agent tra cứu siêu dữ liệu từ `.agents/registry/index.yaml` và kiểm duyệt chu trình không lặp (acyclic validation) thông qua O(1) graph JSON (`.agents/registry/graph.json`). Tốc độ hiểu và phân công năng lực đạt ngưỡng sub-second!
13
-
14
- ### 2. V8.2 Blueprint Plugins & Universal 4-Folder Architecture
15
- Khởi tạo dự án (chỉ đạo qua `qk-project-bootstrap`) hỗ trợ sinh file `project.yaml` gốc từ thư viện Blueprint Plugins:
16
- - **RAG / AI Agents:** Cấu trúc 4 thư mục chuẩn thực chiến: `prompts/`, `data/` (bảo vệ `data/raw` bất biến), `agents/`, và `evals/`.
17
- - **Standard Software Coding:** Kiến trúc module sạch vững chắc với `DESIGN.md` và rào cản kiểm duyệt tự động.
18
- - **Automation Workflows:** Các luồng tích hợp n8n và dữ liệu lớn.
19
-
20
- ### 3. Eval Pipeline Platform (Khép Kín Kiểm Định)
21
- Chấm dứt việc tin tưởng AI blindly. Mọi Capability đều có thẻ điểm định lượng (`scorecard.yaml`), kết nối log thực thi thực tế từ thư mục `evals/traces/` qua cổng thẩm định sắt đá `qk-validation-gate`. Trách nhiệm định lượng 0–100 với sai số 0% (zero tolerance for fabrication).
22
-
23
- ### 4. Domain Patterns Separation (Bảo Vệ Kernel)
24
- Các hệ thống AI chuyên sâu (như **Xây dựng DDC 192 skills**, bóc tách BIM/IFC, ERP) được tải lập trình viên cấu hình dạng Module dưới `knowledge/domain-patterns/` thay vì phơi bày trực tiếp vào 30 Core Developer Skills, giữ cho đồ thị cốt lõi luôn nhanh bén mượt mà!
25
-
26
- ---
27
-
28
- ## 🧩 Danh sách 30 Master Skills (Core Developer Capabilities)
29
-
30
- Các kỹ năng được quản lý bằng **Capability Graph** và được đánh giá liên tục thông qua Evaluation Suite. Bao gồm 7 lĩnh vực:
31
- 1. **Core & Orchestration:** `qk-orchestrator`, `qk-context-loader`, `qk-project-memory`, `qk-help`
32
- 2. **Product & Architecture:** `qk-product-specification`, `qk-project-bootstrap`, `qk-frontend-architecture`
33
- 3. **Frontend & UI:** `qk-design-system-engineering`, `qk-ui-system-builder`, `qk-ui-builder`, `qk-fe-api-integration`, `qk-ui-audit`
34
- 4. **Backend & Data:** `qk-api-lifecycle`, `qk-data-lifecycle`, `qk-access-policy`
35
- 5. **Engineering & Delivery:** `qk-feature-delivery`, `qk-bug-resolution`, `qk-engineering-standard`, `qk-system-evolution`, `qk-docs`
36
- 6. **Quality & Testing:** `qk-test-engineering`, `qk-validation-gate`, `qk-web-quality-gate`, `qk-project-health`
37
- 7. **Security, DevOps & Analytics:** `qk-security-audit`, `qk-db-optimizer`, `qk-devops-platform`, `qk-production-release`, `qk-agent-observability`, `qk-ai-builder`
38
-
39
- ---
40
-
41
- ## 💻 Cách Cài Đặt (Installation)
42
-
43
- ### Cách 1: NXP (Không cần cài global) - MỚI
44
- ```bash
45
- npx ai-developer-skill-os init
46
- ```
47
-
48
- ### Cách 2: NPM Global (Khuyên dùng cho cá nhân)
49
- ```bash
50
- npm i -g ai-developer-skill-os
51
- ```
52
-
53
- ### Chạy bằng tham số (Command Line Arguments)
54
- ```bash
55
- # Cài Antigravity Global (toàn máy)
56
- npx ai-developer-skill-os init --ide=antigravity --scope=2
57
-
58
- # Cài Antigravity Local (chỉ dự án này)
59
- npx ai-developer-skill-os init --ide=antigravity --scope=1
60
-
61
- # Cài Cursor Local
62
- npx ai-developer-skill-os init --ide=cursor --scope=1
63
- ```
64
-
65
- ## 📦 Các IDE/AI Assistant Được Hỗ Trợ
66
- - (1) Cursor
67
- - (2) Windsurf
68
- - (3) Cline / Roo Code
69
- - (4) Antigravity / Gemini
70
- - (5) Codex
71
- - (6) Kilo Code
72
-
73
- ---
74
-
75
- ## 🧪 Đánh Giá Tự Động (Agent Evaluation)
76
-
77
- Hệ thống đi kèm một bộ Runner nội bộ để kiểm toán **Routing Intelligence**. Bất kỳ cập nhật nào vào hệ thống Kỹ năng đều phải vượt qua bài kiểm tra hóc búa (Bypass Security, Boundary Attacks, Ambiguous Prompts):
78
-
79
- ```bash
80
- npm run test:agent
81
- npm run test:graph
82
- npm run test:registry
83
- ```
84
-
85
- ## 🚀 Hướng Dẫn Sử Dụng
86
- Sau khi cài đặt thành công, hãy gõ lệnh:
87
- ```bash
88
- ./qk-help
89
- ```
90
- để kích hoạt AI Orchestrator và khám phá sức mạnh của hệ điều hành!
1
+ # 🚀 AI Developer Skill OS (ai-developer-skill-os) v8.3.0
2
+
3
+ > **v8.3.0 "EDAOS v8.3 — Governed Capability Metadata & Eval Platform"**
4
+
5
+ Hệ sinh thái AI Developer Skill OS tiến hóa lên phiên bản **V8.3.0 (EDAOS v8.3)** với kiến trúc **Manifest-First & Eval Platform**, giúp giảm tối đa chi phí nhận thức (cognitive load) cho các AI Agent thế hệ mới (như Antigravity) nhờ chỉ định ranh giới định lượng, đồ thị phụ thuộc O(1), và các Blueprint Plugins quy chuẩn cho từng ngành nghề kỹ thuật.
6
+
7
+ ---
8
+
9
+ ## 🏗️ 4 Trụ Cột Kiến Trúc Cốt Lõi (EDAOS v8.2 Architecture)
10
+
11
+ ### 1. Manifest-First & O(1) Registry Engine
12
+ Không còn phụ thuộc vào việc đọc/scan toàn bộ markdown mệt mỏi. AI Agent tra cứu siêu dữ liệu từ `.agents/registry/index.yaml` và kiểm duyệt chu trình không lặp (acyclic validation) thông qua O(1) graph JSON (`.agents/registry/graph.json`). Tốc độ hiểu và phân công năng lực đạt ngưỡng sub-second!
13
+
14
+ ### 2. V8.2 Blueprint Plugins & Universal 4-Folder Architecture
15
+ Khởi tạo dự án (chỉ đạo qua `qk-project-bootstrap`) hỗ trợ sinh file `project.yaml` gốc từ thư viện Blueprint Plugins:
16
+ - **RAG / AI Agents:** Cấu trúc 4 thư mục chuẩn thực chiến: `prompts/`, `data/` (bảo vệ `data/raw` bất biến), `agents/`, và `evals/`.
17
+ - **Standard Software Coding:** Kiến trúc module sạch vững chắc với `DESIGN.md` và rào cản kiểm duyệt tự động.
18
+ - **Automation Workflows:** Các luồng tích hợp n8n và dữ liệu lớn.
19
+
20
+ ### 3. Eval Pipeline Platform (Khép Kín Kiểm Định)
21
+ Chấm dứt việc tin tưởng AI blindly. Mọi Capability đều có thẻ điểm định lượng (`scorecard.yaml`), kết nối log thực thi thực tế từ thư mục `evals/traces/` qua cổng thẩm định sắt đá `qk-validation-gate`. Trách nhiệm định lượng 0–100 với sai số 0% (zero tolerance for fabrication).
22
+
23
+ ### 4. Domain Patterns Separation (Bảo Vệ Kernel)
24
+ Các hệ thống AI chuyên sâu (như **Xây dựng DDC 192 skills**, bóc tách BIM/IFC, ERP) được tải lập trình viên cấu hình dạng Module dưới `knowledge/domain-patterns/` thay vì phơi bày trực tiếp vào 30 Core Developer Skills, giữ cho đồ thị cốt lõi luôn nhanh bén mượt mà!
25
+
26
+ ---
27
+
28
+ ## 🧩 Danh sách 30 Master Skills (Core Developer Capabilities)
29
+
30
+ Các kỹ năng được quản lý bằng **Capability Graph** và được đánh giá liên tục thông qua Evaluation Suite. Bao gồm 7 lĩnh vực:
31
+ 1. **Core & Orchestration:** `qk-orchestrator`, `qk-context-loader`, `qk-project-memory`, `qk-help`
32
+ 2. **Product & Architecture:** `qk-product-specification`, `qk-project-bootstrap`, `qk-frontend-architecture`
33
+ 3. **Frontend & UI:** `qk-design-system-engineering`, `qk-ui-system-builder`, `qk-ui-builder`, `qk-fe-api-integration`, `qk-ui-audit`
34
+ 4. **Backend & Data:** `qk-api-lifecycle`, `qk-data-lifecycle`, `qk-access-policy`
35
+ 5. **Engineering & Delivery:** `qk-feature-delivery`, `qk-bug-resolution`, `qk-engineering-standard`, `qk-system-evolution`, `qk-docs`
36
+ 6. **Quality & Testing:** `qk-test-engineering`, `qk-validation-gate`, `qk-web-quality-gate`, `qk-project-health`
37
+ 7. **Security, DevOps & Analytics:** `qk-security-audit`, `qk-db-optimizer`, `qk-devops-platform`, `qk-production-release`, `qk-agent-observability`, `qk-ai-builder`
38
+
39
+ ---
40
+
41
+ ## 💻 Cách Cài Đặt (Installation)
42
+
43
+ ### Cách 1: NXP (Không cần cài global) - MỚI
44
+ ```bash
45
+ npx ai-developer-skill-os init
46
+ ```
47
+
48
+ ### Cách 2: NPM Global (Khuyên dùng cho cá nhân)
49
+ ```bash
50
+ npm i -g ai-developer-skill-os
51
+ ```
52
+
53
+ ### Chạy bằng tham số (Command Line Arguments)
54
+ ```bash
55
+ # Cài Antigravity Global (toàn máy)
56
+ npx ai-developer-skill-os init --ide=antigravity --scope=2
57
+
58
+ # Cài Antigravity Local (chỉ dự án này)
59
+ npx ai-developer-skill-os init --ide=antigravity --scope=1
60
+
61
+ # Cài Cursor Local
62
+ npx ai-developer-skill-os init --ide=cursor --scope=1
63
+ ```
64
+
65
+ ## 📦 Các IDE/AI Assistant Được Hỗ Trợ
66
+ - (1) Cursor
67
+ - (2) Windsurf
68
+ - (3) Cline / Roo Code
69
+ - (4) Antigravity / Gemini
70
+ - (5) Codex
71
+ - (6) Kilo Code
72
+
73
+ ---
74
+
75
+ ## 🧪 Đánh Giá Tự Động (Agent Evaluation)
76
+
77
+ Hệ thống đi kèm một bộ Runner nội bộ để kiểm toán **Routing Intelligence**. Bất kỳ cập nhật nào vào hệ thống Kỹ năng đều phải vượt qua bài kiểm tra hóc búa (Bypass Security, Boundary Attacks, Ambiguous Prompts):
78
+
79
+ ```bash
80
+ npm run test:agent
81
+ npm run test:graph
82
+ npm run test:registry
83
+ ```
84
+
85
+ ## 🚀 Hướng Dẫn Sử Dụng
86
+ Sau khi cài đặt thành công, hãy gõ lệnh:
87
+ ```bash
88
+ ./qk-help
89
+ ```
90
+ để kích hoạt AI Orchestrator và khám phá sức mạnh của hệ điều hành!