ai-developer-skill-os 3.1.4 → 5.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.
Files changed (97) hide show
  1. package/README.md +15 -19
  2. package/_template/SKILL.md +37 -133
  3. package/framework/KERNEL.md +58 -0
  4. package/framework/bias-library/cosmetic-refactor.md +21 -0
  5. package/framework/bias-library/enterprise-crud.md +21 -0
  6. package/framework/bias-library/fake-ui-slop.md +20 -0
  7. package/framework/bias-library/hallucinated-tools.md +20 -0
  8. package/framework/bias-library/missing-ui-states.md +19 -0
  9. package/framework/bias-library/over-indexing.md +20 -0
  10. package/framework/bias-library/swallow-errors.md +19 -0
  11. package/framework/bias-library/ui-only-security.md +17 -0
  12. package/framework/dial-library/complexity-budget.md +13 -0
  13. package/framework/dial-library/granularity.md +13 -0
  14. package/framework/dial-library/optimization-strategy.md +13 -0
  15. package/framework/dial-library/strictness.md +13 -0
  16. package/framework/rule-library/delegation-only.md +9 -0
  17. package/framework/rule-library/minimal-diff.md +9 -0
  18. package/package.json +1 -1
  19. package/skills/qk-access-policy/SKILL.md +41 -31
  20. package/skills/qk-ai-builder/SKILL.md +40 -31
  21. package/skills/qk-api-lifecycle/SKILL.md +40 -53
  22. package/skills/qk-bug-resolution/SKILL.md +40 -57
  23. package/skills/qk-context-loader/SKILL.md +37 -36
  24. package/skills/qk-data-lifecycle/SKILL.md +38 -50
  25. package/skills/qk-db-optimizer/SKILL.md +56 -0
  26. package/skills/qk-design-to-code/SKILL.md +41 -36
  27. package/skills/qk-docs/SKILL.md +38 -42
  28. package/skills/qk-engineering-standard/SKILL.md +40 -52
  29. package/skills/qk-feature-delivery/SKILL.md +40 -56
  30. package/skills/qk-help/SKILL.md +37 -29
  31. package/skills/qk-orchestrator/SKILL.md +41 -43
  32. package/skills/qk-policy-engine/SKILL.md +37 -42
  33. package/skills/qk-production-release/SKILL.md +41 -37
  34. package/skills/qk-project-bootstrap/SKILL.md +40 -33
  35. package/skills/qk-project-health/SKILL.md +37 -45
  36. package/skills/qk-project-memory/SKILL.md +39 -25
  37. package/skills/qk-system-evolution/SKILL.md +37 -52
  38. package/skills/qk-ui-audit/SKILL.md +38 -47
  39. package/skills/qk-ui-system-builder/SKILL.md +39 -30
  40. package/skills/qk-validation-gate/SKILL.md +35 -48
  41. package/skills.json +313 -86
  42. package/taste-skill/.claude-plugin/marketplace.json +20 -0
  43. package/taste-skill/.claude-plugin/plugin.json +19 -0
  44. package/taste-skill/.github/FUNDING.yml +1 -0
  45. package/taste-skill/.github/copilot-instructions.md +11 -0
  46. package/taste-skill/CHANGELOG.md +111 -0
  47. package/taste-skill/LICENSE +21 -0
  48. package/taste-skill/README.md +212 -0
  49. package/taste-skill/assets/.gitkeep +0 -0
  50. package/taste-skill/assets/readme-banner.webp +0 -0
  51. package/taste-skill/assets/readme-buttons/btn-agent-skills.webp +0 -0
  52. package/taste-skill/assets/readme-buttons/btn-changelog.webp +0 -0
  53. package/taste-skill/assets/readme-buttons/btn-mit.webp +0 -0
  54. package/taste-skill/assets/readme-buttons/btn-site.webp +0 -0
  55. package/taste-skill/assets/readme-buttons/btn-tools.webp +0 -0
  56. package/taste-skill/assets/readme-cta-tasteskill.svg +5 -0
  57. package/taste-skill/assets/sponsors/animations-dev.webp +0 -0
  58. package/taste-skill/assets/sponsors/emil-animations-dev.webp +0 -0
  59. package/taste-skill/assets/taste-skill-logo.png +0 -0
  60. package/taste-skill/assets/taste-skill-logo.webp +0 -0
  61. package/taste-skill/assets/vercel-oss-program-badge.svg +44 -0
  62. package/taste-skill/examples/floria-bottom.webp +0 -0
  63. package/taste-skill/examples/floria-full.webp +0 -0
  64. package/taste-skill/examples/floria-top.webp +0 -0
  65. package/taste-skill/research/README.md +8 -0
  66. package/taste-skill/research/laziness/README.md +25 -0
  67. package/taste-skill/research/laziness/findings/empirical-results.md +58 -0
  68. package/taste-skill/research/laziness/findings/references.md +20 -0
  69. package/taste-skill/research/laziness/remediation/architectural-patterns.md +55 -0
  70. package/taste-skill/research/laziness/remediation/parameter-tuning.md +44 -0
  71. package/taste-skill/research/laziness/remediation/prompt-engineering.md +52 -0
  72. package/taste-skill/research/laziness/remediation/reference-prompts.md +79 -0
  73. package/taste-skill/research/laziness/root-causes/cognitive-shortcuts.md +23 -0
  74. package/taste-skill/research/laziness/root-causes/output-limits.md +39 -0
  75. package/taste-skill/research/laziness/root-causes/rlhf-and-compute.md +27 -0
  76. package/taste-skill/research/laziness/root-causes/training-data-bias.md +28 -0
  77. package/taste-skill/scripts/build-emil-sponsor-row.mjs +41 -0
  78. package/taste-skill/scripts/convert-readme-assets-webp.mjs +142 -0
  79. package/taste-skill/scripts/process-readme-buttons.mjs +108 -0
  80. package/taste-skill/scripts/process-sponsor-badge.mjs +83 -0
  81. package/taste-skill/skill.sh +25 -0
  82. package/taste-skill/skills/brandkit/SKILL.md +798 -0
  83. package/taste-skill/skills/brutalist-skill/SKILL.md +92 -0
  84. package/taste-skill/skills/gpt-tasteskill/SKILL.md +74 -0
  85. package/taste-skill/skills/image-to-code-skill/SKILL.md +1228 -0
  86. package/taste-skill/skills/imagegen-frontend-mobile/SKILL.md +1465 -0
  87. package/taste-skill/skills/imagegen-frontend-web/SKILL.md +987 -0
  88. package/taste-skill/skills/llms.txt +13 -0
  89. package/taste-skill/skills/minimalist-skill/SKILL.md +85 -0
  90. package/taste-skill/skills/output-skill/SKILL.md +49 -0
  91. package/taste-skill/skills/redesign-skill/SKILL.md +178 -0
  92. package/taste-skill/skills/soft-skill/SKILL.md +98 -0
  93. package/taste-skill/skills/stitch-skill/DESIGN.md +121 -0
  94. package/taste-skill/skills/stitch-skill/SKILL.md +184 -0
  95. package/taste-skill/skills/taste-skill/SKILL.md +1206 -0
  96. package/taste-skill/skills/taste-skill-v1/SKILL.md +226 -0
  97. package/skills/qk-documentation-system/SKILL.md +0 -45
