ai-developer-skill-os 7.0.0 → 7.0.2
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/CHANGELOG.md +5 -0
- package/README.md +59 -93
- package/package.json +1 -1
- package/skills/qk-fe-api-integration/SKILL.md +55 -0
- package/skills.json +38 -3
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,11 @@ All notable changes to the **AI Developer Skill OS** project will be documented
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [7.0.2] - 2026-07-15
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- **Frontend Integration**: Added `qk-fe-api-integration` skill to strictly enforce zero-overhead base API consumption, DTO mapping, and resilient UI states.
|
|
12
|
+
|
|
8
13
|
## [7.0.0] - 2026-07-15
|
|
9
14
|
|
|
10
15
|
### Changed (The "Anti-Slop & Zero-Trust" Architecture Upgrade)
|
package/README.md
CHANGED
|
@@ -1,93 +1,59 @@
|
|
|
1
|
-
# 🚀 AI Developer Skill OS (ai-developer-skill-os)
|
|
2
|
-
|
|
3
|
-
> **
|
|
4
|
-
|
|
5
|
-
Thay vì cung cấp các "công cụ rời rạc" (Toolbox)
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
## 🏗️
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
```bash
|
|
61
|
-
npm i -g ai-developer-skill-os
|
|
62
|
-
```
|
|
63
|
-
Hoặc sử dụng qua `npx`:
|
|
64
|
-
```bash
|
|
65
|
-
npx ai-developer-skill-os init
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
## 🧪 Testing
|
|
69
|
-
|
|
70
|
-
This project includes a full test suite to ensure registry integrity and SKILL.md spec compliance:
|
|
71
|
-
|
|
72
|
-
```bash
|
|
73
|
-
npm test
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
CI runs automatically on every PR via GitHub Actions, enforcing:
|
|
77
|
-
- Registry matches filesystem
|
|
78
|
-
- All SKILL.md frontmatters comply with `docs/SPEC.md`
|
|
79
|
-
- Install script idempotency
|
|
80
|
-
|
|
81
|
-
## 🗑️ Cách Gỡ Cài Đặt (Uninstallation)
|
|
82
|
-
|
|
83
|
-
Nếu bạn đã cài đặt thông qua npm global, bạn có thể gỡ bỏ bằng lệnh:
|
|
84
|
-
```bash
|
|
85
|
-
npm uninstall -g ai-developer-skill-os
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
## 🚀 Tra Cứu (Help)
|
|
89
|
-
|
|
90
|
-
Để tra cứu danh sách toàn bộ 20+ Kỹ năng và các mẹo sử dụng, hãy gọi:
|
|
91
|
-
```bash
|
|
92
|
-
./qk-help "Hiển thị tất cả các skill"
|
|
93
|
-
```
|
|
1
|
+
# 🚀 AI Developer Skill OS (ai-developer-skill-os) v7.0.0
|
|
2
|
+
|
|
3
|
+
> **V7.0.0 "Anti-Slop & Zero-Trust Architecture"**
|
|
4
|
+
|
|
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
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## 🏗️ Triết Lý Hoạt Động Cốt Lõi (V7 Kernel)
|
|
10
|
+
|
|
11
|
+
### 1. Zero-Trust Context (Không bao giờ đoán mò)
|
|
12
|
+
Mọi kỹ năng phân tích logic và backend (như `qk-feature-delivery`, `qk-orchestrator`) đều bị khoá chặt, không được phép hoạt động nếu chưa có **Dependency Graph** (Bản đồ cấu trúc) từ `qk-context-loader`. AI không được phép thay đổi code dựa trên trí tưởng tượng.
|
|
13
|
+
|
|
14
|
+
### 2. Contract-First (Khế ước đi đầu)
|
|
15
|
+
- **Frontend / UI**: Mọi sửa đổi giao diện đều phải dựa trên `DESIGN.md`. Nếu vi phạm (tạo ra giao diện lười biếng "slop", dùng màu mặc định sai lệch), AI sẽ tự động bị đánh trượt bài kiểm toán.
|
|
16
|
+
- **Backend / API**: Mọi API phải được viết `OpenAPI/Swagger` schema trước khi viết logic thực tế (`qk-api-lifecycle`).
|
|
17
|
+
- **Database**: Cấm truy vấn mù. Bắt buộc phải có Schema định nghĩa rõ ràng trước (`qk-data-lifecycle`).
|
|
18
|
+
|
|
19
|
+
### 3. Repair Loop (Chu trình Sửa Lỗi Khép Kín)
|
|
20
|
+
Bảo vệ mã nguồn khỏi thói quen "sửa vội" của AI. Lỗi bắt buộc phải qua chu trình điều tra nghiêm ngặt: `Observe -> Hypothesis -> Evidence -> Fix -> Verify` (`qk-bug-resolution`).
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## 🧩 Danh sách 23 Master Skills
|
|
25
|
+
|
|
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-policy-engine`, `qk-access-policy`
|
|
28
|
+
- **Engineering / Dev:** `qk-feature-delivery`, `qk-api-lifecycle`, `qk-fe-api-integration`, `qk-data-lifecycle`, `qk-design-to-code`, `qk-ui-system-builder`
|
|
29
|
+
- **Validation & Standards:** `qk-validation-gate`, `qk-engineering-standard`, `qk-ui-audit`, `qk-project-health`, `qk-bug-resolution`
|
|
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`
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## 💻 Cách Cài Đặt (Installation)
|
|
36
|
+
|
|
37
|
+
Sử dụng npm:
|
|
38
|
+
```bash
|
|
39
|
+
npm i -g ai-developer-skill-os
|
|
40
|
+
```
|
|
41
|
+
Hoặc khởi tạo thông qua `npx`:
|
|
42
|
+
```bash
|
|
43
|
+
npx ai-developer-skill-os init
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## 🧪 Testing
|
|
47
|
+
|
|
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ộ 23 file Kỹ năng trước khi xuất bản:
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
npm test
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
## 🚀 Tra Cứu (Help)
|
|
55
|
+
|
|
56
|
+
Để tra cứu danh sách các Kỹ năng và luật lệ khắt khe của hệ thống V7, hãy gọi:
|
|
57
|
+
```bash
|
|
58
|
+
./qk-help
|
|
59
|
+
```
|
package/package.json
CHANGED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: qk-fe-api-integration
|
|
3
|
+
category: frontend
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
description: "Chuyên biệt hóa việc tiêu thụ (consume) API Backend, quản lý State, và ghép nối vào Giao diện (UI) tuân thủ chặt chẽ Base dự án."
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# qk-fe-api-integration
|
|
9
|
+
|
|
10
|
+
## Scope
|
|
11
|
+
- Consume RESTful/GraphQL APIs from Backend (Plan & Execute).
|
|
12
|
+
- Automatically generate Types/Interfaces based on JSON Response.
|
|
13
|
+
- Manage UI states (Loading, Success, Error) and Pagination.
|
|
14
|
+
- Bind data to existing UI Components or create new ones based on the Design System.
|
|
15
|
+
|
|
16
|
+
## Verbs
|
|
17
|
+
- `[ANALYZE_BASE]`: Perform targeted, zero-overhead searches (e.g., grep `package.json` or check `src/api`) to rapidly identify existing API conventions (Axios, RTK Query, React Query). DO NOT execute exhaustive project scans.
|
|
18
|
+
- `[GENERATE_TYPES]`: Analyze cURL/JSON payloads to construct strict, type-safe TypeScript Interfaces/Types.
|
|
19
|
+
- `[INTEGRATE]`: Implement API consumption logic, execute Data Transfer Object (DTO) mapping, and bind state seamlessly to UI Components.
|
|
20
|
+
|
|
21
|
+
## Constraints
|
|
22
|
+
```yaml
|
|
23
|
+
must:
|
|
24
|
+
- "Execute a targeted lookup to identify the project's [Base API Client] architecture before writing network logic; NEVER default to raw fetch/axios if a wrapper exists"
|
|
25
|
+
- "Define explicit TypeScript Interfaces for both Request and Response schemas prior to implementation"
|
|
26
|
+
- "Thoroughly handle all 3 UI lifecycle states: Loading, Success, Error (via toast/alert mechanisms)"
|
|
27
|
+
- "Sanitize and map Backend payloads (DTO pattern) before injecting them into Dumb Components to prevent data leakage"
|
|
28
|
+
- "Maximize the reuse of existing project UI Components (Table, Form, Modal) over creating custom ones"
|
|
29
|
+
must_not:
|
|
30
|
+
- "Hardcode API Base URLs or Endpoint paths directly within UI components (enforce env vars or centralized config)"
|
|
31
|
+
- "Inject API calling logic (Smart logic) inside purely presentational components (Dumb components)"
|
|
32
|
+
- "Arbitrarily introduce new State/Fetching management libraries that conflict with the project's established standards"
|
|
33
|
+
- "Hallucinate or presume the existence of data fields not explicitly defined in the provided JSON samples"
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Policies
|
|
37
|
+
```yaml
|
|
38
|
+
prefer:
|
|
39
|
+
- "Strict architectural separation between the Services layer (API calls) and the View layer (UI display)"
|
|
40
|
+
- "Implementation of Cache Invalidation strategies after successful Mutations (POST/PUT/DELETE) for state managers like React Query/RTK Query"
|
|
41
|
+
- "Surfacing user-friendly, localized error messages (Toast/Alert) rather than raw console logs"
|
|
42
|
+
- "Utilization of Optional Chaining (?.) and Nullish Coalescing (??) to construct resilient UIs that do not crash on malformed payloads"
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## Escalation
|
|
46
|
+
```yaml
|
|
47
|
+
stop:
|
|
48
|
+
- "The project's Base API Client is indiscernible or the overarching API architecture is ambiguous"
|
|
49
|
+
- "The provided Backend JSON lacks mandatory fields essential for rendering the requested UI components"
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## Output
|
|
53
|
+
- Strict Type/Interface definition files (e.g., `types.ts`).
|
|
54
|
+
- Modular API Services files (e.g., `api.ts`).
|
|
55
|
+
- Presentational UI Components with complete data binding and state handling.
|
package/skills.json
CHANGED
|
@@ -740,6 +740,40 @@
|
|
|
740
740
|
],
|
|
741
741
|
"status": "ready",
|
|
742
742
|
"description": "Cổng kiểm tra chất lượng bắt buộc (Test, Lint, Security)."
|
|
743
|
+
},
|
|
744
|
+
{
|
|
745
|
+
"name": "qk-fe-api-integration",
|
|
746
|
+
"path": "skills/qk-fe-api-integration/SKILL.md",
|
|
747
|
+
"version": "1.0.0",
|
|
748
|
+
"category": "engineering",
|
|
749
|
+
"subcategory": "frontend",
|
|
750
|
+
"behavior": "development",
|
|
751
|
+
"intent": "implement-feature",
|
|
752
|
+
"priority": "high",
|
|
753
|
+
"tags": [
|
|
754
|
+
"api",
|
|
755
|
+
"frontend",
|
|
756
|
+
"integration",
|
|
757
|
+
"ui-binding",
|
|
758
|
+
"state-management"
|
|
759
|
+
],
|
|
760
|
+
"trigger": [
|
|
761
|
+
"ghép api",
|
|
762
|
+
"tích hợp api",
|
|
763
|
+
"consume api",
|
|
764
|
+
"gọi api",
|
|
765
|
+
"bind data"
|
|
766
|
+
],
|
|
767
|
+
"dependencies": [],
|
|
768
|
+
"conflicts": [],
|
|
769
|
+
"platforms": [
|
|
770
|
+
"claude-code",
|
|
771
|
+
"cursor",
|
|
772
|
+
"windsurf",
|
|
773
|
+
"gemini-cli"
|
|
774
|
+
],
|
|
775
|
+
"status": "ready",
|
|
776
|
+
"description": "Chuyên biệt hóa việc tiêu thụ (consume) API Backend, quản lý State, và ghép nối vào Giao diện (UI) tuân thủ chặt chẽ Base dự án."
|
|
743
777
|
}
|
|
744
778
|
],
|
|
745
779
|
"categories": {
|
|
@@ -763,7 +797,8 @@
|
|
|
763
797
|
"qk-design-to-code",
|
|
764
798
|
"qk-feature-delivery",
|
|
765
799
|
"qk-project-bootstrap",
|
|
766
|
-
"qk-ui-system-builder"
|
|
800
|
+
"qk-ui-system-builder",
|
|
801
|
+
"qk-fe-api-integration"
|
|
767
802
|
],
|
|
768
803
|
"validation": [
|
|
769
804
|
"qk-production-release",
|
|
@@ -788,8 +823,8 @@
|
|
|
788
823
|
"lastAudited": "2026-07-02",
|
|
789
824
|
"auditedBy": "kilo-auto/free",
|
|
790
825
|
"specCompliance": "4.0",
|
|
791
|
-
"totalSkills":
|
|
792
|
-
"readySkills":
|
|
826
|
+
"totalSkills": 23,
|
|
827
|
+
"readySkills": 23,
|
|
793
828
|
"archivedSkills": 22
|
|
794
829
|
}
|
|
795
830
|
}
|