ai-developer-skill-os 3.1.5 → 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.
- package/README.md +15 -19
- package/_template/SKILL.md +37 -133
- package/framework/KERNEL.md +58 -0
- package/framework/bias-library/cosmetic-refactor.md +21 -0
- package/framework/bias-library/enterprise-crud.md +21 -0
- package/framework/bias-library/fake-ui-slop.md +20 -0
- package/framework/bias-library/hallucinated-tools.md +20 -0
- package/framework/bias-library/missing-ui-states.md +19 -0
- package/framework/bias-library/over-indexing.md +20 -0
- package/framework/bias-library/swallow-errors.md +19 -0
- package/framework/bias-library/ui-only-security.md +17 -0
- package/framework/dial-library/complexity-budget.md +13 -0
- package/framework/dial-library/granularity.md +13 -0
- package/framework/dial-library/optimization-strategy.md +13 -0
- package/framework/dial-library/strictness.md +13 -0
- package/framework/rule-library/delegation-only.md +9 -0
- package/framework/rule-library/minimal-diff.md +9 -0
- package/package.json +1 -1
- package/skills/qk-access-policy/SKILL.md +40 -30
- package/skills/qk-ai-builder/SKILL.md +39 -30
- package/skills/qk-api-lifecycle/SKILL.md +39 -54
- package/skills/qk-bug-resolution/SKILL.md +39 -58
- package/skills/qk-context-loader/SKILL.md +36 -35
- package/skills/qk-data-lifecycle/SKILL.md +37 -49
- package/skills/qk-db-optimizer/SKILL.md +37 -44
- package/skills/qk-design-to-code/SKILL.md +40 -35
- package/skills/qk-docs/SKILL.md +37 -43
- package/skills/qk-engineering-standard/SKILL.md +39 -51
- package/skills/qk-feature-delivery/SKILL.md +39 -56
- package/skills/qk-help/SKILL.md +36 -28
- package/skills/qk-orchestrator/SKILL.md +40 -43
- package/skills/qk-policy-engine/SKILL.md +36 -41
- package/skills/qk-production-release/SKILL.md +40 -36
- package/skills/qk-project-bootstrap/SKILL.md +39 -32
- package/skills/qk-project-health/SKILL.md +36 -44
- package/skills/qk-project-memory/SKILL.md +38 -24
- package/skills/qk-system-evolution/SKILL.md +36 -51
- package/skills/qk-ui-audit/SKILL.md +37 -46
- package/skills/qk-ui-system-builder/SKILL.md +38 -29
- package/skills/qk-validation-gate/SKILL.md +34 -47
- package/taste-skill/.claude-plugin/marketplace.json +20 -0
- package/taste-skill/.claude-plugin/plugin.json +19 -0
- package/taste-skill/.github/FUNDING.yml +1 -0
- package/taste-skill/.github/copilot-instructions.md +11 -0
- package/taste-skill/CHANGELOG.md +111 -0
- package/taste-skill/LICENSE +21 -0
- package/taste-skill/README.md +212 -0
- package/taste-skill/assets/.gitkeep +0 -0
- package/taste-skill/assets/readme-banner.webp +0 -0
- package/taste-skill/assets/readme-buttons/btn-agent-skills.webp +0 -0
- package/taste-skill/assets/readme-buttons/btn-changelog.webp +0 -0
- package/taste-skill/assets/readme-buttons/btn-mit.webp +0 -0
- package/taste-skill/assets/readme-buttons/btn-site.webp +0 -0
- package/taste-skill/assets/readme-buttons/btn-tools.webp +0 -0
- package/taste-skill/assets/readme-cta-tasteskill.svg +5 -0
- package/taste-skill/assets/sponsors/animations-dev.webp +0 -0
- package/taste-skill/assets/sponsors/emil-animations-dev.webp +0 -0
- package/taste-skill/assets/taste-skill-logo.png +0 -0
- package/taste-skill/assets/taste-skill-logo.webp +0 -0
- package/taste-skill/assets/vercel-oss-program-badge.svg +44 -0
- package/taste-skill/examples/floria-bottom.webp +0 -0
- package/taste-skill/examples/floria-full.webp +0 -0
- package/taste-skill/examples/floria-top.webp +0 -0
- package/taste-skill/research/README.md +8 -0
- package/taste-skill/research/laziness/README.md +25 -0
- package/taste-skill/research/laziness/findings/empirical-results.md +58 -0
- package/taste-skill/research/laziness/findings/references.md +20 -0
- package/taste-skill/research/laziness/remediation/architectural-patterns.md +55 -0
- package/taste-skill/research/laziness/remediation/parameter-tuning.md +44 -0
- package/taste-skill/research/laziness/remediation/prompt-engineering.md +52 -0
- package/taste-skill/research/laziness/remediation/reference-prompts.md +79 -0
- package/taste-skill/research/laziness/root-causes/cognitive-shortcuts.md +23 -0
- package/taste-skill/research/laziness/root-causes/output-limits.md +39 -0
- package/taste-skill/research/laziness/root-causes/rlhf-and-compute.md +27 -0
- package/taste-skill/research/laziness/root-causes/training-data-bias.md +28 -0
- package/taste-skill/scripts/build-emil-sponsor-row.mjs +41 -0
- package/taste-skill/scripts/convert-readme-assets-webp.mjs +142 -0
- package/taste-skill/scripts/process-readme-buttons.mjs +108 -0
- package/taste-skill/scripts/process-sponsor-badge.mjs +83 -0
- package/taste-skill/skill.sh +25 -0
- package/taste-skill/skills/brandkit/SKILL.md +798 -0
- package/taste-skill/skills/brutalist-skill/SKILL.md +92 -0
- package/taste-skill/skills/gpt-tasteskill/SKILL.md +74 -0
- package/taste-skill/skills/image-to-code-skill/SKILL.md +1228 -0
- package/taste-skill/skills/imagegen-frontend-mobile/SKILL.md +1465 -0
- package/taste-skill/skills/imagegen-frontend-web/SKILL.md +987 -0
- package/taste-skill/skills/llms.txt +13 -0
- package/taste-skill/skills/minimalist-skill/SKILL.md +85 -0
- package/taste-skill/skills/output-skill/SKILL.md +49 -0
- package/taste-skill/skills/redesign-skill/SKILL.md +178 -0
- package/taste-skill/skills/soft-skill/SKILL.md +98 -0
- package/taste-skill/skills/stitch-skill/DESIGN.md +121 -0
- package/taste-skill/skills/stitch-skill/SKILL.md +184 -0
- package/taste-skill/skills/taste-skill/SKILL.md +1206 -0
- package/taste-skill/skills/taste-skill-v1/SKILL.md +226 -0
|
@@ -1,60 +1,55 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: qk-policy-engine
|
|
3
|
-
version:
|
|
4
|
-
updated: 2026-07-
|
|
3
|
+
version: 5.0.0
|
|
4
|
+
updated: 2026-07-03
|
|
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
|
category: security
|
|
7
|
-
|
|
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
|
|
11
|
+
# 🛠️ qk-policy-engine
|
|
20
12
|
|
|
21
|
-
> **
|
|
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
|
-
|
|
16
|
+
---
|
|
24
17
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
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
|
-
|
|
22
|
+
---
|
|
35
23
|
|
|
36
|
-
|
|
37
|
-
|
|
24
|
+
## ⚙️ Capabilities (Cognitive Pipeline)
|
|
25
|
+
```yaml
|
|
26
|
+
Pipeline:
|
|
27
|
+
- inference
|
|
28
|
+
- planning
|
|
29
|
+
- bias-review
|
|
30
|
+
- ship-check
|
|
31
|
+
```
|
|
38
32
|
|
|
39
|
-
|
|
33
|
+
---
|
|
40
34
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
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
|
-
|
|
50
|
-
|
|
51
|
-
1. `complete`: Generate the Policy Decision Report.
|
|
41
|
+
---
|
|
52
42
|
|
|
53
|
-
##
|
|
43
|
+
## 🛡️ Biases (Sửa lỗi mặc định)
|
|
44
|
+
```yaml
|
|
45
|
+
Biases:
|
|
46
|
+
- id: swallow-errors
|
|
47
|
+
```
|
|
54
48
|
|
|
55
|
-
|
|
49
|
+
---
|
|
56
50
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
-
|
|
51
|
+
## 🛫 Ship Criteria
|
|
52
|
+
```yaml
|
|
53
|
+
Rules:
|
|
54
|
+
- id: delegation-only
|
|
55
|
+
```
|
|
@@ -1,52 +1,56 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: qk-production-release
|
|
3
|
-
version:
|
|
4
|
-
updated: 2026-07-
|
|
3
|
+
version: 5.0.0
|
|
4
|
+
updated: 2026-07-03
|
|
5
5
|
description: Chuẩn bị codebase để phát hành lên production (Build, CI/CD, Security).
|
|
6
|
-
category:
|
|
7
|
-
|
|
8
|
-
intent: validate
|
|
9
|
-
priority: high
|
|
10
|
-
tags: [deploy, release, build, production]
|
|
6
|
+
category: devops
|
|
7
|
+
tags: [devops, ci-cd, release, deployment]
|
|
11
8
|
platforms: [claude-code, cursor, windsurf, gemini-cli]
|
|
12
|
-
trigger: User asks to deploy the app, build for production, or release a new version.
|
|
13
|
-
inputs: [Release request, Environment configs]
|
|
14
|
-
outputs: [Deployment artifacts, Release checklist]
|
|
15
|
-
allowed_tools: [run_command, grep_search]
|
|
16
|
-
pipeline: [analyze, review, implement, validate, complete]
|
|
17
9
|
---
|
|
18
10
|
|
|
19
|
-
# 🛠️ qk-production-release
|
|
11
|
+
# 🛠️ qk-production-release
|
|
20
12
|
|
|
21
|
-
> **
|
|
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
|
-
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## 🎯 Mission (Scope)
|
|
19
|
+
- ✅ Chạy kiểm tra chất lượng cuối cùng trước khi build.
|
|
20
|
+
- ❌ Do NOT tự tay deploy lên Production server mà không hỏi ý kiến.
|
|
24
21
|
|
|
25
|
-
|
|
26
|
-
- Check if the git branch is clean.
|
|
27
|
-
- Verify environment variables are documented.
|
|
28
|
-
2. **Implement (Build & Optimize):**
|
|
29
|
-
- Run `npm run build`.
|
|
30
|
-
3. **Validate (Security Gate):**
|
|
31
|
-
- Scan the build output (e.g., `dist/` or `.next/`) for leaked API Keys (`grep_search`).
|
|
32
|
-
4. **Complete (Deployment Plan):**
|
|
33
|
-
- Provide a manual checklist for the user to execute the final deployment.
|
|
22
|
+
---
|
|
34
23
|
|
|
35
|
-
##
|
|
24
|
+
## ⚙️ Capabilities (Cognitive Pipeline)
|
|
25
|
+
```yaml
|
|
26
|
+
Pipeline:
|
|
27
|
+
- inference
|
|
28
|
+
- planning
|
|
29
|
+
- execution
|
|
30
|
+
- bias-review
|
|
31
|
+
- ship-check
|
|
32
|
+
```
|
|
36
33
|
|
|
37
|
-
|
|
38
|
-
- **Secret Safety:** Never hardcode URLs. Ensure they are injected via ENV.
|
|
34
|
+
---
|
|
39
35
|
|
|
40
|
-
##
|
|
36
|
+
## 🎛️ Dials (Hành vi)
|
|
37
|
+
```yaml
|
|
38
|
+
Dials:
|
|
39
|
+
- id: strictness
|
|
40
|
+
```
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
2. `complete`: Output the Release Report.
|
|
42
|
+
---
|
|
44
43
|
|
|
45
|
-
##
|
|
44
|
+
## 🛡️ Biases (Sửa lỗi mặc định)
|
|
45
|
+
```yaml
|
|
46
|
+
Biases:
|
|
47
|
+
- id: hallucinated-tools # (Tự chạy lệnh deploy không tồn tại)
|
|
48
|
+
```
|
|
46
49
|
|
|
47
|
-
|
|
50
|
+
---
|
|
48
51
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
-
|
|
52
|
+
## 🛫 Ship Criteria
|
|
53
|
+
```yaml
|
|
54
|
+
Rules:
|
|
55
|
+
- id: end-to-end-validation
|
|
56
|
+
```
|
|
@@ -1,50 +1,57 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: qk-project-bootstrap
|
|
3
|
-
version:
|
|
4
|
-
updated: 2026-07-
|
|
3
|
+
version: 5.0.0
|
|
4
|
+
updated: 2026-07-03
|
|
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
|
category: setup
|
|
7
|
-
behavior: development
|
|
8
|
-
intent: implement-feature
|
|
9
|
-
priority: high
|
|
10
7
|
tags: [bootstrap, scaffolding, setup, init]
|
|
11
8
|
platforms: [claude-code, cursor, windsurf, gemini-cli]
|
|
12
|
-
trigger: User asks to start a new project, create a new repo, or setup standard configurations.
|
|
13
|
-
inputs: [Stack selection, Project Name]
|
|
14
|
-
outputs: [Scaffolded Codebase, Configs]
|
|
15
|
-
allowed_tools: [run_command, write_to_file]
|
|
16
|
-
pipeline: [analyze, implement, engineering-standard, validate, complete]
|
|
17
9
|
---
|
|
18
10
|
|
|
19
|
-
# 🛠️ qk-project-bootstrap
|
|
11
|
+
# 🛠️ qk-project-bootstrap
|
|
20
12
|
|
|
21
|
-
> **
|
|
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
|
-
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## 🎯 Mission (Scope)
|
|
19
|
+
- ✅ Setup dự án mới từ đầu.
|
|
20
|
+
- ❌ Do NOT khởi tạo với cấu hình lỏng lẻo (Linter tắt).
|
|
24
21
|
|
|
25
|
-
|
|
26
|
-
- Ask the user for their preferred stack (e.g., Next.js, Vite, NestJS).
|
|
27
|
-
2. **Implement (Scaffolding):**
|
|
28
|
-
- Run the initialization command (e.g., `npx create-next-app@latest`).
|
|
29
|
-
- Overwrite `.eslintrc`, `prettierrc`, `tsconfig.json` with strict rules.
|
|
30
|
-
- Scaffold the architecture (e.g., create `src/features/`, `src/components/shared/`).
|
|
31
|
-
3. **Verify (Validation):**
|
|
32
|
-
- Run `npm run dev` in a short background task to ensure it doesn't crash.
|
|
22
|
+
---
|
|
33
23
|
|
|
34
|
-
##
|
|
24
|
+
## ⚙️ Capabilities (Cognitive Pipeline)
|
|
25
|
+
```yaml
|
|
26
|
+
Pipeline:
|
|
27
|
+
- inference
|
|
28
|
+
- planning
|
|
29
|
+
- execution
|
|
30
|
+
- bias-review
|
|
31
|
+
- ship-check
|
|
32
|
+
```
|
|
35
33
|
|
|
36
|
-
|
|
37
|
-
- **Package Manager Check:** If the user uses `pnpm`, do NOT run `npm install`. Stick to one package manager.
|
|
34
|
+
---
|
|
38
35
|
|
|
39
|
-
##
|
|
36
|
+
## 🎛️ Dials (Hành vi)
|
|
37
|
+
```yaml
|
|
38
|
+
Dials:
|
|
39
|
+
- id: strictness
|
|
40
|
+
- id: complexity-budget
|
|
41
|
+
```
|
|
40
42
|
|
|
41
|
-
|
|
42
|
-
2. `complete`: Output the Bootstrap Report.
|
|
43
|
+
---
|
|
43
44
|
|
|
44
|
-
##
|
|
45
|
+
## 🛡️ Biases (Sửa lỗi mặc định)
|
|
46
|
+
```yaml
|
|
47
|
+
Biases:
|
|
48
|
+
- id: enterprise-crud
|
|
49
|
+
```
|
|
45
50
|
|
|
46
|
-
|
|
51
|
+
---
|
|
47
52
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
53
|
+
## 🛫 Ship Criteria
|
|
54
|
+
```yaml
|
|
55
|
+
Rules:
|
|
56
|
+
- id: no-unnecessary-dependencies
|
|
57
|
+
```
|
|
@@ -1,64 +1,56 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: qk-project-health
|
|
3
|
-
version:
|
|
4
|
-
updated: 2026-07-
|
|
3
|
+
version: 5.0.0
|
|
4
|
+
updated: 2026-07-03
|
|
5
5
|
description: Kiểm toán toàn diện về Code Smells, Tech Debt, và Architecture.
|
|
6
6
|
category: architecture
|
|
7
|
-
behavior: static-analysis
|
|
8
|
-
intent: review-code
|
|
9
|
-
priority: medium
|
|
10
7
|
tags: [audit, architecture, tech-debt, code-smell]
|
|
11
8
|
platforms: [claude-code, cursor, windsurf, gemini-cli]
|
|
12
|
-
trigger: User asks for a project review, architecture audit, or health check.
|
|
13
|
-
inputs: [Project directory]
|
|
14
|
-
outputs: [Health Audit Score, Refactor roadmap]
|
|
15
|
-
allowed_tools: [grep_search, run_command, read_file]
|
|
16
|
-
pipeline: [analyze, review, validate, complete]
|
|
17
9
|
---
|
|
18
10
|
|
|
19
|
-
# 🛠️ qk-project-health
|
|
11
|
+
# 🛠️ qk-project-health
|
|
20
12
|
|
|
21
|
-
> **
|
|
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
|
-
|
|
24
|
-
|
|
25
|
-
1. **Analyze (Dependency Scan):**
|
|
26
|
-
- Read `package.json` to identify outdated libraries, bloated dependencies, or unused packages.
|
|
27
|
-
2. **Review (Architecture Scan):**
|
|
28
|
-
- Use `list_dir` or tree commands to review the directory structure.
|
|
29
|
-
- Check if the project follows a scalable pattern (e.g., Feature-based vs flat `components` folder).
|
|
30
|
-
3. **Validate (Smell Detection):**
|
|
31
|
-
- Scan for "God Components" (Files > 500 lines).
|
|
32
|
-
- Scan for heavy Prop Drilling (>3 levels deep).
|
|
33
|
-
4. **Complete (Roadmap):**
|
|
34
|
-
- Generate a prioritized Refactor Roadmap (High, Medium, Low).
|
|
16
|
+
---
|
|
35
17
|
|
|
36
|
-
##
|
|
18
|
+
## 🎯 Mission (Scope)
|
|
19
|
+
- ✅ Phân tích tech debt và code smells.
|
|
20
|
+
- ❌ Do NOT bắt lỗi thụt lề, khoảng trắng (Việc của linter).
|
|
37
21
|
|
|
38
|
-
|
|
39
|
-
- **Evidence Based:** Provide concrete metrics (e.g., "Folder `components` has 45 files, making it hard to navigate").
|
|
22
|
+
---
|
|
40
23
|
|
|
41
|
-
##
|
|
24
|
+
## ⚙️ Capabilities (Cognitive Pipeline)
|
|
25
|
+
```yaml
|
|
26
|
+
Pipeline:
|
|
27
|
+
- inference
|
|
28
|
+
- planning
|
|
29
|
+
- execution
|
|
30
|
+
- bias-review
|
|
31
|
+
- ship-check
|
|
32
|
+
```
|
|
42
33
|
|
|
43
|
-
|
|
44
|
-
Is the `src/components` folder bloated (>30 files)?
|
|
45
|
-
├── YES → Recommend migrating to a Feature-driven structure (e.g., `src/features/auth`).
|
|
46
|
-
└── NO → Pass.
|
|
34
|
+
---
|
|
47
35
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
36
|
+
## 🎛️ Dials (Hành vi)
|
|
37
|
+
```yaml
|
|
38
|
+
Dials:
|
|
39
|
+
- id: strictness
|
|
51
40
|
```
|
|
52
41
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
1. `complete`: Output the Health Audit Report.
|
|
42
|
+
---
|
|
56
43
|
|
|
57
|
-
##
|
|
44
|
+
## 🛡️ Biases (Sửa lỗi mặc định)
|
|
45
|
+
```yaml
|
|
46
|
+
Biases:
|
|
47
|
+
- id: cosmetic-refactor
|
|
48
|
+
```
|
|
58
49
|
|
|
59
|
-
|
|
50
|
+
---
|
|
60
51
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
-
|
|
52
|
+
## 🛫 Ship Criteria
|
|
53
|
+
```yaml
|
|
54
|
+
Rules:
|
|
55
|
+
- id: delegation-only # (Chỉ đọc và tư vấn, cấm tự ý đổi code)
|
|
56
|
+
```
|
|
@@ -1,42 +1,56 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: qk-project-memory
|
|
3
|
-
version:
|
|
4
|
-
updated: 2026-07-
|
|
3
|
+
version: 5.0.0
|
|
4
|
+
updated: 2026-07-03
|
|
5
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.
|
|
6
6
|
category: utilities
|
|
7
|
-
behavior: static-analysis
|
|
8
|
-
intent: maintain
|
|
9
|
-
priority: low
|
|
10
7
|
tags: [memory, context, storage]
|
|
11
8
|
platforms: [claude-code, cursor, windsurf, gemini-cli]
|
|
12
|
-
trigger: User asks to remember a specific configuration, rule, or architectural decision.
|
|
13
|
-
inputs: [Context to remember]
|
|
14
|
-
outputs: [Memory file updated]
|
|
15
|
-
allowed_tools: [write_to_file, read_file]
|
|
16
|
-
pipeline: [analyze, implement, complete]
|
|
17
9
|
---
|
|
18
10
|
|
|
19
|
-
# 🛠️ qk-project-memory
|
|
11
|
+
# 🛠️ qk-project-memory
|
|
20
12
|
|
|
21
|
-
> **
|
|
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
|
-
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## 🎯 Mission (Scope)
|
|
19
|
+
- ✅ Lưu trữ các Rule, ADR, và cấu hình bất biến vào memory.
|
|
20
|
+
- ❌ Do NOT dump toàn bộ file mã nguồn hoặc hội thoại vào memory gây phình to token.
|
|
24
21
|
|
|
25
|
-
|
|
26
|
-
- Extract the core facts from the conversation (e.g., "The project uses pnpm, not npm").
|
|
27
|
-
2. **Implement (Storage):**
|
|
28
|
-
- Append the fact to `.ai-memory.md` or a similar configuration file.
|
|
22
|
+
---
|
|
29
23
|
|
|
30
|
-
##
|
|
24
|
+
## ⚙️ Capabilities (Cognitive Pipeline)
|
|
25
|
+
```yaml
|
|
26
|
+
Pipeline:
|
|
27
|
+
- inference
|
|
28
|
+
- planning
|
|
29
|
+
- execution
|
|
30
|
+
- bias-review
|
|
31
|
+
- ship-check
|
|
32
|
+
```
|
|
31
33
|
|
|
32
|
-
|
|
34
|
+
---
|
|
33
35
|
|
|
34
|
-
##
|
|
36
|
+
## 🎛️ Dials (Hành vi)
|
|
37
|
+
```yaml
|
|
38
|
+
Dials:
|
|
39
|
+
- id: strictness
|
|
40
|
+
```
|
|
35
41
|
|
|
36
|
-
|
|
42
|
+
---
|
|
37
43
|
|
|
38
|
-
##
|
|
44
|
+
## 🛡️ Biases (Sửa lỗi mặc định)
|
|
45
|
+
```yaml
|
|
46
|
+
Biases:
|
|
47
|
+
- id: hallucinated-tools
|
|
48
|
+
```
|
|
39
49
|
|
|
40
|
-
|
|
50
|
+
---
|
|
41
51
|
|
|
42
|
-
|
|
52
|
+
## 🛫 Ship Criteria
|
|
53
|
+
```yaml
|
|
54
|
+
Rules:
|
|
55
|
+
- id: minimal-diff
|
|
56
|
+
```
|
|
@@ -1,71 +1,56 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: qk-system-evolution
|
|
3
|
-
version:
|
|
4
|
-
updated: 2026-07-
|
|
3
|
+
version: 5.0.0
|
|
4
|
+
updated: 2026-07-03
|
|
5
5
|
description: Cập nhật an toàn các thư viện dependencies, di chuyển frameworks và quản lý quá trình rollback.
|
|
6
6
|
category: operations
|
|
7
|
-
behavior: maintenance
|
|
8
|
-
intent: maintain
|
|
9
|
-
priority: high
|
|
10
7
|
tags: [upgrade, migration, devops, dependencies]
|
|
11
8
|
platforms: [claude-code, cursor, windsurf, gemini-cli]
|
|
12
|
-
trigger: User wants to update a library, upgrade a framework (e.g., Next.js 13 to 14), or perform a major refactor.
|
|
13
|
-
inputs: [Target package, Target version]
|
|
14
|
-
outputs: [Upgraded codebase, Rollback plan]
|
|
15
|
-
allowed_tools: [run_command, grep_search, read_file]
|
|
16
|
-
pipeline: [analyze, plan, implement, validate, complete]
|
|
17
9
|
---
|
|
18
10
|
|
|
19
|
-
# 🛠️ qk-system-evolution
|
|
11
|
+
# 🛠️ qk-system-evolution
|
|
20
12
|
|
|
21
|
-
> **
|
|
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
|
-
|
|
24
|
-
|
|
25
|
-
1. **Analyze (Impact Analysis):**
|
|
26
|
-
- Read the Changelog or Migration Guide for the new version.
|
|
27
|
-
- Identify Breaking Changes and Deprecated APIs.
|
|
28
|
-
- Search the codebase to see how many files are affected.
|
|
29
|
-
2. **Plan (Rollback Strategy):**
|
|
30
|
-
- Document the exact Git commands or NPM commands needed to revert the system if the upgrade fails completely.
|
|
31
|
-
3. **Implement (Dry-Run & Upgrade):**
|
|
32
|
-
- **Mandatory Dry Run:** Create a temporary branch (e.g., `git checkout -b upgrade-dry-run`).
|
|
33
|
-
- Update dependencies and run Codemods on this branch.
|
|
34
|
-
- Fix Breaking Changes and pass the Validation Gate. Merge only if safe.
|
|
35
|
-
4. **Verify (System Test):**
|
|
36
|
-
- Reinstall dependencies cleanly (`npm ci` or `yarn install`).
|
|
37
|
-
- Run the build process to ensure the system compiles.
|
|
16
|
+
---
|
|
38
17
|
|
|
39
|
-
##
|
|
18
|
+
## 🎯 Mission (Scope)
|
|
19
|
+
- ✅ Nâng cấp dependencies và xử lý breaking changes.
|
|
20
|
+
- ❌ Do NOT xóa file lock tuỳ tiện hoặc cập nhật `latest` mù quáng.
|
|
40
21
|
|
|
41
|
-
|
|
42
|
-
- **Lockfiles:** Do not delete `package-lock.json` or `yarn.lock` unless resolving extreme merge conflicts.
|
|
43
|
-
- **Always Rollback:** If the system produces >50 compilation errors after an upgrade and you cannot fix them in 1 turn, immediately trigger the Rollback Plan.
|
|
22
|
+
---
|
|
44
23
|
|
|
45
|
-
##
|
|
24
|
+
## ⚙️ Capabilities (Cognitive Pipeline)
|
|
25
|
+
```yaml
|
|
26
|
+
Pipeline:
|
|
27
|
+
- inference
|
|
28
|
+
- planning
|
|
29
|
+
- execution
|
|
30
|
+
- bias-review
|
|
31
|
+
- ship-check
|
|
32
|
+
```
|
|
46
33
|
|
|
47
|
-
|
|
48
|
-
Are there Breaking Changes in the target version?
|
|
49
|
-
├── YES → Create a migration checklist based on the official docs. Update code systematically.
|
|
50
|
-
└── NO (Minor/Patch) → Update version and run tests.
|
|
34
|
+
---
|
|
51
35
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
└── NO → Proceed to Validation.
|
|
36
|
+
## 🎛️ Dials (Hành vi)
|
|
37
|
+
```yaml
|
|
38
|
+
Dials:
|
|
39
|
+
- id: strictness
|
|
57
40
|
```
|
|
58
41
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
1. `validate`: Run the full test suite and `npm run build` via `qk-validation-gate`.
|
|
62
|
-
2. `complete`: Generate the Evolution report.
|
|
42
|
+
---
|
|
63
43
|
|
|
64
|
-
##
|
|
44
|
+
## 🛡️ Biases (Sửa lỗi mặc định)
|
|
45
|
+
```yaml
|
|
46
|
+
Biases:
|
|
47
|
+
- id: swallow-errors
|
|
48
|
+
```
|
|
65
49
|
|
|
66
|
-
|
|
50
|
+
---
|
|
67
51
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
-
|
|
52
|
+
## 🛫 Ship Criteria
|
|
53
|
+
```yaml
|
|
54
|
+
Rules:
|
|
55
|
+
- id: end-to-end-validation
|
|
56
|
+
```
|