@@ -1,60 +1,56 @@
1
1
  ---
2
2
  name: qk-docs
3
- version: 3.1.4
4
- updated: 2026-07-02
5
- description: Write and maintain human-readable project documentation.
3
+ version: 5.0.0
4
+ updated: 2026-07-03
5
+ description: Viết duy trì tài liệu dự án để con người có thể dễ dàng đọc hiểu.
6
6
  category: documentation
7
- behavior: static-analysis
8
- intent: maintain
9
- priority: low
10
- tags: [docs, markdown, jsdoc, readme]
7
+ tags: [documentation, readme, comments]
11
8
  platforms: [claude-code, cursor, windsurf, gemini-cli]
12
- trigger: User asks to write docs, update the README, or generate JSDoc comments.
13
- inputs: [Source code, Task context]
14
- outputs: [Markdown Documentation, JSDoc]
15
- allowed_tools: [read_file, write_to_file]
16
- pipeline: [analyze, implement, validate, complete]
17
9
  ---
18
10
 
19
- # 🛠️ qk-docs - Standard Operating Procedure
11
+ # 🛠️ qk-docs
20
12
 
21
- > **Goal:** Đóng vai trò "Technical Writer". Viết tài liệu (README, API Docs, Code Comments) rõ ràng, dễ hiểu cho con người.
13
+ > **Inheritance:** Kỹ năng này tuân thủ Kiến trúc v5.0 của `framework/KERNEL.md`.
14
+ > Output bắt buộc là Decision Summary.
22
15
 
23
- ## 🔄 1. Chain of Thought (SOP)
16
+ ---
24
17
 
