ai-developer-skill-os 6.0.3 → 7.0.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/AGENTS.md +8 -0
- package/CHANGELOG.md +11 -0
- package/README.md +59 -93
- package/package.json +43 -43
- package/skills/qk-access-policy/SKILL.md +13 -10
- package/skills/qk-ai-builder/SKILL.md +15 -13
- package/skills/qk-api-lifecycle/SKILL.md +19 -12
- package/skills/qk-bug-resolution/SKILL.md +20 -14
- package/skills/qk-context-loader/SKILL.md +14 -8
- package/skills/qk-data-lifecycle/SKILL.md +19 -11
- package/skills/qk-db-optimizer/SKILL.md +17 -12
- package/skills/qk-design-to-code/SKILL.md +14 -6
- package/skills/qk-docs/SKILL.md +15 -12
- package/skills/qk-engineering-standard/SKILL.md +17 -14
- package/skills/qk-feature-delivery/SKILL.md +21 -13
- package/skills/qk-help/SKILL.md +13 -10
- package/skills/qk-orchestrator/SKILL.md +13 -7
- package/skills/qk-policy-engine/SKILL.md +12 -9
- package/skills/qk-production-release/SKILL.md +15 -10
- package/skills/qk-project-bootstrap/SKILL.md +2 -1
- package/skills/qk-project-health/SKILL.md +15 -12
- package/skills/qk-project-memory/SKILL.md +15 -11
- package/skills/qk-system-evolution/SKILL.md +15 -11
- package/skills/qk-ui-audit/SKILL.md +16 -10
- package/skills/qk-ui-system-builder/SKILL.md +14 -7
- package/skills/qk-validation-gate/SKILL.md +14 -11
- package/templates/DESIGN.md +38 -0
- package/tests/behavior-conformance.test.js +14 -11
- package/scratch_update.cjs +0 -66
|
@@ -1,36 +1,41 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: qk-db-optimizer
|
|
3
|
-
category:
|
|
4
|
-
version:
|
|
5
|
-
description: "Tối ưu hóa Database (đánh Index, xử lý N+1 Queries, Slow Queries)."
|
|
3
|
+
category: backend
|
|
4
|
+
version: 7.0.0
|
|
5
|
+
description: "Tối ưu hóa Database (đánh Index, xử lý N+1 Queries, Slow Queries) dựa trên bằng chứng."
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# qk-db-optimizer
|
|
9
9
|
|
|
10
10
|
## Scope
|
|
11
|
-
- Database
|
|
11
|
+
- Database Optimization and Performance Auditing (Diagnose & Execute)
|
|
12
|
+
|
|
13
|
+
## Verbs
|
|
14
|
+
- `[OPTIMIZE]`: Analyze query plans and apply targeted indexes.
|
|
12
15
|
|
|
13
16
|
## Constraints
|
|
14
17
|
```yaml
|
|
15
18
|
must:
|
|
16
|
-
- Analyze
|
|
17
|
-
-
|
|
19
|
+
- "Analyze EXPLAIN or Query Plans BEFORE adding indexes"
|
|
20
|
+
- "Solve N+1 queries using Data Loaders or explicit Joins"
|
|
21
|
+
- "Validate query performance improvements"
|
|
18
22
|
must_not:
|
|
19
|
-
-
|
|
23
|
+
- "Guess missing indexes without slow query logs"
|
|
24
|
+
- "Add overlapping or redundant indexes"
|
|
20
25
|
```
|
|
21
26
|
|
|
22
27
|
## Policies
|
|
23
28
|
```yaml
|
|
24
29
|
prefer:
|
|
25
|
-
-
|
|
30
|
+
- "Compound indexes for multi-column queries"
|
|
31
|
+
- "Eager loading over lazy loading for known data relations"
|
|
26
32
|
```
|
|
27
33
|
|
|
28
34
|
## Escalation
|
|
29
35
|
```yaml
|
|
30
|
-
|
|
31
|
-
-
|
|
36
|
+
stop:
|
|
37
|
+
- "No evidence of slow queries or performance bottlenecks"
|
|
32
38
|
```
|
|
33
39
|
|
|
34
40
|
## Output
|
|
35
|
-
-
|
|
36
|
-
```
|
|
41
|
+
- Optimized queries and index migration files.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: qk-design-to-code
|
|
3
3
|
category: frontend
|
|
4
|
-
version:
|
|
4
|
+
version: 7.0.0
|
|
5
5
|
description: "Chuyển đổi thiết kế từ Figma/Images thành các UI component hoàn chỉnh, chuẩn pixel."
|
|
6
6
|
---
|
|
7
7
|
|
|
@@ -9,15 +9,22 @@ description: "Chuyển đổi thiết kế từ Figma/Images thành các UI comp
|
|
|
9
9
|
|
|
10
10
|
## Scope
|
|
11
11
|
- Converting Figma/UI designs into pixel-perfect frontend code (Execute)
|
|
12
|
+
- Rejecting generic templates and enforcing bespoke, high-quality aesthetics.
|
|
13
|
+
|
|
14
|
+
## Verbs
|
|
15
|
+
- `[REDESIGN]`: Discard generic UI structure, keep data, and rebuild with strict Hallmark/Open Design principles.
|
|
16
|
+
- `[BUILD]`: Generate UI adhering 100% to `DESIGN.md`.
|
|
12
17
|
|
|
13
18
|
## Constraints
|
|
14
19
|
```yaml
|
|
15
20
|
must:
|
|
16
|
-
- Use the project's existing design system / tokens
|
|
17
|
-
- Ensure responsive layouts
|
|
21
|
+
- Use the project's existing `DESIGN.md` design system / tokens ONLY
|
|
22
|
+
- Ensure responsive layouts and generous whitespace
|
|
23
|
+
- Include micro-interactions and smooth transitions
|
|
18
24
|
must_not:
|
|
19
25
|
- Hardcode magic numbers for spacing/colors
|
|
20
26
|
- Invent new UI components if existing ones suffice
|
|
27
|
+
- Use generic "AI-slop" aesthetics (e.g., default Tailwind blue/red, cluttered layouts, 1px default borders)
|
|
21
28
|
```
|
|
22
29
|
|
|
23
30
|
## Policies
|
|
@@ -25,14 +32,15 @@ must_not:
|
|
|
25
32
|
prefer:
|
|
26
33
|
- Semantic HTML elements
|
|
27
34
|
- CSS Grid / Flexbox over absolute positioning
|
|
35
|
+
- High-end aesthetics (glassmorphism, organic shadows, exact typography)
|
|
28
36
|
```
|
|
29
37
|
|
|
30
38
|
## Escalation
|
|
31
39
|
```yaml
|
|
32
40
|
stop:
|
|
33
|
-
- Design assets or requirements are ambiguous
|
|
41
|
+
- "Design assets or requirements are ambiguous"
|
|
42
|
+
- "DESIGN.md is missing"
|
|
34
43
|
```
|
|
35
44
|
|
|
36
45
|
## Output
|
|
37
|
-
- Frontend components and stylesheets
|
|
38
|
-
```
|
|
46
|
+
- Frontend components and stylesheets (Anti-Slop compliant)
|
package/skills/qk-docs/SKILL.md
CHANGED
|
@@ -1,37 +1,40 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: qk-docs
|
|
3
|
-
category:
|
|
4
|
-
version:
|
|
5
|
-
description: "Viết và duy trì tài liệu dự án
|
|
3
|
+
category: documentation
|
|
4
|
+
version: 7.0.0
|
|
5
|
+
description: "Viết và duy trì tài liệu dự án chính xác tuyệt đối, cấm bịa đặt."
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# qk-docs
|
|
9
9
|
|
|
10
10
|
## Scope
|
|
11
|
-
-
|
|
11
|
+
- Technical documentation, Readme files, and inline comments (Execute)
|
|
12
|
+
|
|
13
|
+
## Verbs
|
|
14
|
+
- `[DOCUMENT]`: Synchronize documentation with the actual implementation.
|
|
12
15
|
|
|
13
16
|
## Constraints
|
|
14
17
|
```yaml
|
|
15
18
|
must:
|
|
16
|
-
-
|
|
17
|
-
-
|
|
19
|
+
- "Ensure documentation matches the exact implementation in the codebase"
|
|
20
|
+
- "Update documentation whenever corresponding code is changed"
|
|
18
21
|
must_not:
|
|
19
|
-
-
|
|
20
|
-
-
|
|
22
|
+
- "Hallucinate or guess API parameters not present in the code"
|
|
23
|
+
- "Write generic or useless comments (e.g., '// gets the user')"
|
|
21
24
|
```
|
|
22
25
|
|
|
23
26
|
## Policies
|
|
24
27
|
```yaml
|
|
25
28
|
prefer:
|
|
26
|
-
-
|
|
29
|
+
- "Self-documenting code over excessive inline comments"
|
|
30
|
+
- "Living documentation (e.g., Swagger/JSDoc) over isolated Markdown files"
|
|
27
31
|
```
|
|
28
32
|
|
|
29
33
|
## Escalation
|
|
30
34
|
```yaml
|
|
31
35
|
stop:
|
|
32
|
-
-
|
|
36
|
+
- "Documentation requests conflict with actual codebase implementation"
|
|
33
37
|
```
|
|
34
38
|
|
|
35
39
|
## Output
|
|
36
|
-
-
|
|
37
|
-
```
|
|
40
|
+
- Accurate documentation files or inline comments.
|
|
@@ -1,39 +1,42 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: qk-engineering-standard
|
|
3
|
-
category:
|
|
4
|
-
version:
|
|
5
|
-
description: "Ép buộc áp dụng SOLID, DRY, Clean Code, và
|
|
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."
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# qk-engineering-standard
|
|
9
9
|
|
|
10
10
|
## Scope
|
|
11
|
-
-
|
|
11
|
+
- Code Quality, Architecture, and Standards Enforcement (Audit)
|
|
12
|
+
|
|
13
|
+
## Verbs
|
|
14
|
+
- `[ENFORCE]`: Reject code that violates engineering standards.
|
|
12
15
|
|
|
13
16
|
## Constraints
|
|
14
17
|
```yaml
|
|
15
18
|
must:
|
|
16
|
-
-
|
|
17
|
-
-
|
|
19
|
+
- "Enforce SOLID principles and DRY"
|
|
20
|
+
- "Keep cyclomatic complexity low (Functions must do ONE thing)"
|
|
21
|
+
- "Enforce strict naming conventions"
|
|
18
22
|
must_not:
|
|
19
|
-
-
|
|
20
|
-
-
|
|
23
|
+
- "Allow spaghetti code or mega-functions"
|
|
24
|
+
- "Merge logic that mixes UI, State, and Network in one file"
|
|
21
25
|
```
|
|
22
26
|
|
|
23
27
|
## Policies
|
|
24
28
|
```yaml
|
|
25
29
|
prefer:
|
|
26
|
-
-
|
|
27
|
-
-
|
|
30
|
+
- "Composition over inheritance"
|
|
31
|
+
- "Early returns and guard clauses"
|
|
28
32
|
```
|
|
29
33
|
|
|
30
34
|
## Escalation
|
|
31
35
|
```yaml
|
|
32
36
|
stop:
|
|
33
|
-
-
|
|
37
|
+
- "Cyclomatic complexity exceeds acceptable thresholds"
|
|
38
|
+
- "Code violates V7 Anti-Slop architectural rules"
|
|
34
39
|
```
|
|
35
40
|
|
|
36
41
|
## Output
|
|
37
|
-
-
|
|
38
|
-
- Refactored code
|
|
39
|
-
```
|
|
42
|
+
- Refactored code or Audit rejection report.
|
|
@@ -1,40 +1,48 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: qk-feature-delivery
|
|
3
3
|
category: fullstack
|
|
4
|
-
version:
|
|
5
|
-
description: "Phát triển tính năng mới
|
|
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)."
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# qk-feature-delivery
|
|
9
9
|
|
|
10
10
|
## Scope
|
|
11
|
-
- 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.
|
|
12
16
|
|
|
13
17
|
## Constraints
|
|
14
18
|
```yaml
|
|
15
19
|
must:
|
|
16
|
-
-
|
|
17
|
-
-
|
|
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"
|
|
18
24
|
must_not:
|
|
19
|
-
- Mix refactoring into feature work
|
|
20
|
-
- Ignore backward compatibility
|
|
25
|
+
- "Mix refactoring into feature work"
|
|
26
|
+
- "Ignore backward compatibility"
|
|
27
|
+
- "Emit generic 'AI-slop' UI or unverified logic"
|
|
21
28
|
```
|
|
22
29
|
|
|
23
30
|
## Policies
|
|
24
31
|
```yaml
|
|
25
32
|
prefer:
|
|
26
|
-
- Plan before implementing
|
|
27
|
-
- Cover UI loading/error states
|
|
33
|
+
- "Plan before implementing"
|
|
34
|
+
- "Cover UI loading/error states"
|
|
35
|
+
- "Self-audit against DESIGN.md and Context Graph"
|
|
28
36
|
```
|
|
29
37
|
|
|
30
38
|
## Escalation
|
|
31
39
|
```yaml
|
|
32
40
|
stop:
|
|
33
|
-
- Requirements are ambiguous
|
|
41
|
+
- "Requirements are ambiguous"
|
|
42
|
+
- "DESIGN.md or Context Graph is missing/unavailable"
|
|
34
43
|
ask:
|
|
35
|
-
- Before adding heavy dependencies
|
|
44
|
+
- "Before adding heavy dependencies"
|
|
36
45
|
```
|
|
37
46
|
|
|
38
47
|
## Output
|
|
39
|
-
- Feature implementation
|
|
40
|
-
```
|
|
48
|
+
- Feature implementation conforming to V7 quality standards.
|
package/skills/qk-help/SKILL.md
CHANGED
|
@@ -1,35 +1,38 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: qk-help
|
|
3
|
-
category:
|
|
4
|
-
version:
|
|
5
|
-
description: "Hiển thị danh sách các kỹ năng hiện có và các
|
|
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."
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# qk-help
|
|
9
9
|
|
|
10
10
|
## Scope
|
|
11
|
-
-
|
|
11
|
+
- Skill discovery and usage assistance (Collect)
|
|
12
|
+
|
|
13
|
+
## Verbs
|
|
14
|
+
- `[HELP]`: Display strict V7 guidelines and available skills.
|
|
12
15
|
|
|
13
16
|
## Constraints
|
|
14
17
|
```yaml
|
|
15
18
|
must:
|
|
16
|
-
-
|
|
19
|
+
- "List all available V7 skills and their core 'must' constraints"
|
|
20
|
+
- "Emphasize the Zero-Trust and Anti-Slop philosophy"
|
|
17
21
|
must_not:
|
|
18
|
-
-
|
|
22
|
+
- "Display outdated V6 instructions or deprecated skills"
|
|
19
23
|
```
|
|
20
24
|
|
|
21
25
|
## Policies
|
|
22
26
|
```yaml
|
|
23
27
|
prefer:
|
|
24
|
-
-
|
|
28
|
+
- "Clear, formatted Markdown output"
|
|
25
29
|
```
|
|
26
30
|
|
|
27
31
|
## Escalation
|
|
28
32
|
```yaml
|
|
29
33
|
ask:
|
|
30
|
-
- If the user
|
|
34
|
+
- "If the user is looking for a skill that does not exist"
|
|
31
35
|
```
|
|
32
36
|
|
|
33
37
|
## Output
|
|
34
|
-
- List of
|
|
35
|
-
```
|
|
38
|
+
- List of skills and V7 usage guidelines.
|
|
@@ -1,36 +1,42 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: qk-orchestrator
|
|
3
3
|
category: core
|
|
4
|
-
version:
|
|
5
|
-
description: "Điều hướng yêu cầu của người dùng
|
|
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."
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# qk-orchestrator
|
|
9
9
|
|
|
10
10
|
## Scope
|
|
11
|
-
- 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.
|
|
12
15
|
|
|
13
16
|
## Constraints
|
|
14
17
|
```yaml
|
|
15
18
|
must:
|
|
16
|
-
- 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.
|
|
17
22
|
must_not:
|
|
18
23
|
- Write code directly
|
|
19
24
|
- Hallucinate non-existent skills
|
|
25
|
+
- Allow UI work without a Design Contract
|
|
20
26
|
```
|
|
21
27
|
|
|
22
28
|
## Policies
|
|
23
29
|
```yaml
|
|
24
30
|
prefer:
|
|
25
|
-
-
|
|
31
|
+
- Strict sequencing (Context Map -> Audit -> Code -> Verify) over chaotic parallel generation.
|
|
26
32
|
```
|
|
27
33
|
|
|
28
34
|
## Escalation
|
|
29
35
|
```yaml
|
|
30
36
|
stop:
|
|
31
37
|
- No matching skill is found
|
|
38
|
+
- The task violates the Zero-Trust or Anti-Slop philosophy of V7.
|
|
32
39
|
```
|
|
33
40
|
|
|
34
41
|
## Output
|
|
35
|
-
- Delegation plan
|
|
36
|
-
```
|
|
42
|
+
- Delegation plan with hard prerequisites checked.
|
|
@@ -1,36 +1,39 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: qk-policy-engine
|
|
3
3
|
category: security
|
|
4
|
-
version:
|
|
4
|
+
version: 7.0.0
|
|
5
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."
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# qk-policy-engine
|
|
9
9
|
|
|
10
10
|
## Scope
|
|
11
|
-
-
|
|
11
|
+
- Security policies, authorization rules, and compliance (Evaluate)
|
|
12
|
+
|
|
13
|
+
## Verbs
|
|
14
|
+
- `[AUTHORIZE]`: Evaluate requests against the strict policy matrix.
|
|
12
15
|
|
|
13
16
|
## Constraints
|
|
14
17
|
```yaml
|
|
15
18
|
must:
|
|
16
|
-
-
|
|
17
|
-
-
|
|
19
|
+
- "Enforce Principle of Least Privilege (PoLP) on all operations"
|
|
20
|
+
- "Log all authorization failures for audit purposes"
|
|
18
21
|
must_not:
|
|
19
|
-
-
|
|
22
|
+
- "Bypass security checks for 'admin' or 'dev' accounts in production"
|
|
23
|
+
- "Hardcode plain-text secrets in policy rules"
|
|
20
24
|
```
|
|
21
25
|
|
|
22
26
|
## Policies
|
|
23
27
|
```yaml
|
|
24
28
|
prefer:
|
|
25
|
-
-
|
|
29
|
+
- "Explicit Deny by default"
|
|
26
30
|
```
|
|
27
31
|
|
|
28
32
|
## Escalation
|
|
29
33
|
```yaml
|
|
30
34
|
stop:
|
|
31
|
-
-
|
|
35
|
+
- "Policy evaluation fails (Unauthorized Action)"
|
|
32
36
|
```
|
|
33
37
|
|
|
34
38
|
## Output
|
|
35
|
-
- Policy evaluation result (Allow/Deny)
|
|
36
|
-
```
|
|
39
|
+
- Policy evaluation result (Allow/Deny) and audit trail.
|
|
@@ -1,36 +1,41 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: qk-production-release
|
|
3
3
|
category: devops
|
|
4
|
-
version:
|
|
5
|
-
description: "Chuẩn bị codebase
|
|
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."
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# qk-production-release
|
|
9
9
|
|
|
10
10
|
## Scope
|
|
11
|
-
-
|
|
11
|
+
- Production builds, CI/CD pipelines, and Security gating (Execute)
|
|
12
|
+
|
|
13
|
+
## Verbs
|
|
14
|
+
- `[RELEASE]`: Prepare and sign off on a production-ready artifact.
|
|
12
15
|
|
|
13
16
|
## Constraints
|
|
14
17
|
```yaml
|
|
15
18
|
must:
|
|
16
|
-
-
|
|
17
|
-
-
|
|
19
|
+
- "Run full suite of linters, tests, and security scans (Validation Gate) before release"
|
|
20
|
+
- "Minify and strip out all debug/console logs"
|
|
18
21
|
must_not:
|
|
19
|
-
-
|
|
22
|
+
- "Release if ANY high-priority bug is unresolved"
|
|
23
|
+
- "Deploy with dev-environment secrets or configurations"
|
|
20
24
|
```
|
|
21
25
|
|
|
22
26
|
## Policies
|
|
23
27
|
```yaml
|
|
24
28
|
prefer:
|
|
25
|
-
-
|
|
29
|
+
- "Automated CI/CD validation over manual checks"
|
|
30
|
+
- "Immutable build artifacts"
|
|
26
31
|
```
|
|
27
32
|
|
|
28
33
|
## Escalation
|
|
29
34
|
```yaml
|
|
30
35
|
stop:
|
|
31
|
-
-
|
|
36
|
+
- "Tests fail during the release build"
|
|
37
|
+
- "Environment variables for production are missing"
|
|
32
38
|
```
|
|
33
39
|
|
|
34
40
|
## Output
|
|
35
|
-
-
|
|
36
|
-
```
|
|
41
|
+
- Production-ready build artifacts and deployment scripts.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: qk-project-bootstrap
|
|
3
3
|
category: fullstack
|
|
4
|
-
version:
|
|
4
|
+
version: 7.0.0
|
|
5
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."
|
|
6
6
|
---
|
|
7
7
|
|
|
@@ -15,6 +15,7 @@ description: "Khởi tạo dự án mới với các best practices, linters, v
|
|
|
15
15
|
must:
|
|
16
16
|
- Setup linters, formatters, and standard directory structures
|
|
17
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.
|
|
18
19
|
must_not:
|
|
19
20
|
- Hardcode outdated dependency versions
|
|
20
21
|
- Skip adding basic README instructions
|
|
@@ -1,37 +1,40 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: qk-project-health
|
|
3
|
-
category:
|
|
4
|
-
version:
|
|
5
|
-
description: "Kiểm toán toàn diện
|
|
3
|
+
category: qa
|
|
4
|
+
version: 7.0.0
|
|
5
|
+
description: "Kiểm toán toàn diện Code Smells, Tech Debt, và Architecture."
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# qk-project-health
|
|
9
9
|
|
|
10
10
|
## Scope
|
|
11
|
-
-
|
|
11
|
+
- Technical Debt Auditing and System Health Monitoring (Evaluate)
|
|
12
|
+
|
|
13
|
+
## Verbs
|
|
14
|
+
- `[AUDIT]`: Evaluate the entire project's health.
|
|
12
15
|
|
|
13
16
|
## Constraints
|
|
14
17
|
```yaml
|
|
15
18
|
must:
|
|
16
|
-
-
|
|
17
|
-
-
|
|
19
|
+
- "Identify deprecated packages and security vulnerabilities"
|
|
20
|
+
- "Map out technical debt explicitly"
|
|
18
21
|
must_not:
|
|
19
|
-
-
|
|
20
|
-
-
|
|
22
|
+
- "Ignore compiler or strict-mode warnings"
|
|
23
|
+
- "Hide systemic architectural flaws"
|
|
21
24
|
```
|
|
22
25
|
|
|
23
26
|
## Policies
|
|
24
27
|
```yaml
|
|
25
28
|
prefer:
|
|
26
|
-
-
|
|
29
|
+
- "Automated static analysis tools"
|
|
30
|
+
- "Actionable refactoring roadmaps"
|
|
27
31
|
```
|
|
28
32
|
|
|
29
33
|
## Escalation
|
|
30
34
|
```yaml
|
|
31
35
|
stop:
|
|
32
|
-
-
|
|
36
|
+
- "Critical security vulnerabilities detected (CVSS High/Critical)"
|
|
33
37
|
```
|
|
34
38
|
|
|
35
39
|
## Output
|
|
36
|
-
- Health report and
|
|
37
|
-
```
|
|
40
|
+
- Health report and Tech Debt mitigation plan.
|
|
@@ -1,36 +1,40 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: qk-project-memory
|
|
3
3
|
category: core
|
|
4
|
-
version:
|
|
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."
|
|
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."
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# qk-project-memory
|
|
9
9
|
|
|
10
10
|
## Scope
|
|
11
|
-
-
|
|
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.
|
|
12
16
|
|
|
13
17
|
## Constraints
|
|
14
18
|
```yaml
|
|
15
19
|
must:
|
|
16
|
-
-
|
|
17
|
-
-
|
|
20
|
+
- "Verify facts against the actual codebase before storing them"
|
|
21
|
+
- "Timestamp and categorize memory entries"
|
|
18
22
|
must_not:
|
|
19
|
-
- Store
|
|
23
|
+
- "Store assumptions or unverified AI hypotheses"
|
|
24
|
+
- "Overwrite fundamental architectural rules without explicit user consent"
|
|
20
25
|
```
|
|
21
26
|
|
|
22
27
|
## Policies
|
|
23
28
|
```yaml
|
|
24
29
|
prefer:
|
|
25
|
-
-
|
|
30
|
+
- "Structured data formats (JSON/Markdown) for memory storage"
|
|
26
31
|
```
|
|
27
32
|
|
|
28
33
|
## Escalation
|
|
29
34
|
```yaml
|
|
30
|
-
|
|
31
|
-
-
|
|
35
|
+
stop:
|
|
36
|
+
- "Memory conflicts with the core AGENTS.md rules"
|
|
32
37
|
```
|
|
33
38
|
|
|
34
39
|
## Output
|
|
35
|
-
-
|
|
36
|
-
```
|
|
40
|
+
- Context retrieval results or stored memory artifacts.
|
|
@@ -1,36 +1,40 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: qk-system-evolution
|
|
3
|
-
category:
|
|
4
|
-
version:
|
|
5
|
-
description: "Cập nhật an toàn các thư viện
|
|
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."
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# qk-system-evolution
|
|
9
9
|
|
|
10
10
|
## Scope
|
|
11
|
-
-
|
|
11
|
+
- Dependency upgrades, Framework migrations, and rollback management (Execute)
|
|
12
|
+
|
|
13
|
+
## Verbs
|
|
14
|
+
- `[UPGRADE]`: Migrate systems with zero-trust testing.
|
|
12
15
|
|
|
13
16
|
## Constraints
|
|
14
17
|
```yaml
|
|
15
18
|
must:
|
|
16
|
-
-
|
|
17
|
-
-
|
|
19
|
+
- "MUST have a Rollback Plan before executing any major upgrade"
|
|
20
|
+
- "Verify all dependencies against the Context Graph to catch breaking changes"
|
|
18
21
|
must_not:
|
|
19
|
-
-
|
|
22
|
+
- "Upgrade major versions without reading the Changelog/Migration Guide"
|
|
23
|
+
- "Blindly run 'npm update' or equivalent"
|
|
20
24
|
```
|
|
21
25
|
|
|
22
26
|
## Policies
|
|
23
27
|
```yaml
|
|
24
28
|
prefer:
|
|
25
|
-
- Incremental
|
|
29
|
+
- "Incremental upgrades over 'big bang' migrations"
|
|
26
30
|
```
|
|
27
31
|
|
|
28
32
|
## Escalation
|
|
29
33
|
```yaml
|
|
30
34
|
stop:
|
|
31
|
-
-
|
|
35
|
+
- "Dependency upgrades break existing test suites"
|
|
36
|
+
- "No Rollback Plan provided"
|
|
32
37
|
```
|
|
33
38
|
|
|
34
39
|
## Output
|
|
35
|
-
-
|
|
36
|
-
```
|
|
40
|
+
- Upgraded dependencies and migration logs.
|