ai-developer-skill-os 6.0.2 → 7.0.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 +8 -0
- package/CHANGELOG.md +11 -0
- package/package.json +44 -44
- package/skills/qk-access-policy/SKILL.md +13 -9
- package/skills/qk-ai-builder/SKILL.md +15 -12
- package/skills/qk-api-lifecycle/SKILL.md +19 -11
- package/skills/qk-bug-resolution/SKILL.md +20 -13
- package/skills/qk-context-loader/SKILL.md +14 -7
- package/skills/qk-data-lifecycle/SKILL.md +19 -10
- package/skills/qk-db-optimizer/SKILL.md +17 -11
- package/skills/qk-design-to-code/SKILL.md +15 -6
- package/skills/qk-docs/SKILL.md +15 -11
- package/skills/qk-engineering-standard/SKILL.md +17 -13
- package/skills/qk-feature-delivery/SKILL.md +21 -12
- package/skills/qk-help/SKILL.md +13 -9
- package/skills/qk-orchestrator/SKILL.md +13 -6
- package/skills/qk-policy-engine/SKILL.md +13 -9
- package/skills/qk-production-release/SKILL.md +15 -9
- package/skills/qk-project-bootstrap/SKILL.md +3 -1
- package/skills/qk-project-health/SKILL.md +15 -11
- package/skills/qk-project-memory/SKILL.md +15 -10
- package/skills/qk-system-evolution/SKILL.md +15 -10
- package/skills/qk-ui-audit/SKILL.md +16 -9
- package/skills/qk-ui-system-builder/SKILL.md +15 -7
- package/skills/qk-validation-gate/SKILL.md +14 -10
- package/skills.json +1 -1
- package/templates/DESIGN.md +38 -0
- package/tests/behavior-conformance.test.js +14 -11
|
@@ -1,38 +1,42 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: qk-engineering-standard
|
|
3
|
-
category:
|
|
4
|
-
version:
|
|
3
|
+
category: qa
|
|
4
|
+
version: 7.0.0
|
|
5
|
+
description: "Ép buộc áp dụng SOLID, DRY, Clean Code, và chống Spaghetti code."
|
|
5
6
|
---
|
|
6
7
|
|
|
7
8
|
# qk-engineering-standard
|
|
8
9
|
|
|
9
10
|
## Scope
|
|
10
|
-
-
|
|
11
|
+
- Code Quality, Architecture, and Standards Enforcement (Audit)
|
|
12
|
+
|
|
13
|
+
## Verbs
|
|
14
|
+
- `[ENFORCE]`: Reject code that violates engineering standards.
|
|
11
15
|
|
|
12
16
|
## Constraints
|
|
13
17
|
```yaml
|
|
14
18
|
must:
|
|
15
|
-
-
|
|
16
|
-
-
|
|
19
|
+
- "Enforce SOLID principles and DRY"
|
|
20
|
+
- "Keep cyclomatic complexity low (Functions must do ONE thing)"
|
|
21
|
+
- "Enforce strict naming conventions"
|
|
17
22
|
must_not:
|
|
18
|
-
-
|
|
19
|
-
-
|
|
23
|
+
- "Allow spaghetti code or mega-functions"
|
|
24
|
+
- "Merge logic that mixes UI, State, and Network in one file"
|
|
20
25
|
```
|
|
21
26
|
|
|
22
27
|
## Policies
|
|
23
28
|
```yaml
|
|
24
29
|
prefer:
|
|
25
|
-
-
|
|
26
|
-
-
|
|
30
|
+
- "Composition over inheritance"
|
|
31
|
+
- "Early returns and guard clauses"
|
|
27
32
|
```
|
|
28
33
|
|
|
29
34
|
## Escalation
|
|
30
35
|
```yaml
|
|
31
36
|
stop:
|
|
32
|
-
-
|
|
37
|
+
- "Cyclomatic complexity exceeds acceptable thresholds"
|
|
38
|
+
- "Code violates V7 Anti-Slop architectural rules"
|
|
33
39
|
```
|
|
34
40
|
|
|
35
41
|
## Output
|
|
36
|
-
-
|
|
37
|
-
- Refactored code
|
|
38
|
-
```
|
|
42
|
+
- Refactored code or Audit rejection report.
|
|
@@ -1,39 +1,48 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: qk-feature-delivery
|
|
3
3
|
category: fullstack
|
|
4
|
-
version:
|
|
4
|
+
version: 7.0.0
|
|
5
|
+
description: "Phát triển tính năng mới tuân thủ biểu đồ bối cảnh và Khế ước Thiết kế (DESIGN.md)."
|
|
5
6
|
---
|
|
6
7
|
|
|
7
8
|
# qk-feature-delivery
|
|
8
9
|
|
|
9
10
|
## Scope
|
|
10
|
-
- New capabilities (Execute)
|
|
11
|
+
- New capabilities (Plan & Execute)
|
|
12
|
+
- Fullstack delivery conforming to V7 Anti-Slop and Graphing requirements.
|
|
13
|
+
|
|
14
|
+
## Verbs
|
|
15
|
+
- `[DELIVER]`: Orchestrate the creation of a feature end-to-end.
|
|
11
16
|
|
|
12
17
|
## Constraints
|
|
13
18
|
```yaml
|
|
14
19
|
must:
|
|
15
|
-
-
|
|
16
|
-
-
|
|
20
|
+
- "For logic: MUST demand a Structural Map (Dependency Graph) from qk-context-loader before coding"
|
|
21
|
+
- "For UI: MUST strictly adhere to DESIGN.md and Anti-Slop aesthetics"
|
|
22
|
+
- "Clarify requirements if ambiguous"
|
|
23
|
+
- "Implement complete end-to-end flow"
|
|
17
24
|
must_not:
|
|
18
|
-
- Mix refactoring into feature work
|
|
19
|
-
- Ignore backward compatibility
|
|
25
|
+
- "Mix refactoring into feature work"
|
|
26
|
+
- "Ignore backward compatibility"
|
|
27
|
+
- "Emit generic 'AI-slop' UI or unverified logic"
|
|
20
28
|
```
|
|
21
29
|
|
|
22
30
|
## Policies
|
|
23
31
|
```yaml
|
|
24
32
|
prefer:
|
|
25
|
-
- Plan before implementing
|
|
26
|
-
- Cover UI loading/error states
|
|
33
|
+
- "Plan before implementing"
|
|
34
|
+
- "Cover UI loading/error states"
|
|
35
|
+
- "Self-audit against DESIGN.md and Context Graph"
|
|
27
36
|
```
|
|
28
37
|
|
|
29
38
|
## Escalation
|
|
30
39
|
```yaml
|
|
31
40
|
stop:
|
|
32
|
-
- Requirements are ambiguous
|
|
41
|
+
- "Requirements are ambiguous"
|
|
42
|
+
- "DESIGN.md or Context Graph is missing/unavailable"
|
|
33
43
|
ask:
|
|
34
|
-
- Before adding heavy dependencies
|
|
44
|
+
- "Before adding heavy dependencies"
|
|
35
45
|
```
|
|
36
46
|
|
|
37
47
|
## Output
|
|
38
|
-
- Feature implementation
|
|
39
|
-
```
|
|
48
|
+
- Feature implementation conforming to V7 quality standards.
|
package/skills/qk-help/SKILL.md
CHANGED
|
@@ -1,34 +1,38 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: qk-help
|
|
3
|
-
category:
|
|
4
|
-
version:
|
|
3
|
+
category: utilities
|
|
4
|
+
version: 7.0.0
|
|
5
|
+
description: "Hiển thị danh sách các kỹ năng V7 hiện có và các lệnh khắt khe."
|
|
5
6
|
---
|
|
6
7
|
|
|
7
8
|
# qk-help
|
|
8
9
|
|
|
9
10
|
## Scope
|
|
10
|
-
-
|
|
11
|
+
- Skill discovery and usage assistance (Collect)
|
|
12
|
+
|
|
13
|
+
## Verbs
|
|
14
|
+
- `[HELP]`: Display strict V7 guidelines and available skills.
|
|
11
15
|
|
|
12
16
|
## Constraints
|
|
13
17
|
```yaml
|
|
14
18
|
must:
|
|
15
|
-
-
|
|
19
|
+
- "List all available V7 skills and their core 'must' constraints"
|
|
20
|
+
- "Emphasize the Zero-Trust and Anti-Slop philosophy"
|
|
16
21
|
must_not:
|
|
17
|
-
-
|
|
22
|
+
- "Display outdated V6 instructions or deprecated skills"
|
|
18
23
|
```
|
|
19
24
|
|
|
20
25
|
## Policies
|
|
21
26
|
```yaml
|
|
22
27
|
prefer:
|
|
23
|
-
-
|
|
28
|
+
- "Clear, formatted Markdown output"
|
|
24
29
|
```
|
|
25
30
|
|
|
26
31
|
## Escalation
|
|
27
32
|
```yaml
|
|
28
33
|
ask:
|
|
29
|
-
- If the user
|
|
34
|
+
- "If the user is looking for a skill that does not exist"
|
|
30
35
|
```
|
|
31
36
|
|
|
32
37
|
## Output
|
|
33
|
-
- List of
|
|
34
|
-
```
|
|
38
|
+
- List of skills and V7 usage guidelines.
|
|
@@ -1,35 +1,42 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: qk-orchestrator
|
|
3
3
|
category: core
|
|
4
|
-
version:
|
|
4
|
+
version: 7.0.0
|
|
5
|
+
description: "Điều hướng yêu cầu của người dùng với kỷ luật thép, kiểm tra DESIGN.md và Context Graph."
|
|
5
6
|
---
|
|
6
7
|
|
|
7
8
|
# qk-orchestrator
|
|
8
9
|
|
|
9
10
|
## Scope
|
|
10
|
-
- Request analysis
|
|
11
|
+
- Request analysis, task delegation, and strict process enforcement (Coordinate)
|
|
12
|
+
|
|
13
|
+
## Verbs
|
|
14
|
+
- `[ROUTE]`: Dispatch tasks strictly to specialist skills based on V7 architecture constraints.
|
|
11
15
|
|
|
12
16
|
## Constraints
|
|
13
17
|
```yaml
|
|
14
18
|
must:
|
|
15
|
-
- Route user request to the correct sub-skill
|
|
19
|
+
- Route user request to the correct sub-skill.
|
|
20
|
+
- For UI tasks: MUST ensure `DESIGN.md` exists (or delegate to `qk-project-bootstrap`).
|
|
21
|
+
- For Logic tasks: MUST ensure `qk-context-loader` generates a map first.
|
|
16
22
|
must_not:
|
|
17
23
|
- Write code directly
|
|
18
24
|
- Hallucinate non-existent skills
|
|
25
|
+
- Allow UI work without a Design Contract
|
|
19
26
|
```
|
|
20
27
|
|
|
21
28
|
## Policies
|
|
22
29
|
```yaml
|
|
23
30
|
prefer:
|
|
24
|
-
-
|
|
31
|
+
- Strict sequencing (Context Map -> Audit -> Code -> Verify) over chaotic parallel generation.
|
|
25
32
|
```
|
|
26
33
|
|
|
27
34
|
## Escalation
|
|
28
35
|
```yaml
|
|
29
36
|
stop:
|
|
30
37
|
- No matching skill is found
|
|
38
|
+
- The task violates the Zero-Trust or Anti-Slop philosophy of V7.
|
|
31
39
|
```
|
|
32
40
|
|
|
33
41
|
## Output
|
|
34
|
-
- Delegation plan
|
|
35
|
-
```
|
|
42
|
+
- Delegation plan with hard prerequisites checked.
|
|
@@ -1,35 +1,39 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: qk-policy-engine
|
|
3
3
|
category: security
|
|
4
|
-
version:
|
|
4
|
+
version: 7.0.0
|
|
5
|
+
description: "Hệ thống đánh giá chính sách để đảm bảo các hành động an toàn và được ủy quyền."
|
|
5
6
|
---
|
|
6
7
|
|
|
7
8
|
# qk-policy-engine
|
|
8
9
|
|
|
9
10
|
## Scope
|
|
10
|
-
-
|
|
11
|
+
- Security policies, authorization rules, and compliance (Evaluate)
|
|
12
|
+
|
|
13
|
+
## Verbs
|
|
14
|
+
- `[AUTHORIZE]`: Evaluate requests against the strict policy matrix.
|
|
11
15
|
|
|
12
16
|
## Constraints
|
|
13
17
|
```yaml
|
|
14
18
|
must:
|
|
15
|
-
-
|
|
16
|
-
-
|
|
19
|
+
- "Enforce Principle of Least Privilege (PoLP) on all operations"
|
|
20
|
+
- "Log all authorization failures for audit purposes"
|
|
17
21
|
must_not:
|
|
18
|
-
-
|
|
22
|
+
- "Bypass security checks for 'admin' or 'dev' accounts in production"
|
|
23
|
+
- "Hardcode plain-text secrets in policy rules"
|
|
19
24
|
```
|
|
20
25
|
|
|
21
26
|
## Policies
|
|
22
27
|
```yaml
|
|
23
28
|
prefer:
|
|
24
|
-
-
|
|
29
|
+
- "Explicit Deny by default"
|
|
25
30
|
```
|
|
26
31
|
|
|
27
32
|
## Escalation
|
|
28
33
|
```yaml
|
|
29
34
|
stop:
|
|
30
|
-
-
|
|
35
|
+
- "Policy evaluation fails (Unauthorized Action)"
|
|
31
36
|
```
|
|
32
37
|
|
|
33
38
|
## Output
|
|
34
|
-
- Policy evaluation result (Allow/Deny)
|
|
35
|
-
```
|
|
39
|
+
- Policy evaluation result (Allow/Deny) and audit trail.
|
|
@@ -1,35 +1,41 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: qk-production-release
|
|
3
3
|
category: devops
|
|
4
|
-
version:
|
|
4
|
+
version: 7.0.0
|
|
5
|
+
description: "Chuẩn bị codebase phát hành Production với các cổng kiểm duyệt an ninh tuyệt đối."
|
|
5
6
|
---
|
|
6
7
|
|
|
7
8
|
# qk-production-release
|
|
8
9
|
|
|
9
10
|
## Scope
|
|
10
|
-
-
|
|
11
|
+
- Production builds, CI/CD pipelines, and Security gating (Execute)
|
|
12
|
+
|
|
13
|
+
## Verbs
|
|
14
|
+
- `[RELEASE]`: Prepare and sign off on a production-ready artifact.
|
|
11
15
|
|
|
12
16
|
## Constraints
|
|
13
17
|
```yaml
|
|
14
18
|
must:
|
|
15
|
-
-
|
|
16
|
-
-
|
|
19
|
+
- "Run full suite of linters, tests, and security scans (Validation Gate) before release"
|
|
20
|
+
- "Minify and strip out all debug/console logs"
|
|
17
21
|
must_not:
|
|
18
|
-
-
|
|
22
|
+
- "Release if ANY high-priority bug is unresolved"
|
|
23
|
+
- "Deploy with dev-environment secrets or configurations"
|
|
19
24
|
```
|
|
20
25
|
|
|
21
26
|
## Policies
|
|
22
27
|
```yaml
|
|
23
28
|
prefer:
|
|
24
|
-
-
|
|
29
|
+
- "Automated CI/CD validation over manual checks"
|
|
30
|
+
- "Immutable build artifacts"
|
|
25
31
|
```
|
|
26
32
|
|
|
27
33
|
## Escalation
|
|
28
34
|
```yaml
|
|
29
35
|
stop:
|
|
30
|
-
-
|
|
36
|
+
- "Tests fail during the release build"
|
|
37
|
+
- "Environment variables for production are missing"
|
|
31
38
|
```
|
|
32
39
|
|
|
33
40
|
## Output
|
|
34
|
-
-
|
|
35
|
-
```
|
|
41
|
+
- Production-ready build artifacts and deployment scripts.
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: qk-project-bootstrap
|
|
3
3
|
category: fullstack
|
|
4
|
-
version:
|
|
4
|
+
version: 7.0.0
|
|
5
|
+
description: "Khởi tạo dự án mới với các best practices, linters, và cấu trúc thư mục chuẩn."
|
|
5
6
|
---
|
|
6
7
|
|
|
7
8
|
# qk-project-bootstrap
|
|
@@ -14,6 +15,7 @@ version: 6.0.0
|
|
|
14
15
|
must:
|
|
15
16
|
- Setup linters, formatters, and standard directory structures
|
|
16
17
|
- Follow the organization's existing templates if available
|
|
18
|
+
- ALWAYS generate a `DESIGN.md` file in the project root to serve as the Brand Contract (Open Design standard). MUST prompt the user for design constraints if none are provided.
|
|
17
19
|
must_not:
|
|
18
20
|
- Hardcode outdated dependency versions
|
|
19
21
|
- Skip adding basic README instructions
|
|
@@ -1,36 +1,40 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: qk-project-health
|
|
3
|
-
category:
|
|
4
|
-
version:
|
|
3
|
+
category: qa
|
|
4
|
+
version: 7.0.0
|
|
5
|
+
description: "Kiểm toán toàn diện Code Smells, Tech Debt, và Architecture."
|
|
5
6
|
---
|
|
6
7
|
|
|
7
8
|
# qk-project-health
|
|
8
9
|
|
|
9
10
|
## Scope
|
|
10
|
-
-
|
|
11
|
+
- Technical Debt Auditing and System Health Monitoring (Evaluate)
|
|
12
|
+
|
|
13
|
+
## Verbs
|
|
14
|
+
- `[AUDIT]`: Evaluate the entire project's health.
|
|
11
15
|
|
|
12
16
|
## Constraints
|
|
13
17
|
```yaml
|
|
14
18
|
must:
|
|
15
|
-
-
|
|
16
|
-
-
|
|
19
|
+
- "Identify deprecated packages and security vulnerabilities"
|
|
20
|
+
- "Map out technical debt explicitly"
|
|
17
21
|
must_not:
|
|
18
|
-
-
|
|
19
|
-
-
|
|
22
|
+
- "Ignore compiler or strict-mode warnings"
|
|
23
|
+
- "Hide systemic architectural flaws"
|
|
20
24
|
```
|
|
21
25
|
|
|
22
26
|
## Policies
|
|
23
27
|
```yaml
|
|
24
28
|
prefer:
|
|
25
|
-
-
|
|
29
|
+
- "Automated static analysis tools"
|
|
30
|
+
- "Actionable refactoring roadmaps"
|
|
26
31
|
```
|
|
27
32
|
|
|
28
33
|
## Escalation
|
|
29
34
|
```yaml
|
|
30
35
|
stop:
|
|
31
|
-
-
|
|
36
|
+
- "Critical security vulnerabilities detected (CVSS High/Critical)"
|
|
32
37
|
```
|
|
33
38
|
|
|
34
39
|
## Output
|
|
35
|
-
- Health report and
|
|
36
|
-
```
|
|
40
|
+
- Health report and Tech Debt mitigation plan.
|
|
@@ -1,35 +1,40 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: qk-project-memory
|
|
3
3
|
category: core
|
|
4
|
-
version:
|
|
4
|
+
version: 7.0.0
|
|
5
|
+
description: "Lưu trữ và truy xuất ngữ cảnh dự án dài hạn qua các phiên làm việc với độ chính xác cao."
|
|
5
6
|
---
|
|
6
7
|
|
|
7
8
|
# qk-project-memory
|
|
8
9
|
|
|
9
10
|
## Scope
|
|
10
|
-
-
|
|
11
|
+
- Long-term context storage and retrieval (Plan & Collect)
|
|
12
|
+
|
|
13
|
+
## Verbs
|
|
14
|
+
- `[MEMORIZE]`: Store verified facts about the project.
|
|
15
|
+
- `[RECALL]`: Retrieve facts strictly based on recorded memory.
|
|
11
16
|
|
|
12
17
|
## Constraints
|
|
13
18
|
```yaml
|
|
14
19
|
must:
|
|
15
|
-
-
|
|
16
|
-
-
|
|
20
|
+
- "Verify facts against the actual codebase before storing them"
|
|
21
|
+
- "Timestamp and categorize memory entries"
|
|
17
22
|
must_not:
|
|
18
|
-
- Store
|
|
23
|
+
- "Store assumptions or unverified AI hypotheses"
|
|
24
|
+
- "Overwrite fundamental architectural rules without explicit user consent"
|
|
19
25
|
```
|
|
20
26
|
|
|
21
27
|
## Policies
|
|
22
28
|
```yaml
|
|
23
29
|
prefer:
|
|
24
|
-
-
|
|
30
|
+
- "Structured data formats (JSON/Markdown) for memory storage"
|
|
25
31
|
```
|
|
26
32
|
|
|
27
33
|
## Escalation
|
|
28
34
|
```yaml
|
|
29
|
-
|
|
30
|
-
-
|
|
35
|
+
stop:
|
|
36
|
+
- "Memory conflicts with the core AGENTS.md rules"
|
|
31
37
|
```
|
|
32
38
|
|
|
33
39
|
## Output
|
|
34
|
-
-
|
|
35
|
-
```
|
|
40
|
+
- Context retrieval results or stored memory artifacts.
|
|
@@ -1,35 +1,40 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: qk-system-evolution
|
|
3
|
-
category:
|
|
4
|
-
version:
|
|
3
|
+
category: maintenance
|
|
4
|
+
version: 7.0.0
|
|
5
|
+
description: "Cập nhật an toàn các thư viện, di chuyển frameworks với kế hoạch rollback nghiêm ngặt."
|
|
5
6
|
---
|
|
6
7
|
|
|
7
8
|
# qk-system-evolution
|
|
8
9
|
|
|
9
10
|
## Scope
|
|
10
|
-
-
|
|
11
|
+
- Dependency upgrades, Framework migrations, and rollback management (Execute)
|
|
12
|
+
|
|
13
|
+
## Verbs
|
|
14
|
+
- `[UPGRADE]`: Migrate systems with zero-trust testing.
|
|
11
15
|
|
|
12
16
|
## Constraints
|
|
13
17
|
```yaml
|
|
14
18
|
must:
|
|
15
|
-
-
|
|
16
|
-
-
|
|
19
|
+
- "MUST have a Rollback Plan before executing any major upgrade"
|
|
20
|
+
- "Verify all dependencies against the Context Graph to catch breaking changes"
|
|
17
21
|
must_not:
|
|
18
|
-
-
|
|
22
|
+
- "Upgrade major versions without reading the Changelog/Migration Guide"
|
|
23
|
+
- "Blindly run 'npm update' or equivalent"
|
|
19
24
|
```
|
|
20
25
|
|
|
21
26
|
## Policies
|
|
22
27
|
```yaml
|
|
23
28
|
prefer:
|
|
24
|
-
- Incremental
|
|
29
|
+
- "Incremental upgrades over 'big bang' migrations"
|
|
25
30
|
```
|
|
26
31
|
|
|
27
32
|
## Escalation
|
|
28
33
|
```yaml
|
|
29
34
|
stop:
|
|
30
|
-
-
|
|
35
|
+
- "Dependency upgrades break existing test suites"
|
|
36
|
+
- "No Rollback Plan provided"
|
|
31
37
|
```
|
|
32
38
|
|
|
33
39
|
## Output
|
|
34
|
-
-
|
|
35
|
-
```
|
|
40
|
+
- Upgraded dependencies and migration logs.
|
|
@@ -1,35 +1,42 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: qk-ui-audit
|
|
3
3
|
category: qa
|
|
4
|
-
version:
|
|
4
|
+
version: 7.0.0
|
|
5
|
+
description: "Kiểm toán giao diện (UI) bằng checklist chống rác (Anti-slop) khắt khe."
|
|
5
6
|
---
|
|
6
7
|
|
|
7
8
|
# qk-ui-audit
|
|
8
9
|
|
|
9
10
|
## Scope
|
|
10
|
-
- UI consistency,
|
|
11
|
+
- UI consistency, Anti-Slop validation, accessibility, and performance auditing (Evaluate)
|
|
12
|
+
|
|
13
|
+
## Verbs
|
|
14
|
+
- `[AUDIT]`: Score the UI against the 57-point strict checklist (Anti-slop).
|
|
11
15
|
|
|
12
16
|
## Constraints
|
|
13
17
|
```yaml
|
|
14
18
|
must:
|
|
15
|
-
-
|
|
16
|
-
-
|
|
19
|
+
- Score the UI components against `DESIGN.md` tokens.
|
|
20
|
+
- Fail the audit if generic, lazy AI aesthetics are detected (e.g., default Tailwind blue/red, cluttered layouts).
|
|
21
|
+
- Verify ARIA roles and contrast ratios.
|
|
22
|
+
- Require micro-interactions (hover, active states) for all interactive elements.
|
|
17
23
|
must_not:
|
|
18
|
-
-
|
|
24
|
+
- Pass the audit if the UI looks like a "cheap template".
|
|
25
|
+
- Ignore mobile viewport constraints.
|
|
19
26
|
```
|
|
20
27
|
|
|
21
28
|
## Policies
|
|
22
29
|
```yaml
|
|
23
30
|
prefer:
|
|
24
|
-
- Identifying systemic UI issues over isolated pixel tweaks
|
|
31
|
+
- Identifying systemic UI issues and demanding complete REDESIGN over isolated pixel tweaks.
|
|
25
32
|
```
|
|
26
33
|
|
|
27
34
|
## Escalation
|
|
28
35
|
```yaml
|
|
29
36
|
stop:
|
|
30
|
-
- UI
|
|
37
|
+
- UI fails the Anti-Slop Audit (Score < 90/100). The agent MUST self-correct or ask the user to reject the code.
|
|
38
|
+
- UI components completely lack semantic structure.
|
|
31
39
|
```
|
|
32
40
|
|
|
33
41
|
## Output
|
|
34
|
-
- UI audit report with actionable fixes
|
|
35
|
-
```
|
|
42
|
+
- Strict UI audit report with actionable fixes, demanding redesign if slop is detected.
|
|
@@ -1,35 +1,43 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: qk-ui-system-builder
|
|
3
3
|
category: frontend
|
|
4
|
-
version:
|
|
4
|
+
version: 7.0.0
|
|
5
|
+
description: "Xây dựng và duy trì Design Systems, Token extraction, và các thư viện UI dùng chung."
|
|
5
6
|
---
|
|
6
7
|
|
|
7
8
|
# qk-ui-system-builder
|
|
8
9
|
|
|
9
10
|
## Scope
|
|
10
11
|
- Building and maintaining Design Systems and shared UI tokens (Plan & Execute)
|
|
12
|
+
- Enforcing Open Design constraints via `DESIGN.md`
|
|
13
|
+
|
|
14
|
+
## Verbs
|
|
15
|
+
- `[EXTRACT]`: Read `DESIGN.md` and generate CSS variables/tokens.
|
|
16
|
+
- `[ENFORCE]`: Ensure no generic "AI-slop" tokens are created.
|
|
11
17
|
|
|
12
18
|
## Constraints
|
|
13
19
|
```yaml
|
|
14
20
|
must:
|
|
15
|
-
- Extract reusable design tokens (colors, spacing, typography)
|
|
16
|
-
- Ensure components are accessible (A11y)
|
|
21
|
+
- "Extract reusable design tokens (colors, spacing, typography) from DESIGN.md ONLY"
|
|
22
|
+
- "Ensure components are accessible (A11y)"
|
|
17
23
|
must_not:
|
|
18
|
-
- Create duplicate tokens for the same visual value
|
|
24
|
+
- "Create duplicate tokens for the same visual value"
|
|
25
|
+
- "Invent tokens (e.g., standard Tailwind colors) not explicitly defined in DESIGN.md"
|
|
19
26
|
```
|
|
20
27
|
|
|
21
28
|
## Policies
|
|
22
29
|
```yaml
|
|
23
30
|
prefer:
|
|
31
|
+
- Strict adherence to HSL/Oklch over generic HEX colors
|
|
24
32
|
- Composable components over rigid layouts
|
|
25
33
|
```
|
|
26
34
|
|
|
27
35
|
## Escalation
|
|
28
36
|
```yaml
|
|
29
37
|
stop:
|
|
30
|
-
-
|
|
38
|
+
- "DESIGN.md is missing (Prompt user to run bootstrap or provide one)"
|
|
39
|
+
- "Design tokens conflict with existing DESIGN.md guidelines"
|
|
31
40
|
```
|
|
32
41
|
|
|
33
42
|
## Output
|
|
34
|
-
- UI component library or Design System tokens
|
|
35
|
-
```
|
|
43
|
+
- Strict UI component library or Design System tokens mapped to `DESIGN.md`
|
|
@@ -1,36 +1,40 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: qk-validation-gate
|
|
3
3
|
category: qa
|
|
4
|
-
version:
|
|
4
|
+
version: 7.0.0
|
|
5
|
+
description: "Cổng kiểm tra chất lượng bắt buộc (Test, Lint, Security) chặn đứng mọi mã nguồn lỗi."
|
|
5
6
|
---
|
|
6
7
|
|
|
7
8
|
# qk-validation-gate
|
|
8
9
|
|
|
9
10
|
## Scope
|
|
10
|
-
-
|
|
11
|
+
- Pre-commit/Pre-push Quality Gates and Test execution (Evaluate)
|
|
12
|
+
|
|
13
|
+
## Verbs
|
|
14
|
+
- `[VALIDATE]`: Run tests, linters, and security checks before any merge or commit.
|
|
11
15
|
|
|
12
16
|
## Constraints
|
|
13
17
|
```yaml
|
|
14
18
|
must:
|
|
15
|
-
-
|
|
16
|
-
-
|
|
19
|
+
- "Run all unit/integration tests before passing the gate"
|
|
20
|
+
- "Run static analysis (Linting, Type-checking) on modified files"
|
|
17
21
|
must_not:
|
|
18
|
-
-
|
|
19
|
-
-
|
|
22
|
+
- "Bypass failing tests with generic 'ignore' flags"
|
|
23
|
+
- "Allow commits with unaddressed security warnings"
|
|
20
24
|
```
|
|
21
25
|
|
|
22
26
|
## Policies
|
|
23
27
|
```yaml
|
|
24
28
|
prefer:
|
|
25
|
-
-
|
|
29
|
+
- "Strict failure over silent continuation"
|
|
26
30
|
```
|
|
27
31
|
|
|
28
32
|
## Escalation
|
|
29
33
|
```yaml
|
|
30
34
|
stop:
|
|
31
|
-
-
|
|
35
|
+
- "Tests fail or Code coverage drops below threshold"
|
|
36
|
+
- "Linter reports errors (not just warnings)"
|
|
32
37
|
```
|
|
33
38
|
|
|
34
39
|
## Output
|
|
35
|
-
- Pass/Fail
|
|
36
|
-
```
|
|
40
|
+
- Validation report (Pass/Fail) and execution logs.
|
package/skills.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://ai-developer-skill-os.dev/schema/skills-registry.json",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.3",
|
|
4
4
|
"name": "AI Developer Skill OS",
|
|
5
5
|
"description": "Enterprise-ready Agentic Framework for AI Coding Agents — Engineering + Frontend + Backend",
|
|
6
6
|
"language": "en",
|