25
- 1. **Analyze (Context Extraction):**
26
- - Read the target source code to understand its Inputs, Outputs, and side effects.
27
- 2. **Implement (Drafting):**
28
- - Write Markdown or JSDoc comments.
29
- - Structure: Description -> Parameters -> Returns -> Warnings/Notes.
30
- 3. **Validate (Review Examples):**
31
- - ALWAYS provide 1-2 real-world code examples demonstrating how to use the function/API.
32
- 4. **Complete (Format):**
33
- - Ensure proper Markdown syntax (bolding, code blocks with languages).
18
+ ## 🎯 Mission (Scope)
19
+ - Dịch logic phức tạp thành giải thích tiếng Việt trong sáng cho con người.
20
+ - Do NOT dịch nguyên xi các thuật ngữ chuyên ngành (Props, Hook, Cache).
34
21
 
35
- ## 🛡️ 2. Constraints & Rules
22
+ ---
36
23
 
37
- - **Human Friendly:** Avoid overly academic language. Explain it as if explaining to a junior developer.
38
- - **Language Hybrid:** If writing Vietnamese documentation, keep technical keywords (props, state, endpoint, fetch) in English.
24
+ ## ⚙️ Capabilities (Cognitive Pipeline)
25
+ ```yaml
26
+ Pipeline:
27
+ - inference
28
+ - planning
29
+ - execution
30
+ - bias-review
31
+ - ship-check
32
+ ```
39
33
 
40
- ## 🌳 3. Decision Tree
34
+ ---
41
35
 
42
- ```text
43
- Is this an API Documentation?
44
- ├── YES → Use standard REST/GraphQL documentation layout (Endpoint, Method, Body, Response).
45
- └── NO → Is it a Component Documentation?
46
- ├── YES → Document the Props interface and usage examples.
47
- └── NO → Write standard JSDoc.
36
+ ## 🎛️ Dials (Hành vi)
37
+ ```yaml
38
+ Dials:
39
+ - id: strictness
48
40
  ```
49
41
 
50
- ## 🤝 4. Handoff Pipeline
51
-
52
- 1. `complete`: Generate the Docs and save them to the project files.
42
+ ---
53
43
 
54
- ## 📝 5. Output Format
44
+ ## 🛡️ Biases (Sửa lỗi mặc định)
45
+ ```yaml
46
+ Biases:
47
+ - id: hallucinated-tools # (Tự bịa ra các step hướng dẫn không tồn tại)
48
+ ```
55
49
 
56
- Vui lòng trả kết quả bằng Tiếng Việt.
50
+ ---
57
51
 
58
- - **Tóm tắt (Summary):** Tài liệu nào đã được tạo/cập nhật.
59
- - **Chi tiết (Changes):** Cấu trúc tài liệu.
60
- - **Xác thực (Verification):** Yêu cầu User đọc lướt qua tài liệu.
52
+ ## 🛫 Ship Criteria
53
+ ```yaml
54
+ Rules:
55
+ - id: minimal-diff
56
+ ```
@@ -1,69 +1,57 @@
1
1
  ---
2
2
  name: qk-engineering-standard
3
- version: 3.1.4
4
- updated: 2026-07-02
5
- description: Enforce SOLID, DRY, Clean Code, and Naming conventions.
6
- category: standard
7
- behavior: static-analysis
8
- intent: review-code
9
- priority: critical
10
- tags: [clean-code, architecture, refactoring, solid]
3
+ version: 5.0.0
4
+ updated: 2026-07-03
5
+ description: Ép buộc áp dụng SOLID, DRY, Clean Code, các quy tắc đặt tên.
6
+ category: conventions
7
+ tags: [clean-code, solid, refactoring, conventions]
11
8
  platforms: [claude-code, cursor, windsurf, gemini-cli]
12
- trigger: User asks to review code, refactor code, or as part of the pipeline before validation.
13
- inputs: [Source Code, Target Directory]
14
- outputs: [Refactored Code, Code Review Report]
15
- allowed_tools: [grep_search, read_file, write_to_file]
16
- pipeline: [analyze, review, implement, validate, complete]
17
9
  ---
18
10
 
19
- # 🛠️ qk-engineering-standard - Standard Operating Procedure
11
+ # 🛠️ qk-engineering-standard
20
12
 
21
- > **Goal:** Đóng vai trò là "Kiến trúc sư trưởng", rà soát và ép buộc mã nguồn phải tuân thủ chuẩn mực Clean Code, dễ đọc và dễ bảo trì.
13
+ > **Inheritance:** Kỹ năng này tuân thủ Kiến trúc v5.0 của `framework/KERNEL.md`.
14
+ > Output bắt buộc là Decision Summary.
22
15
 
23
- ## 🔄 1. Chain of Thought (SOP)
24
-
25
- 1. **Analyze (Context Review):**
26
- - Scan the target file(s) and determine their role (UI, Logic, API, Config).
27
- 2. **Review (Smell Detection):**
28
- - Check for Naming violations (e.g., `temp`, `data`, `res` instead of `userData`).
29
- - Check for Magic Numbers/Strings.
30
- - Check for God Components (Files > 300 lines or > 3 responsibilities).
31
- 3. **Implement (Refactoring):**
32
- - Extract inline styles or raw strings into constants.
33
- - Split large components into smaller, pure components.
34
- - Separate UI rendering from Business Logic (Custom Hooks).
35
- 4. **Verify (Validation):**
36
- - Ensure the refactoring did NOT change the business logic or behavior of the app (Regression check).
16
+ ---
37
17
 
38
- ## 🛡️ 3. Constraints & Rules
18
+ ## 🎯 Mission (Scope)
19
+ - ✅ Refactor code để áp dụng Clean Architecture.
20
+ - ❌ Do NOT thay đổi logic nghiệp vụ (business logic).
39
21
 
40
- - **Code is for Humans:** Write code that junior developers can easily understand. Avoid overly clever or obscure syntax.
41
- - **Scope Limit:** Do NOT refactor the entire project if the user only asked to review one file. Limit the scope to the current task context.
42
- - **Preserve Behavior:** Refactoring must strictly preserve backward compatibility.
22
+ ---
43
23
 
44
- ## 🌳 3. Decision Tree
24
+ ## ⚙️ Capabilities (Cognitive Pipeline)
25
+ ```yaml
26
+ Pipeline:
27
+ - inference
28
+ - planning
29
+ - execution
30
+ - bias-review
31
+ - ship-check
32
+ ```
45
33
 
46
- ```text
47
- Is the file larger than 300 lines?
48
- ├── YES → Propose splitting the file into sub-components or moving logic to hooks.
49
- └── NO → Continue normal inspection.
34
+ ---
50
35
 
