ai-developer-skill-os 8.2.1 → 8.3.1

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 (151) 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/capability-graph.yml +67 -25
  13. package/.agents/registry/graph.json +135 -256
  14. package/.agents/registry/index.yaml +68 -95
  15. package/.agents/registry/skills-index.yml +548 -525
  16. package/.agents/rules/anti-patterns.md +45 -0
  17. package/.agents/rules/coding.md +10 -0
  18. package/.agents/rules/command-safety.md +37 -14
  19. package/.agents/rules/priorities.yml +13 -2
  20. package/.agents/rules/security.md +47 -7
  21. package/.agents/rules/skill-quality.md +32 -8
  22. package/.agents/skills/_template/SKILL.md +133 -132
  23. package/.agents/skills/_template/capability.yaml +22 -8
  24. package/.agents/skills/_template/evals/scorecard.yaml +19 -19
  25. package/.agents/skills/qk-access-policy/SKILL.md +5 -2
  26. package/.agents/skills/qk-access-policy/capability.yaml +23 -0
  27. package/.agents/skills/qk-access-policy/evals/scorecard.yaml +36 -0
  28. package/.agents/skills/qk-agent-observability/SKILL.md +112 -1
  29. package/.agents/skills/qk-agent-observability/capability.yaml +29 -0
  30. package/.agents/skills/qk-agent-observability/evals/scorecard.yaml +29 -0
  31. package/.agents/skills/qk-agent-observability/references/scorecard.yaml +80 -0
  32. package/.agents/skills/qk-ai-builder/SKILL.md +75 -6
  33. package/.agents/skills/qk-ai-builder/capability.yaml +23 -0
  34. package/.agents/skills/qk-ai-builder/evals/scorecard.yaml +30 -0
  35. package/.agents/skills/qk-api-lifecycle/SKILL.md +5 -3
  36. package/.agents/skills/qk-api-lifecycle/capability.yaml +23 -0
  37. package/.agents/skills/qk-api-lifecycle/evals/scorecard.yaml +29 -0
  38. package/.agents/skills/qk-bug-resolution/SKILL.md +4 -22
  39. package/.agents/skills/qk-bug-resolution/capability.yaml +25 -0
  40. package/.agents/skills/qk-bug-resolution/evals/scorecard.yaml +30 -0
  41. package/.agents/skills/qk-code-review/SKILL.md +188 -186
  42. package/.agents/skills/qk-code-review/capability.yaml +23 -0
  43. package/.agents/skills/qk-code-review/evals/scorecard.yaml +29 -0
  44. package/.agents/skills/qk-context-loader/SKILL.md +4 -12
  45. package/.agents/skills/qk-context-loader/capability.yaml +23 -0
  46. package/.agents/skills/qk-context-loader/evals/scorecard.yaml +28 -0
  47. package/.agents/skills/qk-data-lifecycle/SKILL.md +7 -2
  48. package/.agents/skills/qk-data-lifecycle/capability.yaml +23 -0
  49. package/.agents/skills/qk-data-lifecycle/evals/scorecard.yaml +29 -0
  50. package/.agents/skills/qk-db-optimizer/SKILL.md +4 -3
  51. package/.agents/skills/qk-db-optimizer/capability.yaml +22 -0
  52. package/.agents/skills/qk-db-optimizer/evals/scorecard.yaml +28 -0
  53. package/.agents/skills/qk-design-system-engineering/SKILL.md +235 -112
  54. package/.agents/skills/qk-design-system-engineering/capability.yaml +25 -0
  55. package/.agents/skills/qk-design-system-engineering/evals/scorecard.yaml +27 -0
  56. package/.agents/skills/qk-devops-platform/SKILL.md +241 -117
  57. package/.agents/skills/qk-devops-platform/capability.yaml +29 -0
  58. package/.agents/skills/qk-devops-platform/evals/scorecard.yaml +28 -0
  59. package/.agents/skills/qk-docs/SKILL.md +4 -2
  60. package/.agents/skills/qk-docs/capability.yaml +23 -0
  61. package/.agents/skills/qk-docs/evals/scorecard.yaml +27 -0
  62. package/.agents/skills/qk-engineering-standard/SKILL.md +5 -76
  63. package/.agents/skills/qk-engineering-standard/capability.yaml +23 -0
  64. package/.agents/skills/qk-engineering-standard/evals/scorecard.yaml +28 -0
  65. package/.agents/skills/qk-engineering-standard/references/anti-patterns.md +121 -0
  66. package/.agents/skills/qk-engineering-standard/rules/frontend.md +1 -1
  67. package/.agents/skills/qk-fe-api-integration/SKILL.md +14 -33
  68. package/.agents/skills/qk-fe-api-integration/capability.yaml +21 -0
  69. package/.agents/skills/qk-fe-api-integration/evals/scorecard.yaml +29 -0
  70. package/.agents/skills/qk-feature-delivery/SKILL.md +54 -222
  71. package/.agents/skills/qk-feature-delivery/capability.yaml +24 -0
  72. package/.agents/skills/qk-feature-delivery/evals/scorecard.yaml +28 -0
  73. package/.agents/skills/qk-frontend-architecture/SKILL.md +258 -134
  74. package/.agents/skills/qk-frontend-architecture/capability.yaml +28 -0
  75. package/.agents/skills/qk-frontend-architecture/evals/scorecard.yaml +28 -0
  76. package/.agents/skills/qk-help/SKILL.md +23 -161
  77. package/.agents/skills/qk-help/capability.yaml +20 -0
  78. package/.agents/skills/qk-help/evals/scorecard.yaml +13 -0
  79. package/.agents/skills/qk-orchestrator/SKILL.md +3 -35
  80. package/.agents/skills/qk-orchestrator/capability.yaml +22 -0
  81. package/.agents/skills/qk-orchestrator/evals/scorecard.yaml +27 -0
  82. package/.agents/skills/qk-orchestrator/references/routing-table.md +15 -3
  83. package/.agents/skills/qk-product-specification/SKILL.md +253 -130
  84. package/.agents/skills/qk-product-specification/capability.yaml +27 -0
  85. package/.agents/skills/qk-product-specification/evals/scorecard.yaml +27 -0
  86. package/.agents/skills/qk-production-release/SKILL.md +33 -68
  87. package/.agents/skills/qk-production-release/capability.yaml +27 -0
  88. package/.agents/skills/qk-production-release/evals/scorecard.yaml +28 -0
  89. package/.agents/skills/qk-project-bootstrap/SKILL.md +59 -8
  90. package/.agents/skills/qk-project-bootstrap/capability.yaml +23 -0
  91. package/.agents/skills/qk-project-bootstrap/evals/scorecard.yaml +28 -0
  92. package/.agents/skills/qk-project-health/SKILL.md +5 -3
  93. package/.agents/skills/qk-project-health/capability.yaml +23 -0
  94. package/.agents/skills/qk-project-health/evals/scorecard.yaml +27 -0
  95. package/.agents/skills/qk-project-memory/SKILL.md +4 -2
  96. package/.agents/skills/qk-project-memory/capability.yaml +23 -0
  97. package/.agents/skills/qk-project-memory/evals/scorecard.yaml +27 -0
  98. package/.agents/skills/qk-refactor/SKILL.md +117 -0
  99. package/.agents/skills/qk-refactor/capability.yaml +26 -0
  100. package/.agents/skills/qk-refactor/evals/scorecard.yaml +27 -0
  101. package/.agents/skills/qk-security-audit/SKILL.md +259 -135
  102. package/.agents/skills/qk-security-audit/capability.yaml +30 -0
  103. package/.agents/skills/qk-security-audit/evals/scorecard.yaml +27 -0
  104. package/.agents/skills/qk-system-evolution/SKILL.md +18 -68
  105. package/.agents/skills/qk-system-evolution/capability.yaml +24 -0
  106. package/.agents/skills/qk-system-evolution/evals/scorecard.yaml +26 -0
  107. package/.agents/skills/qk-test-engineering/SKILL.md +262 -139
  108. package/.agents/skills/qk-test-engineering/capability.yaml +28 -0
  109. package/.agents/skills/qk-test-engineering/evals/scorecard.yaml +26 -0
  110. package/.agents/skills/qk-ui-audit/SKILL.md +17 -90
  111. package/.agents/skills/qk-ui-audit/capability.yaml +23 -0
  112. package/.agents/skills/qk-ui-audit/evals/scorecard.yaml +26 -0
  113. package/.agents/skills/qk-ui-audit/references/anti-slop-checklist.md +2 -2
  114. package/.agents/skills/qk-ui-builder/SKILL.md +482 -509
  115. package/.agents/skills/qk-ui-builder/capability.yaml +29 -0
  116. package/.agents/skills/qk-ui-builder/references/component-cookbook.md +455 -1191
  117. package/.agents/skills/qk-ui-system-builder/SKILL.md +2 -6
  118. package/.agents/skills/qk-ui-system-builder/capability.yaml +25 -0
  119. package/.agents/skills/qk-ui-system-builder/evals/scorecard.yaml +26 -0
  120. package/.agents/skills/qk-validation-gate/SKILL.md +1 -75
  121. package/.agents/skills/qk-validation-gate/capability.yaml +23 -0
  122. package/.agents/skills/qk-validation-gate/evals/scorecard.yaml +26 -0
  123. package/.agents/skills/qk-web-quality-gate/SKILL.md +232 -114
  124. package/.agents/skills/qk-web-quality-gate/capability.yaml +24 -0
  125. package/.agents/skills/qk-web-quality-gate/evals/scorecard.yaml +26 -0
  126. package/.agents/workflows/_schema.yml +146 -109
  127. package/.agents/workflows/bug-resolution.yml +121 -101
  128. package/.agents/workflows/code-review.yml +93 -77
  129. package/.agents/workflows/documentation.yml +90 -75
  130. package/.agents/workflows/feature-delivery.yml +120 -103
  131. package/.agents/workflows/production-release.yml +173 -0
  132. package/.agents/workflows/refactor.yml +99 -81
  133. package/.agents/workflows/research.yml +75 -60
  134. package/.agents/workflows/security-audit.yml +115 -72
  135. package/.agents/workflows/skill-evolution.yml +97 -65
  136. package/.agents/workflows/spec-driven-development.yml +87 -57
  137. package/CHANGELOG.md +27 -0
  138. package/README.md +90 -90
  139. package/bin/install.js +329 -179
  140. package/package.json +4 -2
  141. package/tooling/build-registry.js +186 -186
  142. package/tooling/fix-refactor.js +8 -0
  143. package/tooling/sync-versions.js +49 -0
  144. package/tooling/validate-graph.js +87 -87
  145. package/.agents/CHANGELOG.md +0 -131
  146. package/.agents/learnings/draft/README.md +0 -37
  147. package/.agents/reports/RELEASE-CHECKLIST.md +0 -29
  148. package/.agents/reports/architecture-audit.md +0 -13
  149. package/.agents/reports/graph-health.md +0 -20
  150. package/.agents/reports/skill-audit.md +0 -215
  151. package/tooling/generate-registry.js +0 -157
