ai-developer-skill-os 10.1.0 → 10.2.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.
- package/.agents/AGENTS.md +13 -0
- package/.agents/LICENSE +21 -21
- package/.agents/docs/ARCHITECTURE.md +56 -120
- package/.agents/docs/GOVERNANCE.md +3 -3
- package/.agents/docs/SPEC.md +137 -60
- package/.agents/docs/VERSIONING.md +25 -57
- package/.agents/docs/adr/0005-v10-platform-consolidation.md +50 -0
- package/.agents/docs/schemas/learning.schema.yml +22 -57
- package/.agents/docs/schemas/skill.schema.yml +116 -161
- package/.agents/docs/schemas/workflow.schema.yml +51 -26
- package/.agents/docs/skill-classification.md +1 -1
- package/.agents/registry/graph.json +171 -77
- package/.agents/registry/index.yaml +68 -35
- package/.agents/rules/coding.md +1 -1
- package/.agents/rules/command-safety.md +1 -1
- package/.agents/rules/global.md +1 -1
- package/.agents/rules/prompt-compiler.md +1 -1
- package/.agents/rules/safety.md +1 -1
- package/.agents/rules/security.md +1 -1
- package/.agents/rules/skill-quality.md +18 -3
- package/.agents/skills/_template/SKILL.md +238 -88
- package/.agents/skills/qk-api-data-discovery/SKILL.md +176 -190
- package/.agents/skills/qk-api-data-discovery/references/bronze-record-format.md +47 -0
- package/.agents/skills/qk-api-data-discovery/references/data-contract-yaml.md +72 -0
- package/.agents/skills/qk-api-data-discovery/references/discovery-report-template.md +110 -0
- package/.agents/skills/qk-backend-data/SKILL.md +150 -1
- package/.agents/skills/qk-bug-resolution/SKILL.md +153 -1
- package/.agents/skills/qk-bug-resolution/evals/scorecard.yaml +1 -1
- package/.agents/skills/qk-code-cleaner/SKILL.md +150 -1
- package/.agents/skills/qk-code-review/SKILL.md +195 -1
- package/.agents/skills/qk-code-review/evals/scorecard.yaml +1 -1
- package/.agents/skills/qk-code-review/references/ai/{v8-schema-validation.md → schema-validation.md} +2 -2
- package/.agents/skills/qk-code-review/references/cross-cutting/async-concurrency-patterns.md +515 -515
- package/.agents/skills/qk-code-review/references/cross-cutting/error-handling-principles.md +492 -492
- package/.agents/skills/qk-code-review/references/cross-cutting/n-plus-one-queries.md +309 -309
- package/.agents/skills/qk-code-review/references/cross-cutting/sql-injection-prevention.md +307 -307
- package/.agents/skills/qk-code-review/references/cross-cutting/xss-prevention.md +263 -263
- package/.agents/skills/qk-code-review/references/languages/angular.md +768 -768
- package/.agents/skills/qk-code-review/references/languages/c.md +890 -890
- package/.agents/skills/qk-code-review/references/languages/cpp.md +893 -893
- package/.agents/skills/qk-code-review/references/languages/css-less-sass.md +661 -661
- package/.agents/skills/qk-code-review/references/languages/django.md +985 -985
- package/.agents/skills/qk-code-review/references/languages/fastapi.md +580 -580
- package/.agents/skills/qk-code-review/references/languages/go.md +993 -993
- package/.agents/skills/qk-code-review/references/languages/java.md +409 -409
- package/.agents/skills/qk-code-review/references/languages/java8.md +586 -586
- package/.agents/skills/qk-code-review/references/languages/kotlin.md +1018 -1018
- package/.agents/skills/qk-code-review/references/languages/nestjs.md +593 -593
- package/.agents/skills/qk-code-review/references/languages/php.md +684 -684
- package/.agents/skills/qk-code-review/references/languages/python.md +1073 -1073
- package/.agents/skills/qk-code-review/references/languages/qt.md +757 -757
- package/.agents/skills/qk-code-review/references/languages/react.md +871 -871
- package/.agents/skills/qk-code-review/references/languages/ruby.md +964 -964
- package/.agents/skills/qk-code-review/references/languages/rust.md +846 -846
- package/.agents/skills/qk-code-review/references/languages/svelte.md +1064 -1064
- package/.agents/skills/qk-code-review/references/languages/swift.md +936 -936
- package/.agents/skills/qk-code-review/references/languages/typescript.md +1016 -1016
- package/.agents/skills/qk-code-review/references/languages/vue.md +924 -924
- package/.agents/skills/qk-code-review/references/languages/zig.md +440 -440
- package/.agents/skills/qk-devops-release/SKILL.md +150 -1
- package/.agents/skills/qk-feature-delivery/SKILL.md +153 -1
- package/.agents/skills/qk-feature-delivery/evals/scorecard.yaml +1 -1
- package/.agents/skills/qk-orchestrator/SKILL.md +187 -2
- package/.agents/skills/qk-orchestrator/evals/scorecard.yaml +1 -1
- package/.agents/skills/qk-orchestrator/references/routing-table.md +1 -1
- package/.agents/skills/qk-product-spec/SKILL.md +150 -1
- package/.agents/skills/qk-prompt-compiler/SKILL.md +188 -65
- package/.agents/skills/qk-ui-engineer/SKILL.md +150 -1
- package/.agents/workflows/_schema.yml +146 -146
- package/.agents/workflows/bug-resolution.yml +155 -121
- package/.agents/workflows/code-review.yml +127 -93
- package/.agents/workflows/context-discovery.yml +128 -94
- package/.agents/workflows/documentation.yml +124 -90
- package/.agents/workflows/feature-delivery.yml +158 -124
- package/.agents/workflows/production-release.yml +207 -173
- package/.agents/workflows/prompt-compilation.yml +126 -0
- package/.agents/workflows/refactor.yml +136 -102
- package/.agents/workflows/security-audit.yml +149 -115
- package/.agents/workflows/shared/quality-gate.yml +3 -1
- package/.agents/workflows/skin-governance.yml +149 -115
- package/.agents/workflows/spec-driven-development.yml +78 -71
- package/CHANGELOG.md +61 -0
- package/README.md +3 -3
- package/bin/install.js +38 -51
- package/package.json +68 -74
- package/tooling/build-registry.js +226 -208
- package/tooling/run-aar.js +55 -126
- package/tooling/sync-versions.js +2 -2
- package/tooling/validate-graph.js +100 -87
- package/tooling/validate-skills.js +32 -14
- package/.agents/docs/decisions/ADR-001-v8-migration.md +0 -58
- package/.agents/docs/decisions/ADR-002-workflow-separation.md +0 -50
- package/.agents/docs/decisions/ADR-003-registry-generated.md +0 -54
- package/.agents/docs/decisions/ADR-008-skill-boundary-review.md +0 -27
- package/.agents/registry/capability-graph.yml +0 -390
- package/.agents/registry/skills-index.yml +0 -305
- package/.agents/skills/_template/capability.yaml +0 -34
- package/.agents/skills/_template/evals/scorecard.yaml +0 -19
|
@@ -1,115 +1,149 @@
|
|
|
1
|
-
name: skin-governance
|
|
2
|
-
version:
|
|
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
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
-
|
|
51
|
-
|
|
52
|
-
- "
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
-
|
|
63
|
-
|
|
64
|
-
-
|
|
65
|
-
|
|
66
|
-
- "
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
-
|
|
77
|
-
|
|
78
|
-
-
|
|
79
|
-
|
|
80
|
-
- "
|
|
81
|
-
- "Cập nhật
|
|
82
|
-
- "
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
-
|
|
95
|
-
|
|
96
|
-
-
|
|
97
|
-
|
|
98
|
-
- "
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
-
|
|
108
|
-
|
|
109
|
-
-
|
|
110
|
-
|
|
111
|
-
- "
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
1
|
+
name: skin-governance
|
|
2
|
+
version: 10.2.0
|
|
3
|
+
platforms: [antigravity, claude, opencode]
|
|
4
|
+
runtime_version: 1
|
|
5
|
+
description: "Workflow tối ưu hóa, kiểm định và nâng cấp AI Skin — observe usage, measure success, improve, validate, promote."
|
|
6
|
+
|
|
7
|
+
owner:
|
|
8
|
+
type: engineering
|
|
9
|
+
maintained_by: qk-team
|
|
10
|
+
|
|
11
|
+
verification_profile: skill-evolution
|
|
12
|
+
|
|
13
|
+
triggers:
|
|
14
|
+
- "improve this skill"
|
|
15
|
+
- "tối ưu skill"
|
|
16
|
+
- "why does this skill keep failing"
|
|
17
|
+
- "optimize this workflow"
|
|
18
|
+
- "phân tích usage skill"
|
|
19
|
+
- "nâng cấp skin"
|
|
20
|
+
- "skin governance"
|
|
21
|
+
|
|
22
|
+
ide_binding:
|
|
23
|
+
slash_command: "/skin-tune"
|
|
24
|
+
aliases: ["/evolve-skill", "/skin-governance"]
|
|
25
|
+
|
|
26
|
+
steps:
|
|
27
|
+
- id: observe_usage
|
|
28
|
+
name: "Observe Usage"
|
|
29
|
+
purpose: "Thống kê cách skill được gọi, token consumed, exit codes phân bổ"
|
|
30
|
+
required: true
|
|
31
|
+
inputs:
|
|
32
|
+
- skill_logs
|
|
33
|
+
- evals_traces
|
|
34
|
+
outputs:
|
|
35
|
+
- usage_metrics # trigger_rate, avg_tokens, exit_distribution
|
|
36
|
+
actions:
|
|
37
|
+
- "Đọc evals/traces/ của skill target"
|
|
38
|
+
- "Thống kê trigger rate và token usage per exit code"
|
|
39
|
+
- "Phát hiện pattern gọi sai skill (routing error)"
|
|
40
|
+
|
|
41
|
+
- id: measure_success
|
|
42
|
+
name: "Measure Success Rate"
|
|
43
|
+
purpose: "Đánh giá chất lượng thực thi theo scorecard"
|
|
44
|
+
required: true
|
|
45
|
+
inputs:
|
|
46
|
+
- usage_metrics
|
|
47
|
+
- scorecard_yaml
|
|
48
|
+
outputs:
|
|
49
|
+
- success_rate # % SUCCESS / total runs
|
|
50
|
+
- weak_areas # Steps hay fail nhất
|
|
51
|
+
actions:
|
|
52
|
+
- "Tính SUCCESS / FAILED / PARTIAL / BLOCKED ratio"
|
|
53
|
+
- "Xác định bước nào trong workflow hay bị BLOCKED nhất"
|
|
54
|
+
- "So sánh với threshold trong scorecard.yaml"
|
|
55
|
+
|
|
56
|
+
- id: detect_failure
|
|
57
|
+
name: "Detect Failure Patterns"
|
|
58
|
+
purpose: "Tìm root cause của các lần fail — không đoán mò"
|
|
59
|
+
required: true
|
|
60
|
+
inputs:
|
|
61
|
+
- execution_results
|
|
62
|
+
- evals_traces
|
|
63
|
+
outputs:
|
|
64
|
+
- failure_patterns # Categorized: ambiguous_input | hallucination | budget_overrun | wrong_routing
|
|
65
|
+
actions:
|
|
66
|
+
- "Phân loại lỗi: ambiguous_input / hallucination / budget_overrun / wrong_routing"
|
|
67
|
+
- "Tìm ví dụ cụ thể từ traces"
|
|
68
|
+
- "Ghi root cause evidence cho từng category"
|
|
69
|
+
|
|
70
|
+
- id: improve_skill
|
|
71
|
+
name: "Propose Improvement"
|
|
72
|
+
purpose: "Đề xuất thay đổi cụ thể — không thay đổi ngầm"
|
|
73
|
+
required: true
|
|
74
|
+
inputs:
|
|
75
|
+
- failure_patterns
|
|
76
|
+
- skill_body
|
|
77
|
+
outputs:
|
|
78
|
+
- improvement_proposal # Diff: what to add/remove/change + reason
|
|
79
|
+
actions:
|
|
80
|
+
- "Giảm noise trong instruction (xóa rule không được enforce)"
|
|
81
|
+
- "Cập nhật examples với case thực tế từ traces"
|
|
82
|
+
- "Tinh chỉnh token_budget nếu hay bị overrun"
|
|
83
|
+
- "Cập nhật triggers nếu routing hay sai"
|
|
84
|
+
- "KHÔNG tự sửa — trả proposal để human review"
|
|
85
|
+
human_checkpoint:
|
|
86
|
+
condition: always
|
|
87
|
+
message: "Review improvement proposal trước khi apply vào SKILL.md"
|
|
88
|
+
|
|
89
|
+
- id: validate
|
|
90
|
+
name: "Validate Proposal"
|
|
91
|
+
purpose: "Đảm bảo bản cải tiến không vi phạm governance rules"
|
|
92
|
+
required: true
|
|
93
|
+
inputs:
|
|
94
|
+
- improvement_proposal
|
|
95
|
+
outputs:
|
|
96
|
+
- validation_result # PASS | FAIL với lý do
|
|
97
|
+
actions:
|
|
98
|
+
- "Kiểm tra schema compliance (SPEC.md frontmatter)"
|
|
99
|
+
- "Đảm bảo không tạo scope overlap với skill khác"
|
|
100
|
+
- "Verify triggers không trùng skill khác trong routing table"
|
|
101
|
+
|
|
102
|
+
- id: promote
|
|
103
|
+
name: "Promote to Stable"
|
|
104
|
+
purpose: "Đưa bản cải tiến vào production sau khi đã validate"
|
|
105
|
+
required: true
|
|
106
|
+
inputs:
|
|
107
|
+
- validation_result
|
|
108
|
+
outputs:
|
|
109
|
+
- promoted_skill # version bumped SKILL.md
|
|
110
|
+
actions:
|
|
111
|
+
- "Bump patch version (10.2.x → 10.2.x+1)"
|
|
112
|
+
- "Cập nhật registry: node tooling/build-registry.js"
|
|
113
|
+
- "Ghi changelog entry"
|
|
114
|
+
|
|
115
|
+
escalation:
|
|
116
|
+
max_retries: 1
|
|
117
|
+
on_failure: "Hủy bỏ bản cải tiến, giữ nguyên version hiện tại, ghi failure reason"
|
|
118
|
+
|
|
119
|
+
# ── V10.2 Additions ──────────────────────────────
|
|
120
|
+
# Confidence Model
|
|
121
|
+
# | Level | Condition | Action |
|
|
122
|
+
# |--------|------------------------|--------------|
|
|
123
|
+
# | HIGH | Step inputs provided | Proceed |
|
|
124
|
+
# | MEDIUM | Some assumptions needed | Note assumptions |
|
|
125
|
+
# | LOW | Insufficient evidence | EXIT: BLOCKED|
|
|
126
|
+
#
|
|
127
|
+
# Exit Codes
|
|
128
|
+
# | Code | Meaning | When |
|
|
129
|
+
# |---------|-------------------------------|-------------------------|
|
|
130
|
+
# | SUCCESS | Step completed and verified | All criteria met |
|
|
131
|
+
# | PARTIAL | Step done with minor gaps | Some checks skipped |
|
|
132
|
+
# | BLOCKED | Missing precondition | Ask user |
|
|
133
|
+
# | FAILED | Step failed after max retries | Report error |
|
|
134
|
+
#
|
|
135
|
+
# Evidence Format:
|
|
136
|
+
# [SEVERITY] step_id: [step-name]
|
|
137
|
+
# Reason: [why this matters]
|
|
138
|
+
# Confidence: [HIGH|MEDIUM|LOW]
|
|
139
|
+
# Fix: [suggestion]
|
|
140
|
+
#
|
|
141
|
+
# Compliance:
|
|
142
|
+
# Runtime Standard: 11/11
|
|
143
|
+
# Frontmatter Complete: yes
|
|
144
|
+
# References Valid: yes
|
|
145
|
+
# Decision Trees: PASS
|
|
146
|
+
# Thresholds Defined: PASS
|
|
147
|
+
# schema_version: 10.2.0
|
|
148
|
+
# runtime_version: 1
|
|
149
|
+
# platforms: [antigravity, claude, opencode]
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
name: spec-driven-development
|
|
2
|
-
version:
|
|
3
|
-
|
|
2
|
+
version: 10.2.0
|
|
3
|
+
platforms: [antigravity, claude, opencode]
|
|
4
|
+
runtime_version: 1
|
|
5
|
+
description: "Pipeline phát triển dựa trên đặc tả: Requirement → Acceptance Criteria → Technical Spec → Implementation."
|
|
4
6
|
|
|
5
7
|
owner:
|
|
6
8
|
type: engineering
|
|
@@ -9,101 +11,106 @@ owner:
|
|
|
9
11
|
verification_profile: spec-driven
|
|
10
12
|
|
|
11
13
|
triggers:
|
|
12
|
-
- "
|
|
13
|
-
- "viết
|
|
14
|
-
- "spec this out"
|
|
14
|
+
- "viết spec"
|
|
15
|
+
- "viết prd"
|
|
15
16
|
- "acceptance criteria"
|
|
16
|
-
- "
|
|
17
|
-
- "technical spec"
|
|
18
|
-
- "user story"
|
|
19
|
-
- "design before implementing"
|
|
17
|
+
- "bdd"
|
|
20
18
|
|
|
21
19
|
ide_binding:
|
|
22
20
|
slash_command: "/spec"
|
|
23
|
-
aliases: ["/
|
|
21
|
+
aliases: ["/prd", "/specify"]
|
|
24
22
|
|
|
25
23
|
steps:
|
|
26
|
-
- id:
|
|
27
|
-
name: "
|
|
28
|
-
purpose: "
|
|
24
|
+
- id: triage
|
|
25
|
+
name: "Triage & Clarify"
|
|
26
|
+
purpose: "Xác định quy mô task và kích hoạt /grill-me nếu thiếu thông tin"
|
|
29
27
|
required: true
|
|
30
|
-
inputs:
|
|
31
|
-
- user_idea
|
|
32
|
-
- dev_profile
|
|
33
28
|
outputs:
|
|
34
|
-
-
|
|
35
|
-
-
|
|
36
|
-
- scope_boundary # In-scope vs Out-of-scope rõ ràng
|
|
29
|
+
- task_scale
|
|
30
|
+
- clarity_level
|
|
37
31
|
actions:
|
|
38
|
-
- "
|
|
39
|
-
- "
|
|
40
|
-
- "Vạch rõ ranh giới: Làm gì (In-scope) và KHÔNG làm gì (Out-of-scope)"
|
|
41
|
-
exit_on_fail: BLOCKED
|
|
32
|
+
- "Xác định Nhỏ/Vừa/Lớn"
|
|
33
|
+
- "Kích hoạt /grill-me nếu thiếu thông tin"
|
|
42
34
|
|
|
43
|
-
- id:
|
|
44
|
-
name: "
|
|
45
|
-
purpose: "
|
|
35
|
+
- id: gap_scan
|
|
36
|
+
name: "Codebase Gap Scan"
|
|
37
|
+
purpose: "Đối chiếu models & APIs hiện có để đánh giá khả thi"
|
|
46
38
|
required: true
|
|
47
|
-
inputs:
|
|
48
|
-
- problem_statement
|
|
49
|
-
- target_actors
|
|
50
|
-
- scope_boundary
|
|
51
39
|
outputs:
|
|
52
|
-
-
|
|
53
|
-
-
|
|
40
|
+
- reusable_components
|
|
41
|
+
- new_requirements
|
|
54
42
|
actions:
|
|
55
|
-
- "
|
|
56
|
-
- "
|
|
57
|
-
- "Xác định rõ HTTP status code mong đợi cho từng kịch bản lỗi"
|
|
43
|
+
- "Quét codebase cho models, APIs hiện có"
|
|
44
|
+
- "Xác định Gap Analysis"
|
|
58
45
|
|
|
59
|
-
- id:
|
|
60
|
-
name: "
|
|
61
|
-
purpose: "
|
|
46
|
+
- id: bdd_write
|
|
47
|
+
name: "BDD Spec Writing"
|
|
48
|
+
purpose: "Viết Acceptance Criteria chuẩn Gherkin"
|
|
62
49
|
required: true
|
|
63
|
-
inputs:
|
|
64
|
-
- criteria_matrix
|
|
65
|
-
- edge_cases
|
|
66
50
|
outputs:
|
|
67
|
-
-
|
|
68
|
-
-
|
|
69
|
-
- architecture_diagram # Sơ đồ luồng ASCII Unicode Box Drawing
|
|
51
|
+
- bdd_scenarios
|
|
52
|
+
- acceptance_criteria
|
|
70
53
|
actions:
|
|
71
|
-
- "
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
54
|
+
- "Viết Given/When/Then cho Happy Path + Edge Cases"
|
|
55
|
+
human_checkpoint:
|
|
56
|
+
condition: "Task scale = Lớn"
|
|
57
|
+
message: "Feature lớn. Xác nhận BDD spec trước khi tiếp tục."
|
|
75
58
|
|
|
76
|
-
- id:
|
|
77
|
-
name: "
|
|
78
|
-
purpose: "
|
|
59
|
+
- id: plan
|
|
60
|
+
name: "Implementation Plan"
|
|
61
|
+
purpose: "Tạo implementation_plan.md và kích hoạt modal"
|
|
79
62
|
required: true
|
|
80
|
-
inputs:
|
|
81
|
-
- technical_specification
|
|
82
63
|
outputs:
|
|
83
|
-
-
|
|
64
|
+
- implementation_plan_path
|
|
84
65
|
actions:
|
|
85
|
-
- "
|
|
86
|
-
- "Ước lượng rủi ro và blast radius cho từng file"
|
|
87
|
-
- "Trên Antigravity IDE: Tạo implementation_plan.md kèm RequestFeedback: true để kích hoạt Modal phê duyệt"
|
|
66
|
+
- "Tạo implementation_plan.md với RequestFeedback: true"
|
|
88
67
|
human_checkpoint:
|
|
89
|
-
condition: "
|
|
90
|
-
message: "
|
|
68
|
+
condition: "Always"
|
|
69
|
+
message: "Review implementation_plan trước khi code."
|
|
91
70
|
|
|
92
|
-
- id:
|
|
93
|
-
name: "
|
|
94
|
-
purpose: "
|
|
71
|
+
- id: verify
|
|
72
|
+
name: "Verify Against Spec"
|
|
73
|
+
purpose: "Xác nhận implementation match spec"
|
|
95
74
|
required: true
|
|
96
|
-
inputs:
|
|
97
|
-
- source_code
|
|
98
|
-
- criteria_matrix
|
|
99
75
|
outputs:
|
|
100
|
-
-
|
|
76
|
+
- spec_compliance
|
|
101
77
|
actions:
|
|
102
|
-
- "
|
|
103
|
-
- "
|
|
104
|
-
- "Không cho phép đóng task nếu còn bất kỳ acceptance criterion nào chưa thỏa mãn"
|
|
78
|
+
- "Đối chiếu từng acceptance criteria"
|
|
79
|
+
- "Verify edge cases covered"
|
|
105
80
|
exit_on_fail: PARTIAL
|
|
106
81
|
|
|
107
82
|
escalation:
|
|
108
|
-
max_retries:
|
|
109
|
-
on_failure: "
|
|
83
|
+
max_retries: 1
|
|
84
|
+
on_failure: "Report spec compliance gaps and ask user to update spec"
|
|
85
|
+
|
|
86
|
+
# ── V10.2 Additions ──────────────────────────────
|
|
87
|
+
# Confidence Model
|
|
88
|
+
# | Level | Condition | Action |
|
|
89
|
+
# |--------|------------------------|--------------|
|
|
90
|
+
# | HIGH | Step inputs provided | Proceed |
|
|
91
|
+
# | MEDIUM | Some assumptions needed | Note assumptions |
|
|
92
|
+
# | LOW | Insufficient evidence | EXIT: BLOCKED|
|
|
93
|
+
#
|
|
94
|
+
# Exit Codes
|
|
95
|
+
# | Code | Meaning | When |
|
|
96
|
+
# |---------|-------------------------------|-------------------------|
|
|
97
|
+
# | SUCCESS | Step completed and verified | All criteria met |
|
|
98
|
+
# | PARTIAL | Step done with minor gaps | Some checks skipped |
|
|
99
|
+
# | BLOCKED | Missing precondition | Ask user |
|
|
100
|
+
# | FAILED | Step failed after max retries | Report error |
|
|
101
|
+
#
|
|
102
|
+
# Evidence Format:
|
|
103
|
+
# [SEVERITY] step_id: [step-name]
|
|
104
|
+
# Reason: [why this matters]
|
|
105
|
+
# Confidence: [HIGH|MEDIUM|LOW]
|
|
106
|
+
# Fix: [suggestion]
|
|
107
|
+
#
|
|
108
|
+
# Compliance:
|
|
109
|
+
# Runtime Standard: 11/11
|
|
110
|
+
# Frontmatter Complete: yes
|
|
111
|
+
# References Valid: yes
|
|
112
|
+
# Decision Trees: PASS
|
|
113
|
+
# Thresholds Defined: PASS
|
|
114
|
+
# schema_version: 10.2.0
|
|
115
|
+
# runtime_version: 1
|
|
116
|
+
# platforms: [antigravity, claude, opencode]
|
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,26 @@ Format: [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## [10.2.0] — 2026-09-24 — AI Developer Skill OS v10.2: 3 IDEs (Antigravity, Claude, OpenCode), Platform-Specific Sections, graph.json edges
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- 3 IDE support: Antigravity, Claude, OpenCode
|
|
12
|
+
- Platform-Specific Instructions section in every SKILL.md
|
|
13
|
+
- `platforms` and `runtime_version` fields in all frontmatters
|
|
14
|
+
- `.claude/CLAUDE.md`, `.opencode/config.yaml` created
|
|
15
|
+
- CI workflow updated to ubuntu-latest
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
- Removed Cursor, Windsurf, Kilo, Codex support
|
|
19
|
+
- Removed old `/skills/` directory and `capability-graph.yml`
|
|
20
|
+
- Removed stale worktree `.kilo/worktrees/stealth-octagon`
|
|
21
|
+
|
|
22
|
+
### Fixed
|
|
23
|
+
- `copyOpenCodeConfig` order fix in install.js
|
|
24
|
+
- `validate-skills.js` V10 status default
|
|
25
|
+
- `build-registry.js` dependency mapping with crossEdges
|
|
26
|
+
- `sync-versions.js` V9→V10 fix
|
|
27
|
+
|
|
8
28
|
## [10.1.0] — 2026-09-15 — AI Developer Skill OS v10.1: 11 Super-Skills, API-to-Data Discovery & Prompt Compiler v11.1
|
|
9
29
|
|
|
10
30
|
### Added
|
|
@@ -228,3 +248,44 @@ Format: [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
|
|
228
248
|
## [7.0.0] — 2026
|
|
229
249
|
|
|
230
250
|
- V7 release: 22 skills, YAML frontmatter, token budget system
|
|
251
|
+
|
|
252
|
+
---
|
|
253
|
+
|
|
254
|
+
## [10.2.0] — 2026-09-24 — AI Developer Skill OS v10.2: Clean Architecture & Full Validation
|
|
255
|
+
|
|
256
|
+
### Upgraded
|
|
257
|
+
- All 11 SKILL.md files version bumped to 10.2.0
|
|
258
|
+
- All 9 rule files version bumped to 10.2.0
|
|
259
|
+
- All 12 workflow YAML files version bumped to 10.2.0
|
|
260
|
+
- _template/SKILL.md upgraded from V9.2 to V10.2
|
|
261
|
+
|
|
262
|
+
### Added — Every Skill Now Has:
|
|
263
|
+
- **Confidence Model** — HIGH/MEDIUM/LOW routing confidence
|
|
264
|
+
- **Exit Codes** — SUCCESS/PARTIAL/BLOCKED/FAILED
|
|
265
|
+
- **Evidence Format** — Structured evidence with severity + confidence
|
|
266
|
+
- **Compliance** — schema_version 10.2.0, runtime_version 1
|
|
267
|
+
|
|
268
|
+
### Enhanced
|
|
269
|
+
- **qk-orchestrator**: Added Role Adaptation, Failure Path, Retry Policy (108→187 lines)
|
|
270
|
+
- **qk-code-review**: Added Role Adaptation, Failure Path, Evidence Format (132→220 lines)
|
|
271
|
+
- **qk-api-data-discovery**: Reduced 470→330 lines, split report templates to references/
|
|
272
|
+
- **qk-prompt-compiler**: Added Core Principles, Role Adaptation, Evidence Gate (321→408 lines)
|
|
273
|
+
- **7 other skills**: Added missing Exit Codes + Confidence Model + Evidence Format
|
|
274
|
+
|
|
275
|
+
### Removed
|
|
276
|
+
- Deleted old `/skills/` directory (22-file legacy system)
|
|
277
|
+
- Deleted `capability-graph.yml` and `skills-index.yml` (old registry)
|
|
278
|
+
- Deleted `.kilo/worktrees/stealth-octagon` (stale git worktree)
|
|
279
|
+
- Deleted `_template/capability.yaml` (old system manifest)
|
|
280
|
+
- Deleted `_template/evals/scorecard.yaml` (old V8 format)
|
|
281
|
+
|
|
282
|
+
### Fixed Tooling
|
|
283
|
+
- `validate-skills.js`: Updated to check V10 sections instead of V8 fields
|
|
284
|
+
- `build-registry.js`: Updated from V8.2 to V10.2, added edges array to graph.json
|
|
285
|
+
- `validate-graph.js`: Updated to read graph.json, fixed orphan detection
|
|
286
|
+
- `sync-versions.js`: Updated targetVersion from 9.1.0 to 10.2.0
|
|
287
|
+
|
|
288
|
+
### Validation
|
|
289
|
+
- `npm run test:registry`: 10/10 tests passed
|
|
290
|
+
- `node tooling/validate-skills.js`: 11/11 valid
|
|
291
|
+
- `node tooling/validate-graph.js`: **Score 100/100** (0 orphans, 0 cycles, 11 edges)
|
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
# AI Developer Skill OS v10.
|
|
1
|
+
# AI Developer Skill OS v10.2.0 — Lean Core Edition
|
|
2
2
|
|
|
3
|
-
> **v10.
|
|
3
|
+
> **v10.2.0 "Lean Core Revolution & API-to-Data Discovery Integration"**
|
|
4
4
|
|
|
5
|
-
Phiên bản **v10.
|
|
5
|
+
Phiên bản **v10.2.0** giải quyết triệt để vấn đề phân mảnh quá mức (extreme fragmentation) từ 37 thư mục vi kỹ năng (micro-skills) xuống còn **11 Core Super-Skills** mạnh mẽ, không làm mất bất kỳ tính năng chuyên sâu nào, đồng thời tích hợp toàn diện cỗ máy biên dịch Prompt Compiler v10.2 và Discovery Engine cho Antigravity IDE.
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|