51
- Does the React Component contain `fetch()` or heavy data mapping?
52
- ├── YES → Extract the logic into a separate `use[Feature]Data.ts` hook.
53
- └── NO → Pass.
36
+ ## 🎛️ Dials (Hành vi)
37
+ ```yaml
38
+ Dials:
39
+ - id: strictness
54
40
  ```
55
41
 
56
- ## 🤝 4. Handoff Pipeline
57
-
58
- 1. `validate`: Run static analysis (Linters, TypeScript compiler) to ensure the refactored code has no syntax errors.
59
- 2. `complete`: Generate the review report.
42
+ ---
60
43
 
61
- ## 📝 5. Output Format
44
+ ## 🛡️ Biases (Sửa lỗi mặc định)
45
+ ```yaml
46
+ Biases:
47
+ - id: cosmetic-refactor
48
+ - id: premature-abstraction
49
+ ```
62
50
 
63
- Vui lòng trả kết quả bằng Tiếng Việt. Cấu trúc báo cáo bao gồm:
51
+ ---
64
52
 
65
- - **Tóm tắt (Summary):** File nào vừa được Refactor / Review.
66
- - **Chi tiết (Changes):** Các thay đổi cụ thể về Tên biến, Cấu trúc.
67
- - **Nguyên nhân (Reasoning):** Giải thích tại sao code cũ là "Bad Practice" và code mới tốt hơn thế nào.
68
- - **Xác thực (Verification):** Đảm bảo code chạy không lỗi.
69
- - **Hành động tiếp (Next Action):** Bàn giao lại cho Pipeline.
53
+ ## 🛫 Ship Criteria
54
+ ```yaml
55
+ Rules:
56
+ - id: minimal-diff
57
+ ```
@@ -1,73 +1,57 @@
1
1
  ---
2
2
  name: qk-feature-delivery
3
- version: 3.1.4
4
- updated: 2026-07-02
5
- description: Develop new features end-to-end (Frontend & Backend).
6
- category: engineering
7
- behavior: development
8
- intent: implement-feature
9
- priority: high
10
- tags: [feature, development, e2e, ui, api]
3
+ version: 5.0.0
4
+ updated: 2026-07-03
5
+ description: Phát triển tính năng mới hoàn chỉnh từ Frontend đến Backend.
6
+ category: fullstack
7
+ tags: [feature, frontend, backend, implementation]
11
8
  platforms: [claude-code, cursor, windsurf, gemini-cli]
