ai-developer-skill-os 8.3.0 → 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/registry/capability-graph.yml +67 -25
- package/.agents/registry/graph.json +138 -255
- package/.agents/registry/index.yaml +70 -96
- package/.agents/registry/skills-index.yml +70 -47
- package/.agents/rules/anti-patterns.md +45 -0
- package/.agents/skills/_template/SKILL.md +1 -1
- package/.agents/skills/_template/capability.yaml +34 -20
- package/.agents/skills/qk-access-policy/SKILL.md +1 -1
- 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 +3 -3
- 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-ai-builder/SKILL.md +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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-fe-api-integration/SKILL.md +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +2 -2
- 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 +1 -1
- package/.agents/skills/qk-orchestrator/capability.yaml +22 -0
- package/.agents/skills/qk-orchestrator/evals/scorecard.yaml +27 -0
- package/.agents/skills/qk-product-specification/SKILL.md +1 -1
- 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 +2 -2
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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-builder/capability.yaml +29 -0
- package/.agents/skills/qk-ui-system-builder/SKILL.md +1 -1
- 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 -1
- 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 +1 -1
- 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/production-release.yml +173 -0
- package/CHANGELOG.md +27 -0
- package/bin/install.js +1 -1
- package/package.json +3 -1
- 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/tooling/generate-registry.js +0 -157
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
schema_version: 1
|
|
2
|
+
id: "qk-ui-builder"
|
|
3
|
+
version: "8.3.1"
|
|
4
|
+
description: "Xây dựng, sửa, audit, và học UI — từ Figma/ảnh, map API, fix bug UI, đến redesign cấu trúc."
|
|
5
|
+
dependencies:
|
|
6
|
+
- "feature-delivery"
|
|
7
|
+
tools:
|
|
8
|
+
- "filesystem"
|
|
9
|
+
- "terminal"
|
|
10
|
+
knowledge:
|
|
11
|
+
owns:
|
|
12
|
+
- "ui-implementation"
|
|
13
|
+
- "component-patterns"
|
|
14
|
+
- "design-system-integration"
|
|
15
|
+
references:
|
|
16
|
+
- "design-system"
|
|
17
|
+
- "architecture"
|
|
18
|
+
- "accessibility"
|
|
19
|
+
eval:
|
|
20
|
+
scorecard: "evals/scorecard.yaml"
|
|
21
|
+
decision_boundary:
|
|
22
|
+
owns:
|
|
23
|
+
- "ui-component-implementation"
|
|
24
|
+
- "design-token-application"
|
|
25
|
+
does_not_own:
|
|
26
|
+
- "visual-direction"
|
|
27
|
+
- "brand-identity"
|
|
28
|
+
conflicts_with: []
|
|
29
|
+
delegates_to: []
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
# ── Identity ───────────────────────────────────────────────
|
|
3
3
|
name: qk-ui-system-builder
|
|
4
|
-
version: 8.
|
|
4
|
+
version: 8.3.1
|
|
5
5
|
status: stable
|
|
6
6
|
description: "Xây dựng Design System và token library từ DESIGN.md — không tự đặt ra token ngoài contract."
|
|
7
7
|
platforms: [antigravity, claude-code, cursor, windsurf, kilo-code]
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Auto-generated from SKILL.md frontmatter
|
|
2
|
+
schema_version: 1
|
|
3
|
+
id: "qk-ui-system-builder"
|
|
4
|
+
version: "8.3.1"
|
|
5
|
+
description: "Xây dựng Design System và token library từ DESIGN.md — không tự đặt ra token ngoài contract."
|
|
6
|
+
tools:
|
|
7
|
+
- "filesystem"
|
|
8
|
+
- "terminal"
|
|
9
|
+
knowledge:
|
|
10
|
+
owns:
|
|
11
|
+
- "design-tokens"
|
|
12
|
+
- "ui-system"
|
|
13
|
+
references:
|
|
14
|
+
- "design-system"
|
|
15
|
+
eval:
|
|
16
|
+
scorecard: "evals/scorecard.yaml"
|
|
17
|
+
decision_boundary:
|
|
18
|
+
owns:
|
|
19
|
+
- "tokens"
|
|
20
|
+
- "ui-system"
|
|
21
|
+
does_not_own:
|
|
22
|
+
- "page implementation"
|
|
23
|
+
- "visual direction"
|
|
24
|
+
conflicts_with:
|
|
25
|
+
- "qk-design-system-engineering"
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
name: qk-ui-system-builder-eval
|
|
2
|
+
description: Đánh giá việc khởi tạo Design System Tokens
|
|
3
|
+
version: 8.3.1
|
|
4
|
+
threshold: 85 # Đảm bảo tokens sinh ra ánh xạ 1:1 với contract
|
|
5
|
+
|
|
6
|
+
metrics:
|
|
7
|
+
- id: strict_token_mapping
|
|
8
|
+
name: Ánh xạ chuẩn xác từ Contract
|
|
9
|
+
description: Các token được tạo ra có khớp 1:1 với DESIGN.md không?
|
|
10
|
+
weight: 45
|
|
11
|
+
criteria:
|
|
12
|
+
- Tuyệt đối không tự bịa (hallucinate) các token màu sắc/kích thước ngoài hợp đồng (45đ)
|
|
13
|
+
|
|
14
|
+
- id: naming_conventions
|
|
15
|
+
name: Kỷ luật Đặt tên (Naming Convention)
|
|
16
|
+
description: Cấu trúc biến CSS có đúng chuẩn và dễ mở rộng không?
|
|
17
|
+
weight: 30
|
|
18
|
+
criteria:
|
|
19
|
+
- Sử dụng đúng cấu trúc `--color-role-shade` thay vì tên ngẫu nhiên (30đ)
|
|
20
|
+
|
|
21
|
+
- id: dark_mode_support
|
|
22
|
+
name: Hỗ trợ Giao diện Tối (Dark Mode)
|
|
23
|
+
description: Có xử lý cấu trúc biến để hỗ trợ Data-theme/Dark-mode không?
|
|
24
|
+
weight: 25
|
|
25
|
+
criteria:
|
|
26
|
+
- Thiết lập base variables có khả năng scale cho các theme khác nhau (25đ)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
# ── Identity ───────────────────────────────────────────────
|
|
3
3
|
name: qk-validation-gate
|
|
4
|
-
version: 8.
|
|
4
|
+
version: 8.3.1
|
|
5
5
|
status: stable
|
|
6
6
|
description: "Cổng kiểm tra chất lượng & Eval Pipeline bắt buộc — chạy linters, tests, và đánh giá scorecard.yaml định lượng cho AI Agent."
|
|
7
7
|
platforms: [antigravity, claude-code, cursor, windsurf, kilo-code]
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Auto-generated from SKILL.md frontmatter
|
|
2
|
+
schema_version: 1
|
|
3
|
+
id: "qk-validation-gate"
|
|
4
|
+
version: "8.3.1"
|
|
5
|
+
description: "Cổng kiểm tra chất lượng & Eval Pipeline bắt buộc — chạy linters, tests, và đánh giá scorecard.yaml định lượng cho AI Agent."
|
|
6
|
+
tools:
|
|
7
|
+
- "filesystem"
|
|
8
|
+
- "terminal"
|
|
9
|
+
knowledge:
|
|
10
|
+
owns:
|
|
11
|
+
- "verification"
|
|
12
|
+
- "quality-gates"
|
|
13
|
+
- "test-execution"
|
|
14
|
+
references:
|
|
15
|
+
- "coding"
|
|
16
|
+
- "architecture"
|
|
17
|
+
eval:
|
|
18
|
+
scorecard: "evals/scorecard.yaml"
|
|
19
|
+
decision_boundary:
|
|
20
|
+
owns:
|
|
21
|
+
- "qk-validation-gate"
|
|
22
|
+
does_not_own: []
|
|
23
|
+
conflicts_with: []
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
name: qk-validation-gate-eval
|
|
2
|
+
description: Đánh giá Cổng kiểm tra Chất lượng V8.2
|
|
3
|
+
version: 8.3.1
|
|
4
|
+
threshold: 100 # Phải đạt 100 điểm tuyệt đối vì đây là lưới rà soát cuối cùng trước khi Release
|
|
5
|
+
|
|
6
|
+
metrics:
|
|
7
|
+
- id: threshold_enforcement
|
|
8
|
+
name: Thi hành Threshold nghiêm ngặt
|
|
9
|
+
description: Agent có bỏ qua lỗi Lint, Type check hoặc Test coverage không?
|
|
10
|
+
weight: 40
|
|
11
|
+
criteria:
|
|
12
|
+
- Chặn đứng (FAILED) ngay lập tức nếu Lint error > 0, Type error > 0, hoặc Coverage < 80% (40đ)
|
|
13
|
+
|
|
14
|
+
- id: quantitative_eval_execution
|
|
15
|
+
name: Đánh giá định lượng AI (Eval Pipeline)
|
|
16
|
+
description: Có đọc và áp dụng scorecard.yaml để chấm điểm AI agent output không?
|
|
17
|
+
weight: 35
|
|
18
|
+
criteria:
|
|
19
|
+
- Áp dụng rubric để chấm điểm và từ chối kết quả nếu tổng điểm < Threshold (35đ)
|
|
20
|
+
|
|
21
|
+
- id: trace_verification
|
|
22
|
+
name: Xác minh Trace (Zero Hallucination)
|
|
23
|
+
description: Có đối chiếu kết quả với file log traces thực tế không?
|
|
24
|
+
weight: 25
|
|
25
|
+
criteria:
|
|
26
|
+
- Bắt buộc kiểm tra dấu vết (traces) thực thi để đảm bảo AI không tự bịa ra kết quả test (25đ)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
# ── Identity ───────────────────────────────────────────────
|
|
3
3
|
name: qk-web-quality-gate
|
|
4
|
-
version: 8.1
|
|
4
|
+
version: 8.3.1
|
|
5
5
|
status: experimental
|
|
6
6
|
description: "Kiểm toán tổng thể chất lượng Web: Accessibility (A11y), SEO, Web Performance, Security, UX Heuristics."
|
|
7
7
|
platforms: [antigravity, claude-code, cursor, windsurf, kilo-code]
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Auto-generated from SKILL.md frontmatter
|
|
2
|
+
schema_version: 1
|
|
3
|
+
id: "qk-web-quality-gate"
|
|
4
|
+
version: "8.3.1"
|
|
5
|
+
description: "Kiểm toán tổng thể chất lượng Web: Accessibility (A11y), SEO, Web Performance, Security, UX Heuristics."
|
|
6
|
+
tools:
|
|
7
|
+
- "filesystem"
|
|
8
|
+
- "terminal"
|
|
9
|
+
knowledge:
|
|
10
|
+
owns:
|
|
11
|
+
- "qk-web-quality-gate"
|
|
12
|
+
references:
|
|
13
|
+
- "architecture"
|
|
14
|
+
eval:
|
|
15
|
+
scorecard: "evals/scorecard.yaml"
|
|
16
|
+
decision_boundary:
|
|
17
|
+
owns:
|
|
18
|
+
- "lighthouse audit"
|
|
19
|
+
- "accessibility review"
|
|
20
|
+
- "performance audit"
|
|
21
|
+
- "seo audit"
|
|
22
|
+
does_not_own:
|
|
23
|
+
- "ui component implementation"
|
|
24
|
+
conflicts_with: []
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
name: qk-web-quality-gate-eval
|
|
2
|
+
description: Đánh giá chất lượng tổng thể của Web (Performance, SEO, A11y, UX)
|
|
3
|
+
version: 8.3.1
|
|
4
|
+
threshold: 85 # Đảm bảo đo lường đầy đủ 4 trục chất lượng của ứng dụng Web
|
|
5
|
+
|
|
6
|
+
metrics:
|
|
7
|
+
- id: core_web_vitals_focus
|
|
8
|
+
name: Phân tích Core Web Vitals
|
|
9
|
+
description: Có đánh giá đúng các chỉ số ảnh hưởng đến trải nghiệm (LCP, CLS, INP) không?
|
|
10
|
+
weight: 40
|
|
11
|
+
criteria:
|
|
12
|
+
- Báo cáo rõ ràng về kích thước Bundle, chiến lược Lazy loading và tối ưu hình ảnh (40đ)
|
|
13
|
+
|
|
14
|
+
- id: seo_and_accessibility
|
|
15
|
+
name: Kiểm tra SEO & A11y
|
|
16
|
+
description: Web có thân thiện với bot tìm kiếm và người khuyết tật không?
|
|
17
|
+
weight: 35
|
|
18
|
+
criteria:
|
|
19
|
+
- Quét Semantic HTML, Meta tags, và các rào cản truy cập ARIA (35đ)
|
|
20
|
+
|
|
21
|
+
- id: actionable_recommendations
|
|
22
|
+
name: Khuyến nghị thực tiễn (Actionable)
|
|
23
|
+
description: Các đề xuất tối ưu có khả thi để lập trình viên thực hiện ngay không?
|
|
24
|
+
weight: 25
|
|
25
|
+
criteria:
|
|
26
|
+
- Không chỉ ra lỗi chung chung mà chỉ định rõ cách fix (vd: "Thêm loading='lazy' vào thẻ img dòng 15") (25đ)
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
name: production-release
|
|
2
|
+
version: 8.0.0
|
|
3
|
+
description: "Chuẩn bị release production với 8-gate checklist bắt buộc — không pass gate = không deploy."
|
|
4
|
+
|
|
5
|
+
owner:
|
|
6
|
+
type: engineering
|
|
7
|
+
maintained_by: qk-team
|
|
8
|
+
|
|
9
|
+
verification_profile: release-safety
|
|
10
|
+
|
|
11
|
+
triggers:
|
|
12
|
+
- "release production"
|
|
13
|
+
- "deploy production"
|
|
14
|
+
- "chuẩn bị release"
|
|
15
|
+
- "kiểm tra release"
|
|
16
|
+
|
|
17
|
+
ide_binding:
|
|
18
|
+
slash_command: "/release"
|
|
19
|
+
aliases: ["/deploy", "/prod-release"]
|
|
20
|
+
|
|
21
|
+
steps:
|
|
22
|
+
- id: gate_1_validation
|
|
23
|
+
name: "Gate 1: Validation Gate"
|
|
24
|
+
purpose: "Đảm bảo qk-validation-gate đã pass trước khi release"
|
|
25
|
+
required: true
|
|
26
|
+
skip_if: null
|
|
27
|
+
inputs: []
|
|
28
|
+
outputs:
|
|
29
|
+
- validation_result
|
|
30
|
+
actions:
|
|
31
|
+
- "Chạy npm run test:registry"
|
|
32
|
+
- "Chạy npm run lint"
|
|
33
|
+
- "Chạy npm run test:agent"
|
|
34
|
+
- "Chạy npm run test:graph"
|
|
35
|
+
exit_on_fail: FAILED
|
|
36
|
+
human_checkpoint:
|
|
37
|
+
condition: "any validation gate fails"
|
|
38
|
+
message: "Validation gate thất bại. Fix trước khi tiếp tục."
|
|
39
|
+
|
|
40
|
+
- id: gate_2_capability
|
|
41
|
+
name: "Gate 2: Capability Integrity"
|
|
42
|
+
purpose: "Kiểm tra tất cả capability.yaml hợp lệ và không trùng lặp"
|
|
43
|
+
required: true
|
|
44
|
+
skip_if: null
|
|
45
|
+
inputs: []
|
|
46
|
+
outputs:
|
|
47
|
+
- capability_check
|
|
48
|
+
actions:
|
|
49
|
+
- "Validate tất cả capability.yaml files có schema_version: 1"
|
|
50
|
+
- "Kiểm tra không có capability.yaml trùng id"
|
|
51
|
+
- "Verify mỗi skill có SKILL.md tương ứng"
|
|
52
|
+
- "Verify mỗi SKILL.md có capability.yaml tương ứng"
|
|
53
|
+
exit_on_fail: FAILED
|
|
54
|
+
human_checkpoint:
|
|
55
|
+
condition: "capability.yaml missing or invalid"
|
|
56
|
+
message: "Một số capability.yaml bị thiếu hoặc không hợp lệ."
|
|
57
|
+
|
|
58
|
+
- id: gate_3_registry
|
|
59
|
+
name: "Gate 3: Registry Consistency"
|
|
60
|
+
purpose: "Kiểm tra registry files nhất quán với filesystem"
|
|
61
|
+
required: true
|
|
62
|
+
skip_if: null
|
|
63
|
+
inputs: []
|
|
64
|
+
outputs:
|
|
65
|
+
- registry_check
|
|
66
|
+
actions:
|
|
67
|
+
- "Chạy node tooling/build-registry.js"
|
|
68
|
+
- "So sánh index.yaml với filesystem实际"
|
|
69
|
+
- "Kiểm tra graph.json không có cycles"
|
|
70
|
+
- "Kiểm tra không có orphan nodes"
|
|
71
|
+
exit_on_fail: FAILED
|
|
72
|
+
human_checkpoint:
|
|
73
|
+
condition: "registry inconsistency detected"
|
|
74
|
+
message: "Registry không nhất quán với filesystem."
|
|
75
|
+
|
|
76
|
+
- id: gate_4_workflows
|
|
77
|
+
name: "Gate 4: Workflow Validation"
|
|
78
|
+
purpose: "Kiểm tra tất cả workflow files hợp lệ"
|
|
79
|
+
required: true
|
|
80
|
+
skip_if: null
|
|
81
|
+
inputs: []
|
|
82
|
+
outputs:
|
|
83
|
+
- workflow_check
|
|
84
|
+
actions:
|
|
85
|
+
- "Validate tất cả workflow YAML files có schema hợp lệ"
|
|
86
|
+
- "Kiểm tra mỗi workflow có steps, triggers, exit_codes"
|
|
87
|
+
- "Verify mỗi skill reference workflow tồn tại"
|
|
88
|
+
- "Kiểm tra không có workflow reference đến internal"
|
|
89
|
+
exit_on_fail: FAILED
|
|
90
|
+
human_checkpoint:
|
|
91
|
+
condition: "workflow validation fails"
|
|
92
|
+
message: "Một hoặc nhiều workflow không hợp lệ."
|
|
93
|
+
|
|
94
|
+
- id: gate_5_security
|
|
95
|
+
name: "Gate 5: Security Scan"
|
|
96
|
+
purpose: "Quét bảo mật trước khi release"
|
|
97
|
+
required: true
|
|
98
|
+
skip_if: null
|
|
99
|
+
inputs: []
|
|
100
|
+
outputs:
|
|
101
|
+
- security_report
|
|
102
|
+
actions:
|
|
103
|
+
- "Chạy npm audit --production"
|
|
104
|
+
- "grep_search cho secrets, tokens, API keys trong code"
|
|
105
|
+
- "Kiểm tra không có hardcoded credentials"
|
|
106
|
+
- "Verify .env files không bị commit"
|
|
107
|
+
exit_on_fail: FAILED
|
|
108
|
+
human_checkpoint:
|
|
109
|
+
condition: "critical or high security issues found"
|
|
110
|
+
message: "Có vấn đề bảo mật nghiêm trọng. Cần fix trước khi release."
|
|
111
|
+
|
|
112
|
+
- id: gate_6_size
|
|
113
|
+
name: "Gate 6: Bundle & Size Check"
|
|
114
|
+
purpose: "Kiểm tra kích thước bundle và dependencies"
|
|
115
|
+
required: true
|
|
116
|
+
skip_if: null
|
|
117
|
+
inputs: []
|
|
118
|
+
outputs:
|
|
119
|
+
- size_report
|
|
120
|
+
actions:
|
|
121
|
+
- "Chạy npm run build (production mode)"
|
|
122
|
+
- "Kiểm tra bundle size trong giới hạn"
|
|
123
|
+
- "Kiểm tra không có devDependencies trong production"
|
|
124
|
+
- "Verify tree-shaking hoạt động đúng"
|
|
125
|
+
exit_on_fail: FAILED
|
|
126
|
+
human_checkpoint:
|
|
127
|
+
condition: "bundle size exceeds limit"
|
|
128
|
+
message: "Bundle size vượt hạn chế. Cần tối ưu trước khi deploy."
|
|
129
|
+
|
|
130
|
+
- id: gate_7_changelog
|
|
131
|
+
name: "Gate 7: Changelog & Documentation"
|
|
132
|
+
purpose: "Kiểm tra CHANGELOG.md và documentation đã cập nhật"
|
|
133
|
+
required: true
|
|
134
|
+
skip_if: null
|
|
135
|
+
inputs: []
|
|
136
|
+
outputs:
|
|
137
|
+
- docs_check
|
|
138
|
+
actions:
|
|
139
|
+
- "Kiểm tra CHANGELOG.md có entry cho version này"
|
|
140
|
+
- "Verify README.md phản ánh đúng capabilities hiện tại"
|
|
141
|
+
- "Kiểm tra SKILL.md descriptions không bị encoding issues"
|
|
142
|
+
- "Verify capability.yaml descriptions chính xác"
|
|
143
|
+
exit_on_fail: PARTIAL
|
|
144
|
+
human_checkpoint:
|
|
145
|
+
condition: "changelog missing or docs outdated"
|
|
146
|
+
message: "CHANGELOG hoặc documentation chưa cập nhật. Cần fix trước khi release."
|
|
147
|
+
|
|
148
|
+
- id: gate_8_report
|
|
149
|
+
name: "Gate 8: Release Report"
|
|
150
|
+
purpose: "Tạo báo cáo release có signed kết quả tất cả gates"
|
|
151
|
+
required: true
|
|
152
|
+
skip_if: null
|
|
153
|
+
inputs:
|
|
154
|
+
- validation_result
|
|
155
|
+
- capability_check
|
|
156
|
+
- registry_check
|
|
157
|
+
- workflow_check
|
|
158
|
+
- security_report
|
|
159
|
+
- size_report
|
|
160
|
+
- docs_check
|
|
161
|
+
outputs:
|
|
162
|
+
- release_report
|
|
163
|
+
actions:
|
|
164
|
+
- "Tổng hợp tất cả gate results"
|
|
165
|
+
- "Generate structured release report"
|
|
166
|
+
- "Include evidence format cho mỗi gate"
|
|
167
|
+
- "Record exit code và timestamp"
|
|
168
|
+
- "Sign report với qk-team key"
|
|
169
|
+
exit_on_fail: FAILED
|
|
170
|
+
|
|
171
|
+
escalation:
|
|
172
|
+
max_retries: 1
|
|
173
|
+
on_failure: "Report which gates failed and exact fix required. Do NOT deploy."
|
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
|
package/bin/install.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ai-developer-skill-os",
|
|
3
|
-
"version": "8.3.
|
|
3
|
+
"version": "8.3.1",
|
|
4
4
|
"description": "EDAOS v8.3 — Governed Capability Metadata & Eval Platform: Blueprints organize, manifests govern, registries accelerate.",
|
|
5
5
|
"main": "bin/install.js",
|
|
6
6
|
"files": [
|
|
@@ -26,6 +26,8 @@
|
|
|
26
26
|
"test:registry": "vitest run && node tooling/build-registry.js",
|
|
27
27
|
"test:graph": "node tooling/validate-graph.js",
|
|
28
28
|
"lint": "node bin/lint.js",
|
|
29
|
+
"eval": "node evals/runner.js",
|
|
30
|
+
"eval:all": "node evals/runner.js --all",
|
|
29
31
|
"test:agent": "node tests/agent-evaluation/runner/evaluate-routing.js",
|
|
30
32
|
"generate:evaluation": "node tooling/generate-evaluation-cases.cjs",
|
|
31
33
|
"install:antigravity": "node bin/install.js --ide=antigravity --scope=2",
|