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
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
name: qk-test-engineering-eval
|
|
2
|
+
description: Đánh giá tư duy Chiến lược Kiểm thử (Test Strategy)
|
|
3
|
+
version: 8.3.1
|
|
4
|
+
threshold: 85 # Đảm bảo tư vấn chiến lược rõ ràng và bao quát rủi ro
|
|
5
|
+
|
|
6
|
+
metrics:
|
|
7
|
+
- id: pyramid_strategy
|
|
8
|
+
name: Chiến lược Test Pyramid
|
|
9
|
+
description: Chiến lược có phân bổ hợp lý giữa Unit, Integration và E2E không?
|
|
10
|
+
weight: 35
|
|
11
|
+
criteria:
|
|
12
|
+
- Phân tách rõ ràng loại test nào dùng cho logic nào thay vì bắt viết E2E cho mọi thứ (35đ)
|
|
13
|
+
|
|
14
|
+
- id: boundary_testing_r_sec_04
|
|
15
|
+
name: Negative & Boundary Testing (R-SEC-04)
|
|
16
|
+
description: Có bao phủ các test cases ranh giới để ngăn chặn tấn công/lỗi dữ liệu không?
|
|
17
|
+
weight: 35
|
|
18
|
+
criteria:
|
|
19
|
+
- Bắt buộc đưa ra các test case biên (Boundary) và trường hợp lỗi (Negative tests) (35đ)
|
|
20
|
+
|
|
21
|
+
- id: mocking_strategy
|
|
22
|
+
name: Chiến lược Mock/Stub
|
|
23
|
+
description: Có tư vấn rõ ràng khi nào nên Mock và khi nào dùng Database thật không?
|
|
24
|
+
weight: 30
|
|
25
|
+
criteria:
|
|
26
|
+
- Phân biệt rõ việc Mock API bên thứ ba vs Integration DB nội bộ (30đ)
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
---
|
|
2
2
|
# ── Identity ───────────────────────────────────────────────
|
|
3
3
|
name: qk-ui-audit
|
|
4
|
-
version: 8.
|
|
4
|
+
version: 8.3.1
|
|
5
5
|
status: stable
|
|
6
|
-
description: "Kiểm toán giao diện (UI) với 57-
|
|
6
|
+
description: "Kiểm toán giao diện (UI) với 57-check Anti-Slop checklist — fail nếu score < 76/85 base."
|
|
7
7
|
platforms: [antigravity, claude-code, cursor, windsurf, kilo-code]
|
|
8
8
|
|
|
9
9
|
# ── V8: Classification ─────────────────────────────────────
|
|
@@ -48,6 +48,8 @@ knowledge_scope:
|
|
|
48
48
|
- anti-slop
|
|
49
49
|
references:
|
|
50
50
|
- design-system
|
|
51
|
+
- security
|
|
52
|
+
- anti-patterns
|
|
51
53
|
|
|
52
54
|
# ── V8: Verification ───────────────────────────────────────
|
|
53
55
|
verification:
|
|
@@ -81,12 +83,7 @@ exit_codes: [SUCCESS, BLOCKED, FAILED, PARTIAL]
|
|
|
81
83
|
|
|
82
84
|
# qk-ui-audit — Anti-Slop UI Inspector
|
|
83
85
|
|
|
84
|
-
> **Language rule:** Code, identifiers, file names
|
|
85
|
-
|
|
86
|
-
skill_version: 7.5.0
|
|
87
|
-
runtime_version: 1
|
|
88
|
-
schema_version: 2
|
|
89
|
-
---
|
|
86
|
+
> **Language rule:** Code, identifiers, file names → English. Explanations, summaries → Vietnamese.
|
|
90
87
|
|
|
91
88
|
## Preconditions
|
|
92
89
|
- [ ] `DESIGN.md` exists in project root
|
|
@@ -98,11 +95,6 @@ On missing precondition:
|
|
|
98
95
|
Message: "DESIGN.md not found. Run qk-project-bootstrap to create one, or provide design tokens manually."
|
|
99
96
|
```
|
|
100
97
|
|
|
101
|
-
skill_version: 7.5.0
|
|
102
|
-
runtime_version: 1
|
|
103
|
-
schema_version: 2
|
|
104
|
-
---
|
|
105
|
-
|
|
106
98
|
## Scope
|
|
107
99
|
- ✅ Score UI components against DESIGN.md tokens
|
|
108
100
|
- ✅ Detect generic AI-slop aesthetics
|
|
@@ -114,11 +106,6 @@ schema_version: 2
|
|
|
114
106
|
- ❌ Pixel-level screenshot comparison
|
|
115
107
|
- ❌ Read entire CSS files — use targeted reads
|
|
116
108
|
|
|
117
|
-
skill_version: 7.5.0
|
|
118
|
-
runtime_version: 1
|
|
119
|
-
schema_version: 2
|
|
120
|
-
---
|
|
121
|
-
|
|
122
109
|
## Priority Order
|
|
123
110
|
|
|
124
111
|
| Priority | Category | Points | Skip Threshold |
|
|
@@ -127,16 +114,12 @@ schema_version: 2
|
|
|
127
114
|
| P2 | Layout & Spacing (tokens, grid, whitespace) | 15pts | Budget < 30% |
|
|
128
115
|
| P3 | Typography & Colors (DESIGN.md compliance) | 15pts | Budget < 50% |
|
|
129
116
|
| P4 | Interactions & Animations (hover, focus, transitions) | 15pts | Budget < 60% |
|
|
130
|
-
| P5 | Anti-Slop Detection (
|
|
117
|
+
| P5 | Anti-Slop Detection (Tra chéo với R-C-09: thẻ card xám xịt, viền nhạt nhòa, text nhỏ...) | 15pts | Budget < 70% |
|
|
131
118
|
| P6 | Performance & Best Practices | 10pts | Budget < 80% |
|
|
132
119
|
| BONUS | Mobile & Cross-browser | 5pts extra | Always optional |
|
|
120
|
+
| EXTENDED | Edge cases | 9pts extra | Always optional |
|
|
133
121
|
|
|
134
|
-
**Total: 85 base +
|
|
135
|
-
|
|
136
|
-
skill_version: 7.5.0
|
|
137
|
-
runtime_version: 1
|
|
138
|
-
schema_version: 2
|
|
139
|
-
---
|
|
122
|
+
**Total: 85 base + 14 bonus/extended = 99 max. Pass threshold: ≥ 76/85 base (90%)**
|
|
140
123
|
|
|
141
124
|
## Workflow
|
|
142
125
|
|
|
@@ -150,11 +133,6 @@ schema_version: 2
|
|
|
150
133
|
- Tokens extracted → go to Phase 2
|
|
151
134
|
- DESIGN.md empty or incomplete → EXIT: BLOCKED
|
|
152
135
|
|
|
153
|
-
skill_version: 7.5.0
|
|
154
|
-
runtime_version: 1
|
|
155
|
-
schema_version: 2
|
|
156
|
-
---
|
|
157
|
-
|
|
158
136
|
### Phase 2 — Scan Target UI
|
|
159
137
|
|
|
160
138
|
**Steps:**
|
|
@@ -164,7 +142,7 @@ schema_version: 2
|
|
|
164
142
|
|
|
165
143
|
**Decision:**
|
|
166
144
|
```
|
|
167
|
-
IF score accumulates ≥
|
|
145
|
+
IF score accumulates ≥ 76 after P1+P2+P3
|
|
168
146
|
→ Can skip P4–P6 if token budget < 40%
|
|
169
147
|
→ EXIT: PARTIAL (pass, but incomplete audit noted)
|
|
170
148
|
|
|
@@ -177,11 +155,6 @@ IF CRITICAL violation found (e.g., hardcoded password in UI, broken ARIA)
|
|
|
177
155
|
- All categories checked → go to Phase 3
|
|
178
156
|
- Token budget < 20% → go to Phase 3 with PARTIAL flag
|
|
179
157
|
|
|
180
|
-
skill_version: 7.5.0
|
|
181
|
-
runtime_version: 1
|
|
182
|
-
schema_version: 2
|
|
183
|
-
---
|
|
184
|
-
|
|
185
158
|
### Phase 3 — Score & Report
|
|
186
159
|
|
|
187
160
|
**Steps:**
|
|
@@ -191,21 +164,16 @@ schema_version: 2
|
|
|
191
164
|
|
|
192
165
|
**Decision:**
|
|
193
166
|
```
|
|
194
|
-
IF total score ≥
|
|
167
|
+
IF total score ≥ 76
|
|
195
168
|
→ EXIT: SUCCESS
|
|
196
169
|
|
|
197
|
-
IF total score
|
|
170
|
+
IF total score 60–75
|
|
198
171
|
→ EXIT: PARTIAL — list required fixes
|
|
199
172
|
|
|
200
|
-
IF total score <
|
|
173
|
+
IF total score < 60
|
|
201
174
|
→ EXIT: FAILED — demand redesign, not patch
|
|
202
175
|
```
|
|
203
176
|
|
|
204
|
-
skill_version: 7.5.0
|
|
205
|
-
runtime_version: 1
|
|
206
|
-
schema_version: 2
|
|
207
|
-
---
|
|
208
|
-
|
|
209
177
|
## Confidence Model
|
|
210
178
|
|
|
211
179
|
| Level | Condition | Action |
|
|
@@ -214,11 +182,6 @@ schema_version: 2
|
|
|
214
182
|
| MEDIUM | Inferred from surrounding code patterns | Note assumption |
|
|
215
183
|
| LOW | Cannot verify without rendering (e.g., animation timing) | Mark as "unverifiable — manual check required" |
|
|
216
184
|
|
|
217
|
-
skill_version: 7.5.0
|
|
218
|
-
runtime_version: 1
|
|
219
|
-
schema_version: 2
|
|
220
|
-
---
|
|
221
|
-
|
|
222
185
|
## Severity
|
|
223
186
|
|
|
224
187
|
| Level | Definition | Example |
|
|
@@ -228,11 +191,6 @@ schema_version: 2
|
|
|
228
191
|
| MEDIUM | UX degraded, workaround exists | Missing hover state, no loading indicator |
|
|
229
192
|
| LOW | Minor inconsistency | Spacing off by 1 unit |
|
|
230
193
|
|
|
231
|
-
skill_version: 7.5.0
|
|
232
|
-
runtime_version: 1
|
|
233
|
-
schema_version: 2
|
|
234
|
-
---
|
|
235
|
-
|
|
236
194
|
## Evidence Format
|
|
237
195
|
|
|
238
196
|
```
|
|
@@ -254,22 +212,12 @@ Fix: Replace with `var(--font-size-base)`
|
|
|
254
212
|
Points: -3 pts
|
|
255
213
|
```
|
|
256
214
|
|
|
257
|
-
skill_version: 7.5.0
|
|
258
|
-
runtime_version: 1
|
|
259
|
-
schema_version: 2
|
|
260
|
-
---
|
|
261
|
-
|
|
262
215
|
## Retry Policy
|
|
263
216
|
```
|
|
264
217
|
Audit is read-only — no retry needed.
|
|
265
218
|
If file is inaccessible → note as PARTIAL and continue with other files.
|
|
266
219
|
```
|
|
267
220
|
|
|
268
|
-
skill_version: 7.5.0
|
|
269
|
-
runtime_version: 1
|
|
270
|
-
schema_version: 2
|
|
271
|
-
---
|
|
272
|
-
|
|
273
221
|
## Escalation Rules
|
|
274
222
|
|
|
275
223
|
```
|
|
@@ -283,11 +231,6 @@ Recommended Assumptions (if proceeding):
|
|
|
283
231
|
- Use industry-standard: 8px spacing unit, Inter font, neutral gray palette
|
|
284
232
|
```
|
|
285
233
|
|
|
286
|
-
skill_version: 7.5.0
|
|
287
|
-
runtime_version: 1
|
|
288
|
-
schema_version: 2
|
|
289
|
-
---
|
|
290
|
-
|
|
291
234
|
## Handoff Contract
|
|
292
235
|
|
|
293
236
|
### Consumes
|
|
@@ -307,11 +250,6 @@ schema_version: 2
|
|
|
307
250
|
}
|
|
308
251
|
```
|
|
309
252
|
|
|
310
|
-
skill_version: 7.5.0
|
|
311
|
-
runtime_version: 1
|
|
312
|
-
schema_version: 2
|
|
313
|
-
---
|
|
314
|
-
|
|
315
253
|
## Output Format
|
|
316
254
|
|
|
317
255
|
```
|
|
@@ -328,7 +266,7 @@ Scores:
|
|
|
328
266
|
P5 Anti-Slop: [X/15]
|
|
329
267
|
P6 Performance: [X/10]
|
|
330
268
|
─────────────────
|
|
331
|
-
Total: [X/85] → [PASS ≥
|
|
269
|
+
Total: [X/85 base] → [PASS ≥ 76/85 | FAIL < 76/85]
|
|
332
270
|
|
|
333
271
|
Violations (top priority first):
|
|
334
272
|
[SEVERITY] file:LINE — reason — Fix: suggestion (-Xpts)
|
|
@@ -342,28 +280,17 @@ Verdict: [PASS | FAIL — requires redesign]
|
|
|
342
280
|
Exit Code: [SUCCESS | PARTIAL | FAILED]
|
|
343
281
|
```
|
|
344
282
|
|
|
345
|
-
skill_version: 7.5.0
|
|
346
|
-
runtime_version: 1
|
|
347
|
-
schema_version: 2
|
|
348
|
-
---
|
|
349
|
-
|
|
350
283
|
## Exit Codes
|
|
351
284
|
|
|
352
285
|
| Code | Meaning | When |
|
|
353
286
|
|------|---------|------|
|
|
354
|
-
| SUCCESS | Score ≥
|
|
355
|
-
| PARTIAL | Score
|
|
287
|
+
| SUCCESS | Score ≥ 76 — UI passes Anti-Slop | All checks done, no critical violations |
|
|
288
|
+
| PARTIAL | Score 60–75 or incomplete audit | Some categories skipped due to token budget |
|
|
356
289
|
| BLOCKED | DESIGN.md missing or target not specified | Cannot audit without design contract |
|
|
357
|
-
| FAILED | Score <
|
|
358
|
-
|
|
359
|
-
skill_version: 7.5.0
|
|
360
|
-
runtime_version: 1
|
|
361
|
-
schema_version: 2
|
|
362
|
-
---
|
|
290
|
+
| FAILED | Score < 60 or CRITICAL violation found | Generic slop detected, redesign required |
|
|
363
291
|
|
|
364
292
|
## References
|
|
365
|
-
- Full 57-
|
|
293
|
+
- Full 57-check checklist: `references/anti-slop-checklist.md`
|
|
366
294
|
|
|
367
295
|
---
|
|
368
296
|
|
|
369
|
-
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Auto-generated from SKILL.md frontmatter
|
|
2
|
+
schema_version: 1
|
|
3
|
+
id: "qk-ui-audit"
|
|
4
|
+
version: "8.3.1"
|
|
5
|
+
description: "Kiểm toán giao diện (UI) với 57-check Anti-Slop checklist — fail nếu score < 76/85 base."
|
|
6
|
+
tools:
|
|
7
|
+
- "filesystem"
|
|
8
|
+
- "terminal"
|
|
9
|
+
knowledge:
|
|
10
|
+
owns:
|
|
11
|
+
- "ui-standards"
|
|
12
|
+
- "anti-slop"
|
|
13
|
+
references:
|
|
14
|
+
- "design-system"
|
|
15
|
+
- "security"
|
|
16
|
+
- "anti-patterns"
|
|
17
|
+
eval:
|
|
18
|
+
scorecard: "evals/scorecard.yaml"
|
|
19
|
+
decision_boundary:
|
|
20
|
+
owns:
|
|
21
|
+
- "qk-ui-audit"
|
|
22
|
+
does_not_own: []
|
|
23
|
+
conflicts_with: []
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
name: qk-ui-audit-eval
|
|
2
|
+
description: Đánh giá khả năng rà soát UI Anti-Slop
|
|
3
|
+
version: 8.3.1
|
|
4
|
+
threshold: 90 # Đóng vai trò chốt chặn UI chất lượng cao, không khoan nhượng với Slop
|
|
5
|
+
|
|
6
|
+
metrics:
|
|
7
|
+
- id: design_contract_compliance
|
|
8
|
+
name: Tuân thủ Hợp đồng Thiết kế (DESIGN.md)
|
|
9
|
+
description: Có bắt lỗi chính xác các giá trị hardcode không nằm trong Design Tokens không?
|
|
10
|
+
weight: 40
|
|
11
|
+
criteria:
|
|
12
|
+
- Tìm và đánh dấu các mã màu hex, px hardcode vi phạm token của DESIGN.md (40đ)
|
|
13
|
+
|
|
14
|
+
- id: anti_slop_detection
|
|
15
|
+
name: Nhận diện AI-Slop (Generic aesthetics)
|
|
16
|
+
description: Có phát hiện được các thiết kế chung chung, xám xịt, viền nhạt nhòa không?
|
|
17
|
+
weight: 30
|
|
18
|
+
criteria:
|
|
19
|
+
- Trừ điểm nặng các thẻ card thiếu chiều sâu, text quá nhỏ, hoặc thiếu hover state (30đ)
|
|
20
|
+
|
|
21
|
+
- id: accessibility_check
|
|
22
|
+
name: Kiểm tra Trải nghiệm Tiếp cận (A11y)
|
|
23
|
+
description: Có rà soát các thẻ ARIA, độ tương phản và Semantic HTML không?
|
|
24
|
+
weight: 30
|
|
25
|
+
criteria:
|
|
26
|
+
- Cảnh báo các element tương tác (button, link) thiếu roles, alt text hoặc độ tương phản < 4.5:1 (30đ)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Anti-Slop Checklist — 57
|
|
1
|
+
# Anti-Slop Checklist — 57 Checks (99 pts max)
|
|
2
2
|
> Referenced by: `qk-ui-audit/SKILL.md`
|
|
3
3
|
> Purpose: Full inspection checklist for detecting generic AI-generated UI
|
|
4
4
|
|
|
@@ -132,5 +132,5 @@
|
|
|
132
132
|
| Extended (49–57) | +9 |
|
|
133
133
|
| **Maximum Possible** | **99** |
|
|
134
134
|
|
|
135
|
-
**Pass threshold: ≥ 76
|
|
135
|
+
**Pass threshold: ≥ 76/85 base (90%)**
|
|
136
136
|
**Fail: < 76 / 85 — requires redesign, not patch**
|