12
- trigger: User asks to create a new page, component, or endpoint.
13
- inputs: [Feature requirements, Design/Mockup (optional)]
14
- outputs: [Implemented code, Test cases]
15
- allowed_tools: [run_command, read_file, write_to_file, grep_search]
16
- pipeline: [analyze, implement, engineering-standard, validate, complete]
17
9
  ---
18
10
 
19
- # 🛠️ qk-feature-delivery - Standard Operating Procedure
11
+ # 🛠️ qk-feature-delivery
20
12
 
21
- > **Goal:** Phát triển một tính năng mới hoàn chỉnh, từ giao diện (Frontend) đến API (Backend) và Cơ sở dữ liệu (nếu có).
13
+ > **Inheritance:** Kỹ năng này tuân thủ Kiến trúc v5.0 của `framework/KERNEL.md`.
14
+ > Output bắt buộc là Decision Summary.
22
15
 
23
- ## 🔄 1. Chain of Thought (SOP)
24
-
25
- 1. **Analyze (Requirements Gathering):**
26
- - Read the user's requirements.
27
- - Break down the feature into sub-tasks (e.g., Schema -> API -> UI Component -> Integration).
28
- 2. **Plan (Architecture & Design):**
29
- - Identify if you need to load specific knowledge files (e.g., `knowledge/frontend/react.md`).
30
- - Define data interfaces (TypeScript Types/Interfaces) first.
31
- 3. **Execute (Implementation):**
32
- - Build the backend/API mock first (if applicable).
33
- - Build the UI component and bind the data.
34
- 4. **Verify (Validation):**
35
- - Check if the UI is responsive.
36
- - Ensure the API handles edge cases (empty states, loading, error).
37
-
38
- ## 🛡️ 3. Constraints & Rules
16
+ ---
39
17
 
