ai-developer-skill-os 7.5.0 → 7.5.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/CHANGELOG.md +2 -1
- package/.agents/README.md +51 -10
- package/.agents/docs/CHI_TIET_SKILLS.md +2 -1
- package/.agents/skills/qk-orchestrator/SKILL.md +3 -2
- package/.agents/skills/qk-orchestrator/references/routing-table.md +3 -2
- package/.agents/skills/qk-project-bootstrap/SKILL.md +2 -1
- package/.agents/skills/qk-project-memory/SKILL.md +46 -0
- package/.agents/skills/qk-ui-audit/SKILL.md +3 -2
- package/.agents/skills/qk-ui-builder/SKILL.md +446 -0
- package/.agents/skills/qk-ui-builder/references/anti-patterns.md +295 -0
- package/.agents/skills/qk-ui-builder/references/color.md +115 -0
- package/.agents/skills/qk-ui-builder/references/component-cookbook.md +1194 -0
- package/.agents/skills/qk-ui-builder/references/copy.md +250 -0
- package/.agents/skills/qk-ui-builder/references/interaction-and-states.md +115 -0
- package/.agents/skills/qk-ui-builder/references/layout-and-space.md +111 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/01-bento-grid.md +48 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/02-long-document.md +50 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/03-marquee-hero.md +51 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/04-stat-led.md +49 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/05-workbench.md +44 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/06-conversational-faq.md +50 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/07-manifesto.md +51 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/08-photographic.md +50 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/09-quote-led.md +50 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/11-catalogue.md +49 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/12-letter.md +49 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/13-index-first.md +49 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/14-narrative-workflow.md +48 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/15-split-studio.md +48 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/16-feature-stack.md +51 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/17-type-specimen.md +48 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/18-portfolio-grid.md +48 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/19-map-diagram.md +50 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/20-ecosystem-index.md +48 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/21-component-playground.md +45 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures.md +38 -0
- package/.agents/skills/qk-ui-builder/references/motion.md +95 -0
- package/.agents/skills/qk-ui-builder/references/responsive.md +115 -0
- package/.agents/skills/qk-ui-builder/references/slop-test.md +135 -0
- package/.agents/skills/qk-ui-builder/references/structure.md +280 -0
- package/.agents/skills/qk-ui-builder/references/themes/atmospheric.md +53 -0
- package/.agents/skills/qk-ui-builder/references/themes/carnival.md +52 -0
- package/.agents/skills/qk-ui-builder/references/themes/cobalt.md +52 -0
- package/.agents/skills/qk-ui-builder/references/themes/editorial.md +52 -0
- package/.agents/skills/qk-ui-builder/references/themes/garden.md +52 -0
- package/.agents/skills/qk-ui-builder/references/themes/hum.md +52 -0
- package/.agents/skills/qk-ui-builder/references/themes/lumen.md +52 -0
- package/.agents/skills/qk-ui-builder/references/themes/midnight.md +52 -0
- package/.agents/skills/qk-ui-builder/references/themes/modern-minimal.md +52 -0
- package/.agents/skills/qk-ui-builder/references/themes/playful.md +52 -0
- package/.agents/skills/qk-ui-builder/references/themes/specimen.md +52 -0
- package/.agents/skills/qk-ui-builder/references/themes/terminal.md +52 -0
- package/.agents/skills/qk-ui-builder/references/typography.md +129 -0
- package/.agents/skills.json +4 -4
- package/CHANGELOG.md +2 -1
- package/README.md +36 -16
- package/bin/lint.js +3 -2
- package/docs/CHI_TIET_SKILLS.md +2 -1
- package/framework/decision-primitives.md +2 -1
- package/package.json +2 -2
- package/skills/_template/SKILL.md +2 -1
- package/skills/qk-access-policy/SKILL.md +3 -2
- package/skills/qk-ai-builder/SKILL.md +3 -2
- package/skills/qk-api-lifecycle/SKILL.md +3 -2
- package/skills/qk-bug-resolution/SKILL.md +3 -2
- package/skills/qk-context-loader/SKILL.md +13 -12
- package/skills/qk-data-lifecycle/SKILL.md +3 -2
- package/skills/qk-db-optimizer/SKILL.md +3 -2
- package/skills/qk-docs/SKILL.md +3 -2
- package/skills/qk-engineering-standard/SKILL.md +19 -18
- package/skills/qk-fe-api-integration/SKILL.md +3 -2
- package/skills/qk-feature-delivery/SKILL.md +3 -2
- package/skills/qk-help/SKILL.md +3 -2
- package/skills/qk-orchestrator/SKILL.md +18 -16
- package/skills/qk-orchestrator/references/routing-table.md +3 -2
- package/skills/qk-production-release/SKILL.md +15 -14
- package/skills/qk-project-bootstrap/SKILL.md +5 -3
- package/skills/qk-project-health/SKILL.md +3 -2
- package/skills/qk-project-memory/SKILL.md +49 -2
- package/skills/qk-system-evolution/SKILL.md +16 -15
- package/skills/qk-ui-audit/SKILL.md +21 -19
- package/skills/qk-ui-builder/SKILL.md +447 -0
- package/skills/qk-ui-builder/references/anti-patterns.md +295 -0
- package/skills/qk-ui-builder/references/color.md +115 -0
- package/skills/qk-ui-builder/references/component-cookbook.md +1194 -0
- package/skills/qk-ui-builder/references/copy.md +250 -0
- package/skills/qk-ui-builder/references/interaction-and-states.md +115 -0
- package/skills/qk-ui-builder/references/layout-and-space.md +111 -0
- package/skills/qk-ui-builder/references/macrostructures/01-bento-grid.md +48 -0
- package/skills/qk-ui-builder/references/macrostructures/02-long-document.md +50 -0
- package/skills/qk-ui-builder/references/macrostructures/03-marquee-hero.md +51 -0
- package/skills/qk-ui-builder/references/macrostructures/04-stat-led.md +49 -0
- package/skills/qk-ui-builder/references/macrostructures/05-workbench.md +44 -0
- package/skills/qk-ui-builder/references/macrostructures/06-conversational-faq.md +50 -0
- package/skills/qk-ui-builder/references/macrostructures/07-manifesto.md +51 -0
- package/skills/qk-ui-builder/references/macrostructures/08-photographic.md +50 -0
- package/skills/qk-ui-builder/references/macrostructures/09-quote-led.md +50 -0
- package/skills/qk-ui-builder/references/macrostructures/11-catalogue.md +49 -0
- package/skills/qk-ui-builder/references/macrostructures/12-letter.md +49 -0
- package/skills/qk-ui-builder/references/macrostructures/13-index-first.md +49 -0
- package/skills/qk-ui-builder/references/macrostructures/14-narrative-workflow.md +48 -0
- package/skills/qk-ui-builder/references/macrostructures/15-split-studio.md +48 -0
- package/skills/qk-ui-builder/references/macrostructures/16-feature-stack.md +51 -0
- package/skills/qk-ui-builder/references/macrostructures/17-type-specimen.md +48 -0
- package/skills/qk-ui-builder/references/macrostructures/18-portfolio-grid.md +48 -0
- package/skills/qk-ui-builder/references/macrostructures/19-map-diagram.md +50 -0
- package/skills/qk-ui-builder/references/macrostructures/20-ecosystem-index.md +48 -0
- package/skills/qk-ui-builder/references/macrostructures/21-component-playground.md +45 -0
- package/skills/qk-ui-builder/references/macrostructures.md +38 -0
- package/skills/qk-ui-builder/references/motion.md +95 -0
- package/skills/qk-ui-builder/references/responsive.md +115 -0
- package/skills/qk-ui-builder/references/slop-test.md +135 -0
- package/skills/qk-ui-builder/references/structure.md +280 -0
- package/skills/qk-ui-builder/references/themes/atmospheric.md +53 -0
- package/skills/qk-ui-builder/references/themes/carnival.md +52 -0
- package/skills/qk-ui-builder/references/themes/cobalt.md +52 -0
- package/skills/qk-ui-builder/references/themes/editorial.md +52 -0
- package/skills/qk-ui-builder/references/themes/garden.md +52 -0
- package/skills/qk-ui-builder/references/themes/hum.md +52 -0
- package/skills/qk-ui-builder/references/themes/lumen.md +52 -0
- package/skills/qk-ui-builder/references/themes/midnight.md +52 -0
- package/skills/qk-ui-builder/references/themes/modern-minimal.md +52 -0
- package/skills/qk-ui-builder/references/themes/playful.md +52 -0
- package/skills/qk-ui-builder/references/themes/specimen.md +52 -0
- package/skills/qk-ui-builder/references/themes/terminal.md +52 -0
- package/skills/qk-ui-builder/references/typography.md +129 -0
- package/skills/qk-ui-system-builder/SKILL.md +3 -2
- package/skills/qk-validation-gate/SKILL.md +18 -17
- package/skills.json +28 -27
- package/.agents/_template/BEHAVIOR_SPEC.md +0 -96
- package/.agents/_template/examples/example-en.md +0 -49
- package/.agents/_template/examples/example-vi.md +0 -49
- package/.agents/skills/qk-design-to-code/SKILL.md +0 -285
- package/.qk-ai-skill-os/CHANGELOG.md +0 -69
- package/.qk-ai-skill-os/LICENSE +0 -21
- package/.qk-ai-skill-os/README.md +0 -59
- package/.qk-ai-skill-os/_template/BEHAVIOR_SPEC.md +0 -96
- package/.qk-ai-skill-os/_template/examples/example-en.md +0 -49
- package/.qk-ai-skill-os/_template/examples/example-vi.md +0 -49
- package/.qk-ai-skill-os/docs/CHI_TIET_SKILLS.md +0 -125
- package/.qk-ai-skill-os/docs/GOVERNANCE.md +0 -40
- package/.qk-ai-skill-os/docs/HUONG_DAN_SU_DUNG.md +0 -120
- package/.qk-ai-skill-os/docs/SPEC.md +0 -87
- package/.qk-ai-skill-os/docs/adr/0001-intent-based-architecture.md +0 -19
- package/.qk-ai-skill-os/docs/adr/0002-kernel-freeze.md +0 -21
- package/.qk-ai-skill-os/docs/adr/0003-risk-based-verification.md +0 -20
- package/.qk-ai-skill-os/docs/adr/0004-progressive-evidence.md +0 -19
- package/.qk-ai-skill-os/docs/skill-classification.md +0 -25
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-accessibility-audit/SKILL.md +0 -121
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-agent-orchestrator/SKILL.md +0 -179
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-api-integration/SKILL.md +0 -389
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-auth-security/SKILL.md +0 -96
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-backend-architecture/SKILL.md +0 -125
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-bug-fix/SKILL.md +0 -213
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-component-generator/SKILL.md +0 -136
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-context-manager/SKILL.md +0 -175
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-database-engineer/SKILL.md +0 -104
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-deployment/SKILL.md +0 -96
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-design-system/SKILL.md +0 -137
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-form-builder/SKILL.md +0 -140
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-frontend-architecture/SKILL.md +0 -155
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-frontend-debug/SKILL.md +0 -133
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-frontend-performance/SKILL.md +0 -129
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-frontend-testing/SKILL.md +0 -146
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-git-engineer/SKILL.md +0 -304
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-help/SKILL.md +0 -68
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-migration/SKILL.md +0 -284
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-project-audit/SKILL.md +0 -280
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-refactor/SKILL.md +0 -222
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-state-management/SKILL.md +0 -140
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-table-crud-generator/SKILL.md +0 -127
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-ui-builder/SKILL.md +0 -152
- package/.qk-ai-skill-os/skills/_template/SKILL.md +0 -238
- package/.qk-ai-skill-os/skills/qk-access-policy/SKILL.md +0 -179
- package/.qk-ai-skill-os/skills/qk-ai-builder/SKILL.md +0 -221
- package/.qk-ai-skill-os/skills/qk-api-lifecycle/SKILL.md +0 -176
- package/.qk-ai-skill-os/skills/qk-bug-resolution/SKILL.md +0 -307
- package/.qk-ai-skill-os/skills/qk-context-loader/SKILL.md +0 -218
- package/.qk-ai-skill-os/skills/qk-data-lifecycle/SKILL.md +0 -192
- package/.qk-ai-skill-os/skills/qk-db-optimizer/SKILL.md +0 -196
- package/.qk-ai-skill-os/skills/qk-design-to-code/SKILL.md +0 -291
- package/.qk-ai-skill-os/skills/qk-docs/SKILL.md +0 -198
- package/.qk-ai-skill-os/skills/qk-engineering-standard/SKILL.md +0 -351
- package/.qk-ai-skill-os/skills/qk-engineering-standard/rules/backend.md +0 -122
- package/.qk-ai-skill-os/skills/qk-engineering-standard/rules/database.md +0 -3
- package/.qk-ai-skill-os/skills/qk-engineering-standard/rules/frontend.md +0 -152
- package/.qk-ai-skill-os/skills/qk-engineering-standard/rules/security.md +0 -3
- package/.qk-ai-skill-os/skills/qk-engineering-standard/rules/testing.md +0 -3
- package/.qk-ai-skill-os/skills/qk-fe-api-integration/SKILL.md +0 -326
- package/.qk-ai-skill-os/skills/qk-feature-delivery/SKILL.md +0 -305
- package/.qk-ai-skill-os/skills/qk-help/SKILL.md +0 -193
- package/.qk-ai-skill-os/skills/qk-orchestrator/SKILL.md +0 -277
- package/.qk-ai-skill-os/skills/qk-orchestrator/references/routing-table.md +0 -77
- package/.qk-ai-skill-os/skills/qk-production-release/SKILL.md +0 -290
- package/.qk-ai-skill-os/skills/qk-project-bootstrap/SKILL.md +0 -240
- package/.qk-ai-skill-os/skills/qk-project-health/SKILL.md +0 -199
- package/.qk-ai-skill-os/skills/qk-project-memory/SKILL.md +0 -172
- package/.qk-ai-skill-os/skills/qk-system-evolution/SKILL.md +0 -285
- package/.qk-ai-skill-os/skills/qk-ui-audit/SKILL.md +0 -314
- package/.qk-ai-skill-os/skills/qk-ui-audit/references/anti-slop-checklist.md +0 -136
- package/.qk-ai-skill-os/skills/qk-ui-system-builder/SKILL.md +0 -225
- package/.qk-ai-skill-os/skills/qk-validation-gate/SKILL.md +0 -361
- package/.qk-ai-skill-os/skills.json +0 -819
- package/skills/qk-design-to-code/SKILL.md +0 -285
package/.agents/CHANGELOG.md
CHANGED
|
@@ -14,7 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
14
14
|
|
|
15
15
|
### Changed (The "Anti-Slop & Zero-Trust" Architecture Upgrade)
|
|
16
16
|
- **Zero-Trust Logic**: Core logic skills (`qk-context-loader`, `qk-orchestrator`, `qk-feature-delivery`) now mandate a Topological Context Graph prior to any code generation.
|
|
17
|
-
- **Strict Design Contract**: Frontend skills (`qk-ui-system-builder`, `qk-
|
|
17
|
+
- **Strict Design Contract**: Frontend skills (`qk-ui-system-builder`, `qk-ui-builder`, `qk-ui-audit`) now explicitly reject generic styling (slop) and enforce strict token matching against a mandated `DESIGN.md`.
|
|
18
18
|
- **Repair Loop Enforcement**: `qk-bug-resolution` updated to strictly prohibit jumping to fixes without explicitly establishing an `Observe -> Hypothesis -> Evidence` chain.
|
|
19
19
|
- **Contract-First APIs**: `qk-api-lifecycle` now requires explicit OpenAPI/Swagger definitions prior to endpoint implementation.
|
|
20
20
|
- **Upgraded Testing Framework**: Fixed regex and validation logic in `behavior-conformance.test.js` to rigorously support YAML array strings and precise V7 markdown constraints. All 22 skills bumped to `v7.0.0`.
|
|
@@ -67,3 +67,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
67
67
|
- Added detailed user documentation in `docs/HUONG_DAN_SU_DUNG.md` and `docs/CHI_TIET_SKILLS.md`.
|
|
68
68
|
- Translated all skill frontmatter descriptions to Vietnamese for better UX in agent terminals.
|
|
69
69
|
- Included generic English and Vietnamese usage examples in `_template/examples/`.
|
|
70
|
+
|
package/.agents/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# 🚀 AI Developer Skill OS (ai-developer-skill-os) v7.
|
|
1
|
+
# 🚀 AI Developer Skill OS (ai-developer-skill-os) v7.5.0
|
|
2
2
|
|
|
3
|
-
> **V7.
|
|
3
|
+
> **V7.5.0 "Anti-Slop & Zero-Trust Architecture"**
|
|
4
4
|
|
|
5
5
|
Hệ sinh thái AI Developer Skill OS đã được tái cấu trúc hoàn toàn. Thay vì cung cấp các "công cụ rời rạc" (Toolbox), phiên bản V7 được thiết kế như một **Hệ điều hành khép kín, hoạt động theo kỷ luật của một Kiến trúc sư Hệ thống (50 năm kinh nghiệm)**.
|
|
6
6
|
|
|
@@ -21,31 +21,71 @@ Bảo vệ mã nguồn khỏi thói quen "sửa vội" của AI. Lỗi bắt bu
|
|
|
21
21
|
|
|
22
22
|
---
|
|
23
23
|
|
|
24
|
-
## 🧩 Danh sách
|
|
24
|
+
## 🧩 Danh sách 22 Master Skills
|
|
25
25
|
|
|
26
26
|
Các kỹ năng được quản lý cực kỳ chặt chẽ với bài kiểm tra tự động (Vitest) để đảm bảo tính nhất quán của luật lệ:
|
|
27
|
-
- **Orchestration:** `qk-orchestrator`, `qk-context-loader`, `qk-
|
|
28
|
-
- **Engineering / Dev:** `qk-feature-delivery`, `qk-api-lifecycle`, `qk-fe-api-integration`, `qk-data-lifecycle`, `qk-
|
|
27
|
+
- **Orchestration:** `qk-orchestrator`, `qk-context-loader`, `qk-access-policy`
|
|
28
|
+
- **Engineering / Dev:** `qk-feature-delivery`, `qk-api-lifecycle`, `qk-fe-api-integration`, `qk-data-lifecycle`, `qk-ui-builder`, `qk-ui-system-builder`
|
|
29
29
|
- **Validation & Standards:** `qk-validation-gate`, `qk-engineering-standard`, `qk-ui-audit`, `qk-project-health`, `qk-bug-resolution`
|
|
30
30
|
- **Ops & AI:** `qk-system-evolution`, `qk-production-release`, `qk-ai-builder`, `qk-project-bootstrap`
|
|
31
|
-
- **Docs & Utils:** `qk-docs`, `qk-project-memory`, `qk-help`
|
|
31
|
+
- **Docs & Utils:** `qk-docs`, `qk-project-memory`, `qk-help`, `qk-db-optimizer`
|
|
32
32
|
|
|
33
33
|
---
|
|
34
34
|
|
|
35
35
|
## 💻 Cách Cài Đặt (Installation)
|
|
36
36
|
|
|
37
|
-
|
|
37
|
+
### Cách 1: NPM Global (Khuyên dùng cho nhiều máy)
|
|
38
38
|
```bash
|
|
39
39
|
npm i -g ai-developer-skill-os
|
|
40
40
|
```
|
|
41
|
-
|
|
41
|
+
|
|
42
|
+
### Cách 2: NXP (Không cần cài global)
|
|
43
|
+
```bash
|
|
44
|
+
npx ai-developer-skill-os init --ide=antigravity --scope=2
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
### Cách 3: NPM Scripts (Trong dự án)
|
|
42
48
|
```bash
|
|
43
|
-
|
|
49
|
+
# Antigravity Global — 1 lần cài, mọi dự án dùng chung
|
|
50
|
+
npm run install:antigravity
|
|
51
|
+
|
|
52
|
+
# Antigravity Local — cài riêng cho dự án này
|
|
53
|
+
npm run install:antigravity:local
|
|
54
|
+
|
|
55
|
+
# Các IDE khác
|
|
56
|
+
npm run install:cursor # Global Cursor
|
|
57
|
+
npm run install:windsurf # Global Windsurf
|
|
58
|
+
npm run install:claude # Global Claude Code
|
|
59
|
+
npm run install:kilo # Global Kilo Code
|
|
60
|
+
npm run install:multi # Multi-IDE
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
## 📦 Tham số cho `init`
|
|
64
|
+
|
|
65
|
+
| Tham số | Giá trị | Mô tả |
|
|
66
|
+
|---------|---------|-------|
|
|
67
|
+
| `--ide` | `antigravity`, `cursor`, `windsurf`, `claude`, `kilo`, `multi-ide` | IDE/AI Assistant |
|
|
68
|
+
| `--scope` | `1` = Local, `2` = Global | Phạm vi cài đặt |
|
|
69
|
+
|
|
70
|
+
### Ví dụ thực tế
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
# Cài Antigravity Global (toàn máy)
|
|
74
|
+
npx ai-developer-skill-os init --ide=antigravity --scope=2
|
|
75
|
+
|
|
76
|
+
# Cài Antigravity Local (chỉ dự án này)
|
|
77
|
+
npx ai-developer-skill-os init --ide=antigravity --scope=1
|
|
78
|
+
|
|
79
|
+
# Cài Cursor Local
|
|
80
|
+
npx ai-developer-skill-os init --ide=cursor --scope=1
|
|
81
|
+
|
|
82
|
+
# Cài Multi-IDE (tạo CLAUDE.md + .qk-ai-skill-os)
|
|
83
|
+
npx ai-developer-skill-os init --ide=multi-ide --scope=2
|
|
44
84
|
```
|
|
45
85
|
|
|
46
86
|
## 🧪 Testing
|
|
47
87
|
|
|
48
|
-
Hệ thống được bảo vệ bằng bộ Test Suite (Vitest) để tự động kiểm toán tính hợp lệ của toàn bộ
|
|
88
|
+
Hệ thống được bảo vệ bằng bộ Test Suite (Vitest) để tự động kiểm toán tính hợp lệ của toàn bộ 22 file Kỹ năng trước khi xuất bản:
|
|
49
89
|
|
|
50
90
|
```bash
|
|
51
91
|
npm test
|
|
@@ -57,3 +97,4 @@ npm test
|
|
|
57
97
|
```bash
|
|
58
98
|
./qk-help
|
|
59
99
|
```
|
|
100
|
+
|
|
@@ -40,7 +40,7 @@ Dưới đây là danh sách chi tiết và giải thích cụ thể cho toàn b
|
|
|
40
40
|
- **Mô tả:** Quản lý Design Token, tạo ra các Component có thể tái sử dụng (Button, Table, Form) đảm bảo tính nhất quán toàn dự án.
|
|
41
41
|
- **Khi nào dùng:** Xây dựng thư viện giao diện, tránh viết CSS lộn xộn.
|
|
42
42
|
|
|
43
|
-
### 8. `qk-
|
|
43
|
+
### 8. `qk-ui-builder` (Chuyển Đổi Thiết Kế)
|
|
44
44
|
- **Mô tả:** Đọc hiểu hình ảnh/Figma để tự động chuyển thành mã nguồn giao diện (React, Tailwind, v.v.).
|
|
45
45
|
- **Khi nào dùng:** Bóc tách UI từ bản thiết kế.
|
|
46
46
|
|
|
@@ -123,3 +123,4 @@ Dưới đây là danh sách chi tiết và giải thích cụ thể cho toàn b
|
|
|
123
123
|
### 22. `qk-help` (Tra Cứu Nhanh)
|
|
124
124
|
- **Mô tả:** Cuốn từ điển sống. Cung cấp thông tin và hướng dẫn chi tiết (Pro-tips) về cách sử dụng toàn bộ hệ thống.
|
|
125
125
|
- **Khi nào dùng:** Bất kỳ khi nào người dùng cần hỗ trợ sử dụng hệ điều hành.
|
|
126
|
+
|
|
@@ -143,7 +143,7 @@ schema_version: 2
|
|
|
143
143
|
**Pipeline Rules:**
|
|
144
144
|
```
|
|
145
145
|
UI tasks:
|
|
146
|
-
[DESIGN.md check] → [qk-ui-audit (optional)] → [qk-
|
|
146
|
+
[DESIGN.md check] → [qk-ui-audit (optional)] → [qk-ui-builder | qk-feature-delivery]
|
|
147
147
|
|
|
148
148
|
Logic tasks:
|
|
149
149
|
[qk-context-loader] → [qk-feature-delivery | qk-bug-resolution | qk-api-lifecycle]
|
|
@@ -167,7 +167,7 @@ Full table: see `references/routing-table.md`
|
|
|
167
167
|
|----------------|---------------|----------|
|
|
168
168
|
| bug, lỗi, error, broken, crash, fix, sửa | `qk-bug-resolution` | direct |
|
|
169
169
|
| tính năng, feature, thêm, mới, add, implement | `qk-feature-delivery` | context-loader first |
|
|
170
|
-
| UI, giao diện, design, component, layout, màn hình | `qk-
|
|
170
|
+
| UI, giao diện, design, component, layout, màn hình | `qk-ui-builder` | DESIGN.md check |
|
|
171
171
|
| slow, query, index, N+1, performance DB | `qk-db-optimizer` | context-loader first |
|
|
172
172
|
| deploy, release, production, CI/CD, build | `qk-production-release` | validation-gate first |
|
|
173
173
|
| schema, migration, database, table, model | `qk-data-lifecycle` | context-loader first |
|
|
@@ -275,3 +275,4 @@ schema_version: 2
|
|
|
275
275
|
|
|
276
276
|
---
|
|
277
277
|
|
|
278
|
+
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|----------------------------------------|---------------|-------------------|
|
|
11
11
|
| bug, lỗi, error, broken, crash, fix, sửa, không hoạt động | `qk-bug-resolution` | direct |
|
|
12
12
|
| tính năng, feature, thêm, mới, add, implement, xây dựng | `qk-feature-delivery` | `qk-context-loader` first |
|
|
13
|
-
| UI, giao diện, design, component, layout, màn hình, hiển thị | `qk-
|
|
13
|
+
| UI, giao diện, design, component, layout, màn hình, hiển thị | `qk-ui-builder` | DESIGN.md check |
|
|
14
14
|
| slow, chậm, query, index, N+1, performance DB, tối ưu DB | `qk-db-optimizer` | `qk-context-loader` first |
|
|
15
15
|
| deploy, release, production, CI/CD, build, xuất bản | `qk-production-release` | `qk-validation-gate` first |
|
|
16
16
|
| schema, migration, database, table, model, ORM | `qk-data-lifecycle` | `qk-context-loader` first |
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
```
|
|
39
39
|
1. Check DESIGN.md exists (qk-project-bootstrap if missing)
|
|
40
40
|
2. [Optional] qk-ui-audit — audit existing UI
|
|
41
|
-
3. qk-
|
|
41
|
+
3. qk-ui-builder OR qk-feature-delivery (UI part)
|
|
42
42
|
4. qk-validation-gate — lint + type check
|
|
43
43
|
```
|
|
44
44
|
|
|
@@ -75,3 +75,4 @@ When 2+ skills match:
|
|
|
75
75
|
| "refactor" + API | `qk-engineering-standard` if code quality focus, `qk-api-lifecycle` if contract change |
|
|
76
76
|
| "add feature" + DB | Route `qk-feature-delivery` with `qk-data-lifecycle` in pipeline |
|
|
77
77
|
| "optimize" without context | Ask: "DB performance or code quality?" |
|
|
78
|
+
|
|
@@ -224,7 +224,7 @@ Recommended Assumptions (if proceeding):
|
|
|
224
224
|
### Produces
|
|
225
225
|
```json
|
|
226
226
|
{
|
|
227
|
-
"to": "qk-feature-delivery or qk-
|
|
227
|
+
"to": "qk-feature-delivery or qk-ui-builder",
|
|
228
228
|
"output_fields": ["project_structure", "design_md_path", "tooling_config", "exit_code"]
|
|
229
229
|
}
|
|
230
230
|
```
|
|
@@ -232,3 +232,4 @@ Recommended Assumptions (if proceeding):
|
|
|
232
232
|
---
|
|
233
233
|
|
|
234
234
|
|
|
235
|
+
|
|
@@ -170,3 +170,49 @@ Recommended Assumptions:
|
|
|
170
170
|
|
|
171
171
|
---
|
|
172
172
|
|
|
173
|
+
## UI Diversification Memory
|
|
174
|
+
|
|
175
|
+
### Purpose
|
|
176
|
+
Prevent UI template repetition across project builds. Inspired by Hallmark's `.hallmark/log.json`.
|
|
177
|
+
|
|
178
|
+
### Storage Path
|
|
179
|
+
```
|
|
180
|
+
.agents/memory/
|
|
181
|
+
├── architecture.json
|
|
182
|
+
├── patterns.json
|
|
183
|
+
├── decisions.json
|
|
184
|
+
├── warnings.json
|
|
185
|
+
└── ui-diversification.json # NEW: UI build history
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
### Schema
|
|
189
|
+
```json
|
|
190
|
+
{
|
|
191
|
+
"id": "ui_[timestamp]",
|
|
192
|
+
"category": "ui-diversification",
|
|
193
|
+
"fact": "Built [component] with [theme] theme and [macrostructure] macrostructure",
|
|
194
|
+
"evidence": "path/to/component.tsx",
|
|
195
|
+
"confidence": "HIGH",
|
|
196
|
+
"created_at": "ISO8601",
|
|
197
|
+
"expires_at": null,
|
|
198
|
+
"tags": ["theme", "macrostructure", "component"]
|
|
199
|
+
}
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
### Rule
|
|
203
|
+
**No two consecutive UI builds in the same project may share the same theme + macrostructure combination.**
|
|
204
|
+
|
|
205
|
+
When `qk-ui-builder` runs:
|
|
206
|
+
1. Read `.agents/memory/ui-diversification.json` (if exists)
|
|
207
|
+
2. Get last entry's theme + macrostructure
|
|
208
|
+
3. Pick different combination for current build
|
|
209
|
+
4. After build, append new entry to `ui-diversification.json`
|
|
210
|
+
|
|
211
|
+
### Enforcement
|
|
212
|
+
If user requests same theme/macrostructure as last build:
|
|
213
|
+
- Note the conflict in output
|
|
214
|
+
- Recommend alternative
|
|
215
|
+
- Proceed only if user explicitly overrides
|
|
216
|
+
|
|
217
|
+
---
|
|
218
|
+
|
|
@@ -56,7 +56,7 @@ schema_version: 2
|
|
|
56
56
|
- ✅ Validate responsive, interactive, and animation states
|
|
57
57
|
|
|
58
58
|
## Non-Goals
|
|
59
|
-
- ❌ Fix the UI — only audit and report (fixes go to qk-
|
|
59
|
+
- ❌ Fix the UI — only audit and report (fixes go to qk-ui-builder)
|
|
60
60
|
- ❌ Pixel-level screenshot comparison
|
|
61
61
|
- ❌ Read entire CSS files — use targeted reads
|
|
62
62
|
|
|
@@ -248,7 +248,7 @@ schema_version: 2
|
|
|
248
248
|
### Produces
|
|
249
249
|
```json
|
|
250
250
|
{
|
|
251
|
-
"to": "qk-
|
|
251
|
+
"to": "qk-ui-builder (if fixes needed)",
|
|
252
252
|
"output_fields": ["audit_score", "violations_list", "top_3_fixes", "exit_code"]
|
|
253
253
|
}
|
|
254
254
|
```
|
|
@@ -312,3 +312,4 @@ schema_version: 2
|
|
|
312
312
|
|
|
313
313
|
---
|
|
314
314
|
|
|
315
|
+
|