@nalvietnam/avatar-cli 3.0.0-beta.1 → 3.0.0-beta.11
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/dist/index.js +65 -61
- package/dist/index.js.map +1 -1
- package/dist/templates/CLAUDE.md.tpl +2 -2
- package/package.json +1 -1
- package/src/templates/CLAUDE.md.tpl +2 -2
|
@@ -36,7 +36,7 @@ git push
|
|
|
36
36
|
|
|
37
37
|
### 🧰 Team AI Pack
|
|
38
38
|
|
|
39
|
-
Workspace dùng **team-ai-pack** (
|
|
39
|
+
Workspace dùng **team-ai-pack** (tải về `.claude/pack/` qua `avatar sync`) làm nguồn chung cho skills, agents, commands, hooks, workflows, scripts. Mount points qua symlink:
|
|
40
40
|
|
|
41
41
|
| Convention path Claude Code scan | Source thực |
|
|
42
42
|
|---|---|
|
|
@@ -74,7 +74,7 @@ ls -la .claude/skills # Verify symlink → pack/skills
|
|
|
74
74
|
> ⚠️ **Hướng dẫn dành riêng cho AI assistant (Claude Code agent):**
|
|
75
75
|
>
|
|
76
76
|
> 1. **Trước khi tự code 1 task**, check xem `.claude/pack/skills/`, `.claude/pack/commands/`, `.claude/pack/agents/` có capability sẵn không. Nếu có → dùng, không làm lại.
|
|
77
|
-
> 2. **KHÔNG edit file trong `.claude/pack/`** — đó là
|
|
77
|
+
> 2. **KHÔNG edit file trong `.claude/pack/`** — đó là content team-shared (tải qua `avatar sync`), edit trực tiếp sẽ bị ghi đè khi sync. Muốn đổi pack content → báo team admin update upstream.
|
|
78
78
|
> 3. **KHÔNG xóa symlink** ở `.claude/{skills,agents,commands,...}` — chúng là entry point cho Claude Code. Nếu user lỡ xóa → recover bằng `avatar sync --force`.
|
|
79
79
|
> 4. Nếu pack thiếu skill/command cần thiết → suggest user đề xuất với team admin add vào pack, không tự tạo skill local trong `.claude/skills/` (sẽ collision với symlink khi sync sau).
|
|
80
80
|
|
package/package.json
CHANGED
|
@@ -36,7 +36,7 @@ git push
|
|
|
36
36
|
|
|
37
37
|
### 🧰 Team AI Pack
|
|
38
38
|
|
|
39
|
-
Workspace dùng **team-ai-pack** (
|
|
39
|
+
Workspace dùng **team-ai-pack** (tải về `.claude/pack/` qua `avatar sync`) làm nguồn chung cho skills, agents, commands, hooks, workflows, scripts. Mount points qua symlink:
|
|
40
40
|
|
|
41
41
|
| Convention path Claude Code scan | Source thực |
|
|
42
42
|
|---|---|
|
|
@@ -74,7 +74,7 @@ ls -la .claude/skills # Verify symlink → pack/skills
|
|
|
74
74
|
> ⚠️ **Hướng dẫn dành riêng cho AI assistant (Claude Code agent):**
|
|
75
75
|
>
|
|
76
76
|
> 1. **Trước khi tự code 1 task**, check xem `.claude/pack/skills/`, `.claude/pack/commands/`, `.claude/pack/agents/` có capability sẵn không. Nếu có → dùng, không làm lại.
|
|
77
|
-
> 2. **KHÔNG edit file trong `.claude/pack/`** — đó là
|
|
77
|
+
> 2. **KHÔNG edit file trong `.claude/pack/`** — đó là content team-shared (tải qua `avatar sync`), edit trực tiếp sẽ bị ghi đè khi sync. Muốn đổi pack content → báo team admin update upstream.
|
|
78
78
|
> 3. **KHÔNG xóa symlink** ở `.claude/{skills,agents,commands,...}` — chúng là entry point cho Claude Code. Nếu user lỡ xóa → recover bằng `avatar sync --force`.
|
|
79
79
|
> 4. Nếu pack thiếu skill/command cần thiết → suggest user đề xuất với team admin add vào pack, không tự tạo skill local trong `.claude/skills/` (sẽ collision với symlink khi sync sau).
|
|
80
80
|
|