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.
- package/.agents/LICENSE +21 -21
- package/.agents/README.md +90 -90
- package/.agents/docs/CHI_TIET_SKILLS.md +125 -125
- package/.agents/docs/MIGRATION-CLEANUP-V8.1.3.md +36 -36
- package/.agents/docs/MIGRATION-STATUS.md +35 -35
- package/.agents/docs/MIGRATION-V8.md +10 -10
- package/.agents/docs/V8-CERTIFICATION.md +27 -27
- package/.agents/docs/decisions/ADR-001-v8-migration.md +58 -58
- package/.agents/docs/decisions/ADR-002-workflow-separation.md +50 -50
- package/.agents/docs/decisions/ADR-003-registry-generated.md +54 -54
- package/.agents/docs/decisions/ADR-008-skill-boundary-review.md +27 -27
- package/.agents/registry/capability-graph.yml +67 -25
- package/.agents/registry/graph.json +135 -256
- package/.agents/registry/index.yaml +68 -95
- package/.agents/registry/skills-index.yml +548 -525
- package/.agents/rules/anti-patterns.md +45 -0
- package/.agents/rules/coding.md +10 -0
- package/.agents/rules/command-safety.md +37 -14
- package/.agents/rules/priorities.yml +13 -2
- package/.agents/rules/security.md +47 -7
- package/.agents/rules/skill-quality.md +32 -8
- package/.agents/skills/_template/SKILL.md +133 -132
- package/.agents/skills/_template/capability.yaml +22 -8
- package/.agents/skills/_template/evals/scorecard.yaml +19 -19
- package/.agents/skills/qk-access-policy/SKILL.md +5 -2
- package/.agents/skills/qk-access-policy/capability.yaml +23 -0
- package/.agents/skills/qk-access-policy/evals/scorecard.yaml +36 -0
- package/.agents/skills/qk-agent-observability/SKILL.md +112 -1
- package/.agents/skills/qk-agent-observability/capability.yaml +29 -0
- package/.agents/skills/qk-agent-observability/evals/scorecard.yaml +29 -0
- package/.agents/skills/qk-agent-observability/references/scorecard.yaml +80 -0
- package/.agents/skills/qk-ai-builder/SKILL.md +75 -6
- package/.agents/skills/qk-ai-builder/capability.yaml +23 -0
- package/.agents/skills/qk-ai-builder/evals/scorecard.yaml +30 -0
- package/.agents/skills/qk-api-lifecycle/SKILL.md +5 -3
- package/.agents/skills/qk-api-lifecycle/capability.yaml +23 -0
- package/.agents/skills/qk-api-lifecycle/evals/scorecard.yaml +29 -0
- package/.agents/skills/qk-bug-resolution/SKILL.md +4 -22
- package/.agents/skills/qk-bug-resolution/capability.yaml +25 -0
- package/.agents/skills/qk-bug-resolution/evals/scorecard.yaml +30 -0
- package/.agents/skills/qk-code-review/SKILL.md +188 -186
- package/.agents/skills/qk-code-review/capability.yaml +23 -0
- package/.agents/skills/qk-code-review/evals/scorecard.yaml +29 -0
- package/.agents/skills/qk-context-loader/SKILL.md +4 -12
- package/.agents/skills/qk-context-loader/capability.yaml +23 -0
- package/.agents/skills/qk-context-loader/evals/scorecard.yaml +28 -0
- package/.agents/skills/qk-data-lifecycle/SKILL.md +7 -2
- package/.agents/skills/qk-data-lifecycle/capability.yaml +23 -0
- package/.agents/skills/qk-data-lifecycle/evals/scorecard.yaml +29 -0
- package/.agents/skills/qk-db-optimizer/SKILL.md +4 -3
- package/.agents/skills/qk-db-optimizer/capability.yaml +22 -0
- package/.agents/skills/qk-db-optimizer/evals/scorecard.yaml +28 -0
- package/.agents/skills/qk-design-system-engineering/SKILL.md +235 -112
- package/.agents/skills/qk-design-system-engineering/capability.yaml +25 -0
- package/.agents/skills/qk-design-system-engineering/evals/scorecard.yaml +27 -0
- package/.agents/skills/qk-devops-platform/SKILL.md +241 -117
- package/.agents/skills/qk-devops-platform/capability.yaml +29 -0
- package/.agents/skills/qk-devops-platform/evals/scorecard.yaml +28 -0
- package/.agents/skills/qk-docs/SKILL.md +4 -2
- package/.agents/skills/qk-docs/capability.yaml +23 -0
- package/.agents/skills/qk-docs/evals/scorecard.yaml +27 -0
- package/.agents/skills/qk-engineering-standard/SKILL.md +5 -76
- package/.agents/skills/qk-engineering-standard/capability.yaml +23 -0
- package/.agents/skills/qk-engineering-standard/evals/scorecard.yaml +28 -0
- package/.agents/skills/qk-engineering-standard/references/anti-patterns.md +121 -0
- package/.agents/skills/qk-engineering-standard/rules/frontend.md +1 -1
- package/.agents/skills/qk-fe-api-integration/SKILL.md +14 -33
- package/.agents/skills/qk-fe-api-integration/capability.yaml +21 -0
- package/.agents/skills/qk-fe-api-integration/evals/scorecard.yaml +29 -0
- package/.agents/skills/qk-feature-delivery/SKILL.md +54 -222
- package/.agents/skills/qk-feature-delivery/capability.yaml +24 -0
- package/.agents/skills/qk-feature-delivery/evals/scorecard.yaml +28 -0
- package/.agents/skills/qk-frontend-architecture/SKILL.md +258 -134
- package/.agents/skills/qk-frontend-architecture/capability.yaml +28 -0
- package/.agents/skills/qk-frontend-architecture/evals/scorecard.yaml +28 -0
- package/.agents/skills/qk-help/SKILL.md +23 -161
- package/.agents/skills/qk-help/capability.yaml +20 -0
- package/.agents/skills/qk-help/evals/scorecard.yaml +13 -0
- package/.agents/skills/qk-orchestrator/SKILL.md +3 -35
- package/.agents/skills/qk-orchestrator/capability.yaml +22 -0
- package/.agents/skills/qk-orchestrator/evals/scorecard.yaml +27 -0
- package/.agents/skills/qk-orchestrator/references/routing-table.md +15 -3
- package/.agents/skills/qk-product-specification/SKILL.md +253 -130
- package/.agents/skills/qk-product-specification/capability.yaml +27 -0
- package/.agents/skills/qk-product-specification/evals/scorecard.yaml +27 -0
- package/.agents/skills/qk-production-release/SKILL.md +33 -68
- package/.agents/skills/qk-production-release/capability.yaml +27 -0
- package/.agents/skills/qk-production-release/evals/scorecard.yaml +28 -0
- package/.agents/skills/qk-project-bootstrap/SKILL.md +59 -8
- package/.agents/skills/qk-project-bootstrap/capability.yaml +23 -0
- package/.agents/skills/qk-project-bootstrap/evals/scorecard.yaml +28 -0
- package/.agents/skills/qk-project-health/SKILL.md +5 -3
- package/.agents/skills/qk-project-health/capability.yaml +23 -0
- package/.agents/skills/qk-project-health/evals/scorecard.yaml +27 -0
- package/.agents/skills/qk-project-memory/SKILL.md +4 -2
- package/.agents/skills/qk-project-memory/capability.yaml +23 -0
- package/.agents/skills/qk-project-memory/evals/scorecard.yaml +27 -0
- package/.agents/skills/qk-refactor/SKILL.md +117 -0
- package/.agents/skills/qk-refactor/capability.yaml +26 -0
- package/.agents/skills/qk-refactor/evals/scorecard.yaml +27 -0
- package/.agents/skills/qk-security-audit/SKILL.md +259 -135
- package/.agents/skills/qk-security-audit/capability.yaml +30 -0
- package/.agents/skills/qk-security-audit/evals/scorecard.yaml +27 -0
- package/.agents/skills/qk-system-evolution/SKILL.md +18 -68
- package/.agents/skills/qk-system-evolution/capability.yaml +24 -0
- package/.agents/skills/qk-system-evolution/evals/scorecard.yaml +26 -0
- package/.agents/skills/qk-test-engineering/SKILL.md +262 -139
- package/.agents/skills/qk-test-engineering/capability.yaml +28 -0
- package/.agents/skills/qk-test-engineering/evals/scorecard.yaml +26 -0
- package/.agents/skills/qk-ui-audit/SKILL.md +17 -90
- package/.agents/skills/qk-ui-audit/capability.yaml +23 -0
- package/.agents/skills/qk-ui-audit/evals/scorecard.yaml +26 -0
- package/.agents/skills/qk-ui-audit/references/anti-slop-checklist.md +2 -2
- package/.agents/skills/qk-ui-builder/SKILL.md +482 -509
- package/.agents/skills/qk-ui-builder/capability.yaml +29 -0
- package/.agents/skills/qk-ui-builder/references/component-cookbook.md +455 -1191
- package/.agents/skills/qk-ui-system-builder/SKILL.md +2 -6
- package/.agents/skills/qk-ui-system-builder/capability.yaml +25 -0
- package/.agents/skills/qk-ui-system-builder/evals/scorecard.yaml +26 -0
- package/.agents/skills/qk-validation-gate/SKILL.md +1 -75
- package/.agents/skills/qk-validation-gate/capability.yaml +23 -0
- package/.agents/skills/qk-validation-gate/evals/scorecard.yaml +26 -0
- package/.agents/skills/qk-web-quality-gate/SKILL.md +232 -114
- package/.agents/skills/qk-web-quality-gate/capability.yaml +24 -0
- package/.agents/skills/qk-web-quality-gate/evals/scorecard.yaml +26 -0
- package/.agents/workflows/_schema.yml +146 -109
- package/.agents/workflows/bug-resolution.yml +121 -101
- package/.agents/workflows/code-review.yml +93 -77
- package/.agents/workflows/documentation.yml +90 -75
- package/.agents/workflows/feature-delivery.yml +120 -103
- package/.agents/workflows/production-release.yml +173 -0
- package/.agents/workflows/refactor.yml +99 -81
- package/.agents/workflows/research.yml +75 -60
- package/.agents/workflows/security-audit.yml +115 -72
- package/.agents/workflows/skill-evolution.yml +97 -65
- package/.agents/workflows/spec-driven-development.yml +87 -57
- package/CHANGELOG.md +27 -0
- package/README.md +90 -90
- package/bin/install.js +329 -179
- package/package.json +4 -2
- package/tooling/build-registry.js +186 -186
- package/tooling/fix-refactor.js +8 -0
- package/tooling/sync-versions.js +49 -0
- package/tooling/validate-graph.js +87 -87
- package/.agents/CHANGELOG.md +0 -131
- package/.agents/learnings/draft/README.md +0 -37
- package/.agents/reports/RELEASE-CHECKLIST.md +0 -29
- package/.agents/reports/architecture-audit.md +0 -13
- package/.agents/reports/graph-health.md +0 -20
- package/.agents/reports/skill-audit.md +0 -215
- package/tooling/generate-registry.js +0 -157
|
@@ -1,72 +1,115 @@
|
|
|
1
|
-
name: security-audit
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
- id:
|
|
25
|
-
name: "
|
|
26
|
-
purpose: "
|
|
27
|
-
required: true
|
|
28
|
-
inputs:
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
-
|
|
41
|
-
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
actions:
|
|
68
|
-
- "
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
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 và 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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
outputs:
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
-
|
|
41
|
-
|
|
42
|
-
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
actions:
|
|
44
|
-
- "
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
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 rõ 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
|