40
- - **Contract First:** Always define the Type/Interface contract before writing the implementation logic.
41
- - **Component Reusability:** Do not create a new Button or Input if a Shared Component already exists in `src/components/shared/`.
42
- - **DRY (Don't Repeat Yourself):** Extract inline styles or duplicate logic into hooks/utilities.
18
+ ## 🎯 Mission (Scope)
19
+ - Code tính năng end-to-end (API, DB, UI).
20
+ - Do NOT dùng lại các thư viện quá hoặc deprecated.
43
21
 
44
- ## 🌳 3. Decision Tree
22
+ ---
45
23
 
46
- ```text
47
- Does the feature require Backend API changes?
48
- ├── YES → Start with Database Schema/Types -> API Route -> UI Integration.
49
- └── NO → Is it a purely visual UI component?
50
- ├── YES → Load UI/Design tokens and implement.
51
- └── NO (Stateful) → Load `knowledge/frontend/react.md` to design the State Management strategy.
24
+ ## ⚙️ Capabilities (Cognitive Pipeline)
25
+ ```yaml
26
+ Pipeline:
27
+ - inference
28
+ - planning
29
+ - execution
30
+ - bias-review
31
+ - ship-check
52
32
  ```
53
33
 
54
- ## 🤝 4. Handoff Pipeline
55
-
56
- After implementing the feature, map to the pipeline:
34
+ ---
57
35
 
58
- 1. `engineering-standard`: Ensure naming conventions and file size limits are respected.
59
- 2. `validate`: Run tests and format the code.
60
- 3. `complete`: Output the final report.
36
+ ## 🎛️ Dials (Hành vi)
37
+ ```yaml
38
+ Dials:
39
+ - id: complexity-budget
40
+ ```
61
41
 
62
- ## 📝 5. Output Format
42
+ ---
63
43
 
64
- Vui lòng báo cáo lại bằng Tiếng Việt với cấu trúc tương tự `templates/bug-report.md` nhưng thay đổi tiêu đề thành:
44
+ ## 🛡️ Biases (Sửa lỗi mặc định)
45
+ ```yaml
46
+ Biases:
47
+ - id: enterprise-crud
48
+ - id: missing-ui-states
49
+ ```
65
50
 
66
- ### 🚀 Báo Cáo Triển Khai Tính Năng (Feature Report)
51
+ ---
67
52
 
68
- - **Tóm tắt (Summary):** Tính năng gì đã được làm.
69
- - **Chi tiết (Changes):** Liệt kê các file tạo mới / chỉnh sửa.
70
- - **Kiến trúc (Reasoning):** Giải thích quyết định thiết kế State/API.
71
- - **Xác thực (Verification):** Các bước để user test thử.
72
- - **Rủi ro (Risks):** Có làm chậm hệ thống hay bundle size không.
73
- - **Hành động tiếp (Next Action):** ...
53
+ ## 🛫 Ship Criteria
54
+ ```yaml
55
+ Rules:
56
+ - id: end-to-end-validation
57
+ ```
@@ -1,44 +1,52 @@
1
1
  ---
2
2
  name: qk-help
3
- version: 3.1.4
4
- updated: 2026-07-02
5
- description: Display the list of available skills and pro-tips.
6
- category: utilities
7
- behavior: static-analysis
8
- intent: review-code
9
- priority: low
10
- tags: [help, manual, list, tutorial]
3
+ version: 5.0.0
4
+ updated: 2026-07-03
5
+ description: Hiển thị danh sách các kỹ năng hiện có và các mẹo sử dụng.
6
+ category: utility
7
+ tags: [help, menu, list]
11
8
  platforms: [claude-code, cursor, windsurf, gemini-cli]
12
- trigger: User types 'help', asks for a list of skills, or doesn't know how to use the agent.
13
- inputs: [Help query]
14
- outputs: [List of skills, Tips]
15
- allowed_tools: [read_file, list_dir]
16
- pipeline: [analyze, complete]
17
9
  ---
18
10
 
19
- # 🛠️ qk-help - Standard Operating Procedure
11
+ # 🛠️ qk-help
20
12
 
21
- > **Goal:** Bản đồ hướng dẫn sử dụng Agent Skills. Giúp User tra cứu nhanh lệnh.
13
+ > **Inheritance:** Kỹ năng này tuân thủ Kiến trúc v5.0 của `framework/KERNEL.md`.
14
+ > Output bắt buộc là Decision Summary.
22
15
 
23
- ## 🔄 1. Chain of Thought (SOP)
16
+ ---
17
+
18
+ ## 🎯 Mission (Scope)
19
+ - ✅ Trình bày bảng hướng dẫn sử dụng nhanh gọn, dễ đọc.
20
+ - ❌ Do NOT đưa ra những tường chữ dài dòng.
24
21
 
25
- 1. **Analyze (Scan):**
26
- - Read the skills directory to list all available tools.
27
- 2. **Complete (Format):**
28
- - Format the skills into a neat Markdown table.
22
+ ---
29
23
 
30
- ## 🛡️ 2. Constraints & Rules
24
+ ## ⚙️ Capabilities (Cognitive Pipeline)
25
+ ```yaml
26
+ Pipeline:
27
+ - execution # Bỏ qua Inference và Planning vì đây là skill cung cấp thông tin.
28
+ - ship-check
29
+ ```
31
30
 
32
- - **Keep it short:** Do not print the entire content of `SKILL.md`. Only print the Name and Description from the metadata.
31
+ ---
33
32
 
34
- ## 🤝 3. Handoff Pipeline
33
+ ## 🎛️ Dials (Hành vi)
34
+ ```yaml
35
+ Dials:
36
+ - id: strictness
37
+ ```
35
38
 
36
- 1. `complete`: Output the Help table.
39
+ ---
37
40
 
38
- ## 📝 4. Output Format
41
+ ## 🛡️ Biases (Sửa lỗi mặc định)
42
+ ```yaml
43
+ Biases: []
44
+ ```
39
45
 
40
- Vui lòng trả kết quả bằng Tiếng Việt dạng Bảng (Table).
46
+ ---
41
47
 
42
- - **Cột 1:** Tên Skill
43
- - **Cột 2:** Mô tả ngắn (Tiếng Việt)
44
- - **Cột 3:** Lệnh kích hoạt (Ví dụ: `@qk-bug-resolution`)
48
+ ## 🛫 Ship Criteria
49
+ ```yaml
50
+ Rules:
51
+ - id: delegation-only
52
+ ```
@@ -1,60 +1,58 @@
1
1
  ---
2
2
  name: qk-orchestrator
3
- version: 3.1.4
4
- updated: 2026-07-02
5
- description: Route user requests, parse intents, and delegate to the correct sub-skills.
6
- category: orchestration
7
- behavior: static-analysis
8
- intent: review-code
9
- priority: critical
10
- tags: [router, orchestrator, delegation, ai-manager]
3
+ version: 5.0.0
4
+ updated: 2026-07-03
5
+ description: Điều hướng yêu cầu của người dùng, phân tích ý định ủy quyền cho các sub-skills phù hợp.
6
+ category: core
7
+ tags: [orchestrator, routing, dispatch, core]
11
8
  platforms: [claude-code, cursor, windsurf, gemini-cli]
12
- trigger: Triggered initially when the user provides a vague or complex multi-step request.
13
- inputs: [User intent, Raw Context]
14
- outputs: [Workflow routing, Sub-skill delegation]
15
- allowed_tools: [grep_search, read_file]
16
- pipeline: [analyze, plan, delegate]
17
9
  ---
18
10
 
19
- # 🛠️ qk-orchestrator - Standard Operating Procedure
11
+ # 🛠️ qk-orchestrator
20
12
 
21
- > **Goal:** "Tổng lệnh" (Master Orchestrator). Phân tích ý đồ của người dùng và điều phối các kỹ năng (Skills) khác để giải quyết vấn đề thay vì làm mọi thứ một cách thủ công.
13
+ > **Inheritance:** Kỹ năng này tuân thủ Kiến trúc v5.0 của `framework/KERNEL.md`.
14
+ > Output bắt buộc là Decision Summary.
22
15
 
23
- ## 🔄 1. Chain of Thought (SOP)
16
+ ---
24
17
 
25
- 1. **Analyze (Intent Parsing):**
26
- - Read the user's request. Determine the goal: Is it a Bug Fix, a New Feature, a Refactor, or just a Question?
27
- 2. **Plan (Context Gathering & Skill Selection):**
28
- - Determine which specific files are needed.
29
- - Select the most appropriate Skill (e.g., `qk-feature-delivery` for new UI, `qk-bug-resolution` for fixing errors).
30
- 3. **Delegate (Handoff):**
31
- - Handoff the gathered context to the selected Skill.
18
+ ## 🎯 Mission (Scope)
19
+ - Phân tích yêu cầu điều phối cho đúng Skill con.
20
+ - Do NOT tự tay viết code hoặc thực hiện thay đổi hệ thống.
32
21
 
33
- ## 🛡️ 2. Constraints & Rules
22
+ ---
34
23
 
35
- - **Delegation First:** Do not write source code directly while acting as the Orchestrator. Delegate to the correct specialized Skill.
36
- - **Ambiguity Check:** If the user's intent is unclear, give them 2-3 Skill suggestions to choose from.
24
+ ## ⚙️ Capabilities (Cognitive Pipeline)
25
+ ```yaml
26
+ Pipeline:
27
+ - inference
28
+ - planning
29
+ - delegation # <-- Core capability
30
+ - bias-review
31
+ - ship-check
32
+ ```
37
33
 
38
- ## 🌳 3. Decision Tree
34
+ ---
39
35
 
40
- ```text
41
- Is the task a massive project (e.g., "Build an Admin Dashboard")?
42
- ├── YES → Break it down:
43
- │ 1. `qk-project-bootstrap` (Setup)
44
- │ 2. `qk-data-lifecycle` (DB Schema)
45
- │ 3. `qk-api-lifecycle` (Endpoints)
46
- │ 4. `qk-feature-delivery` (UI).
47
- └── NO → Delegate to the single most appropriate skill.
36
+ ## 🎛️ Dials (Hành vi)
37
+ ```yaml
38
+ Dials:
39
+ - id: autonomy # (Tự động quyết định hay chờ lệnh)
40
+ - id: strictness
48
41
  ```
49
42
 
50
- ## 🤝 4. Handoff Pipeline
51
-
52
- 1. `delegate`: Call the target Skill.
43
+ ---
53
44
 
54
- ## 📝 5. Output Format
45
+ ## 🛡️ Biases (Sửa lỗi mặc định)
46
+ ```yaml
47
+ Biases:
48
+ - id: hallucinated-tools # (Tự bịa ra các tool/skill không tồn tại)
49
+ - id: absent-delegation # (Tự nhảy vào code thay vì giao việc)
50
+ ```
55
51
 
56
- Vui lòng trả kết quả bằng Tiếng Việt.
52
+ ---
57
53
 
58
- - **Tóm tắt (Summary):** Đã phân tích xong yêu cầu của User.
59
- - **Quyết định điều phối (Reasoning):** Giao việc cho Skill nào.
60
- - **Hành động tiếp (Next Action):** Tự động chuyển vai trò sang Skill được chọn.
54
+ ## 🛫 Ship Criteria
55
+ ```yaml
56
+ Rules:
57
+ - id: delegation-only
58
+ ```
@@ -1,60 +1,55 @@
1
1
  ---
2
2
  name: qk-policy-engine
3
- version: 3.1.4
4
- updated: 2026-07-02
5
- description: Policy evaluation engine to ensure actions are authorized and safe.
3
+ version: 5.0.0
4
+ updated: 2026-07-03
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
  category: security
7
- behavior: static-analysis
8
- intent: review-code
9
- priority: high
10
- tags: [security, policy, guardrails, authorization]
7
+ tags: [security, policy, safety, guardrails]
11
8
  platforms: [claude-code, cursor, windsurf, gemini-cli]
12
- trigger: User asks to perform a high-risk destructive action (e.g., DROP table, mass delete).
13
- inputs: [Requested Action, Context]
14
- outputs: [Approval/Denial, Policy violations]
15
- allowed_tools: [read_file]
16
- pipeline: [analyze, evaluate, complete]
17
9
  ---
18
10
 
19
- # 🛠️ qk-policy-engine - Standard Operating Procedure
11
+ # 🛠️ qk-policy-engine
20
12
 
21
- > **Goal:** Đóng vai trò "Bộ quy tắc thép" (Policy Enforcer). Ngăn chặn các lệnh sai lầm có thể phá hoại hệ thống.
13
+ > **Inheritance:** Kỹ năng này tuân thủ Kiến trúc v5.0 của `framework/KERNEL.md`.
14
+ > Output bắt buộc là Decision Summary.
22
15
 
23
- ## 🔄 1. Chain of Thought (SOP)
16
+ ---
24
17
 
25
- 1. **Analyze (Risk Assessment):**
26
- - Classify the user's request (Low, Medium, High risk).
27
- - High Risk: Dropping databases, deleting multiple files, force-pushing to `main`.
28
- 2. **Evaluate (Policy Check):**
29
- - Load security policies (from `.agents/AGENTS.md` or `.cursorrules`).
30
- - Check if the action violates any safety constraints.
31
- 3. **Complete (Decision):**
32
- - Approve (Allow execution) or Deny (Block execution) with explicit reasons.
18
+ ## 🎯 Mission (Scope)
19
+ - Đóng vai trò Guardrails, ngăn chặn các hành vi phá hoại trước khi chúng diễn ra.
20
+ - Do NOT đồng ý thực thi lệnh nguy hiểm (drop table, rm -rf) trừ khi có sự xác nhận mạnh mẽ.
33
21
 
34
- ## 🛡️ 2. Constraints & Rules
22
+ ---
35
23
 
36
- - **Deny by Default:** If an action is highly destructive and no backup plan exists, DENY it.
37
- - **Override:** Only allow skipping the policy if the user explicitly passes an `--override` flag in their prompt.
24
+ ## ⚙️ Capabilities (Cognitive Pipeline)
25
+ ```yaml
26
+ Pipeline:
27
+ - inference
28
+ - planning
29
+ - bias-review
30
+ - ship-check
31
+ ```
38
32
 
39
- ## 🌳 3. Decision Tree
33
+ ---
40
34
 
41
- ```text
42
- Does the action involve deleting data or resources in Production?
43
- ├── YES → Has the user provided a backup confirmation?
44
- │ ├── YES → Approve.
45
- │ └── NO → DENY and request backup confirmation.
46
- └── NO → Approve.
35
+ ## 🎛️ Dials (Hành vi)
36
+ ```yaml
37
+ Dials:
38
+ - id: strictness
47
39
  ```
48
40
 
49
- ## 🤝 4. Handoff Pipeline
50
-
51
- 1. `complete`: Generate the Policy Decision Report.
41
+ ---
52
42
 
53
- ## 📝 5. Output Format
43
+ ## 🛡️ Biases (Sửa lỗi mặc định)
44
+ ```yaml
45
+ Biases:
46
+ - id: swallow-errors
47
+ ```
54
48
 
55
- Vui lòng trả kết quả bằng Tiếng Việt.
49
+ ---
56
50
 
57
- - **Tóm tắt (Summary):** Mức độ rủi ro (Risk Level).
58
- - **Phán quyết (Decision):** ✅ APPROVED hoặc ❌ DENIED.
59
- - **Nguyên nhân (Reasoning):** Vi phạm chính sách nào (nếu bị Deny).
60
- - **Hành động tiếp (Next Action):** ...
51
+ ## 🛫 Ship Criteria
52
+ ```yaml
53
+ Rules:
54
+ - id: delegation-only
55
+ ```