@@ -1,72 +1,115 @@
1
- name: security-audit
2
- description: "Workflow kiểm toán an toàn mã nguồn và chống xâm nhập (Security Audit)."
3
- version: 1.0.0
4
-
5
- steps:
6
- - id: observe
7
- name: "Observe System"
8
- purpose: "Thu thập metadata về cấu trúc và các thành phần"
9
- required: true
10
- inputs: [source_code]
11
- outputs: [system_context]
12
- actions:
13
- - "Xác định tech stack, boundaries và các third-party libs"
14
-
15
- - id: dependency_scan
16
- name: "Dependency Scan"
17
- purpose: "Kiểm tra rủi ro từ package bên ngoài"
18
- required: true
19
- inputs: [system_context, package_files]
20
- outputs: [dependency_vulnerabilities]
21
- actions:
22
- - "Kiểm tra version cũ, thư viện có CVE"
23
-
24
- - id: secret_scan
25
- name: "Secret Scan"
26
- purpose: "Tìm kiếm thông tin nhạy cảm bị rỉ"
27
- required: true
28
- inputs: [source_code]
29
- outputs: [leaked_secrets]
30
- actions:
31
- - "Quét hardcoded API keys, tokens, passwords trong code"
32
-
33
- - id: permission_review
34
- name: "Permission Review"
35
- purpose: "Rà soát mô hình phân quyền và RBAC"
36
- required: true
37
- inputs: [system_context, access_control_code]
38
- outputs: [permission_flaws]
39
- actions:
40
- - "Kiểm tra nguyên tắc least privilege"
41
- - "Tìm lỗ hổng authentication/authorization bypass"
42
-
43
- - id: risk_classification
44
- name: "Risk Classification"
45
- purpose: "Đánh giá mức độ nghiêm trọng"
46
- required: true
47
- inputs: [dependency_vulnerabilities, leaked_secrets, permission_flaws]
48
- outputs: [classified_risks]
49
- actions:
50
- - "Phân loại LOW/MEDIUM/HIGH/CRITICAL"
51
-
52
- - id: recommendation
53
- name: "Recommendation"
54
- purpose: "Đề xuất giải pháp khắc phục"
55
- required: true
56
- inputs: [classified_risks]
57
- outputs: [security_report]
58
- actions:
59
- - "Tạo báo cáo chi tiết kèm actionable steps"
60
-
61
- - id: verify
62
- name: "Verify Fixes"
63
- purpose: "Đảm bảo lỗ hổng đã được vá"
64
- required: false
65
- inputs: [source_code, security_report]
66
- outputs: [final_audit_status]
67
- actions:
68
- - "Check lại các vị trí đã report"
69
-
70
- escalation:
71
- max_retries: 0
72
- on_failure: "Báo động đỏ (CRITICAL) nếu phát hiện secret leak"
1
+ name: security-audit
2
+ version: 8.0.0
3
+ description: "Workflow kiểm toán an toàn mã nguồn và chống xâm nhập (Security Audit)."
4
+
5
+ owner:
6
+ type: security
7
+ maintained_by: qk-team
8
+
9
+ verification_profile: security-audit
10
+
11
+ triggers:
12
+ - "security audit"
13
+ - "kiểm toán bảo mật"
14
+ - "check for vulnerabilities"
15
+ - "scan for secrets"
16
+ - "is this secure"
17
+ - "audit an toàn"
18
+
19
+ ide_binding:
20
+ slash_command: "/security-audit"
21
+ aliases: ["/audit", "/sec-scan"]
22
+
23
+ steps:
24
+ - id: observe
25
+ name: "Observe System"
26
+ purpose: "Thu thập metadata về cấu trúc các thành phần"
27
+ required: true
28
+ inputs:
29
+ - source_code
30
+ outputs:
31
+ - system_context
32
+ actions:
33
+ - "Xác định tech stack, boundaries và các third-party libs"
34
+
35
+ - id: dependency_scan
36
+ name: "Dependency Scan"
37
+ purpose: "Kiểm tra rủi ro từ package bên ngoài"
38
+ required: true
39
+ inputs:
40
+ - system_context
41
+ - package_files
42
+ outputs:
43
+ - dependency_vulnerabilities
44
+ actions:
45
+ - "Kiểm tra version cũ, thư viện có CVE"
46
+
47
+ - id: secret_scan
48
+ name: "Secret Scan"
49
+ purpose: "Tìm kiếm thông tin nhạy cảm bị rò rỉ"
50
+ required: true
51
+ inputs:
52
+ - source_code
53
+ outputs:
54
+ - leaked_secrets
55
+ actions:
56
+ - "Quét hardcoded API keys, tokens, passwords trong code"
57
+
58
+ - id: permission_review
59
+ name: "Permission Review"
60
+ purpose: "Rà soát mô hình phân quyền và RBAC"
61
+ required: true
62
+ inputs:
63
+ - system_context
64
+ - access_control_code
65
+ outputs:
66
+ - permission_flaws
67
+ actions:
68
+ - "Kiểm tra nguyên tắc least privilege"
69
+ - "Tìm lỗ hổng authentication/authorization bypass"
70
+
71
+ - id: risk_classification
72
+ name: "Risk Classification"
73
+ purpose: "Đánh giá mức độ nghiêm trọng"
74
+ required: true
75
+ inputs:
76
+ - dependency_vulnerabilities
77
+ - leaked_secrets
78
+ - permission_flaws
79
+ outputs:
80
+ - classified_risks
81
+ actions:
82
+ - "Phân loại LOW/MEDIUM/HIGH/CRITICAL"
83
+
84
+ - id: recommendation
85
+ name: "Recommendation"
86
+ purpose: "Đề xuất giải pháp khắc phục"
87
+ required: true
88
+ inputs:
89
+ - classified_risks
90
+ outputs:
91
+ - security_report
92
+ actions:
93
+ - "Tạo báo cáo chi tiết kèm actionable steps"
94
+ - "Đề xuất giải pháp phải enforce R-SEC-04"
95
+ human_checkpoint:
96
+ condition: "classified_risks chứa bất kỳ mục nào ở mức CRITICAL"
97
+ message: "Phát hiện lỗ hổng CRITICAL. Xác nhận trước khi tiến hành áp dụng fix."
98
+ - id: verify
99
+ name: "Verify Fixes"
100
+ purpose: "Đảm bảo lỗ hổng đã được vá"
101
+ required: true
102
+ skip_if: "Không có remediation nào được apply trong phiên làm việc này"
103
+ inputs:
104
+ - source_code
105
+ - security_report
106
+ outputs:
107
+ - final_audit_status
108
+ actions:
109
+ - "Check lại các vị trí đã report"
110
+ - "Ghi log execution trace vào evals/traces/"
111
+ exit_on_fail: PARTIAL
112
+
113
+ escalation:
114
+ max_retries: 0
115
+ on_failure: "Báo động đỏ (CRITICAL) nếu phát hiện secret leak"
@@ -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,33 @@ Format: [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
5
5
 
6
6
  ---
7
7
 
8
+ ## [8.3.1] — 2026-07 — EDAOS v8.3.1: Eval Pipeline & Agentic Governance
9
+
10
+ ### Added
11
+ - **evals/runner.js**: Automated evaluation pipeline script to parse `scorecard.yaml`, run linting, verify agent traces, and calculate total scores against thresholds.
12
+ - **Eval Scripts**: Added `npm run eval` and `npm run eval:all` in `package.json` for running automated validations.
13
+ - **Scorecards**: Created comprehensive, quantitative AI-eval `evals/scorecard.yaml` for all 31 standard skills.
14
+ - **.agents/rules/anti-patterns.md (R-C-09)**: Strict global rule prohibiting AI-slop, God Files, Circular Dependencies, and poor code quality practices.
15
+
16
+ ## [8.3.0] — 2026-07 — EDAOS v8.3: Design System, IDE Config & Infrastructure Fixes
17
+
18
+ ### Added
19
+ - **DESIGN.md**: Design system contract with HSL color tokens, spacing scale, typography, border radius, shadows, animation tokens, dark mode support, and z-index layers
20
+ - **vite.config.js**: Vitest configuration with coverage (v8 provider), reporter setup, and test isolation
21
+ - **bin/lint.js**: Lint script for validating SKILL.md spec compliance, workflow structure, and rule files
22
+ - **.kilo/kilo.json**: Kilo IDE configuration with project paths, commands, agent model settings, and skin design token reference
23
+ - **.kilo/command/ and .kilo/agent/ directories**: Standardized Kilo command and agent configuration directories
24
+ - **qk-context-loader/references/**: Loading patterns document for context dependency graph construction
25
+
26
+ ### Fixed
27
+ - **.agentsignore**: Removed `schemas/` from rogue artifacts list; legitimate schema files at `.agents/docs/schemas/` are now accessible to AI agents
28
+ - **ADR-008 renamed to ADR-005**: Corrected decision sequence to remove gap between ADR-004 and ADR-005
29
+ - **qk-design-system-engineering status**: Changed from `experimental` to `stable` to reflect full V8.2 review compliance
30
+ - **Source .agentsignore**: Fixed same `schemas/` issue in root `.agentsignore` (not just worktree copy)
31
+
32
+ ### Removed
33
+ - **Legacy agent-skills dirs**: Removed obsolete `khanhmcp-server/agent-skills-eval/` and `khanhmcp-server/agent-skills-tool/` directories (pre-V8 artifacts)
34
+
8
35
  ## [8.2.1] — 2026-07 — Token Optimization Patch
9
36
 
10
37
  ### Fixed