@neyugn/agent-kits 0.2.1 → 0.2.4
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 +10 -8
- package/README.vi.md +12 -10
- package/README.zh.md +8 -6
- package/dist/cli.js +24 -14
- package/kits/coder/rules/{CODEX.md → AGENTS.md} +2 -6
- package/kits/coder/rules/CLAUDE.md +0 -4
- package/kits/coder/rules/{.cursorrules → CURSOR.md} +2 -1
- package/kits/coder/rules/GEMINI.md +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -123,14 +123,16 @@ If the installer detects an existing installation, you'll be prompted:
|
|
|
123
123
|
|
|
124
124
|
### 🔌 Universal Compatibility
|
|
125
125
|
|
|
126
|
-
| Tool | Workspace Path | Global Path | Status
|
|
127
|
-
| ----------- | ----------------- | ------------ |
|
|
128
|
-
|
|
|
129
|
-
|
|
|
130
|
-
|
|
|
131
|
-
|
|
|
132
|
-
|
|
|
133
|
-
| Custom | Configurable | `~/.ai/` |
|
|
126
|
+
| Tool | Workspace Path | Global Path | Status |
|
|
127
|
+
| ----------- | ----------------- | ------------ | --------------- |
|
|
128
|
+
| Cursor | `.cursor/skills/` | `~/.cursor/` | ✅ Verified |
|
|
129
|
+
| Antigravity | `.agent/skills/` | `~/.agent/` | ✅ Verified |
|
|
130
|
+
| Claude Code | `.claude/skills/` | `~/.claude/` | 🧪 Experimental |
|
|
131
|
+
| Gemini CLI | `.gemini/skills/` | `~/.gemini/` | 🧪 Experimental |
|
|
132
|
+
| Codex CLI | `.codex/skills/` | `~/.codex/` | 🧪 Experimental |
|
|
133
|
+
| Custom | Configurable | `~/.ai/` | 🧪 Experimental |
|
|
134
|
+
|
|
135
|
+
> **Note:** Tools marked as 🧪 Experimental have not been fully tested and may require additional user configuration. Contributions and feedback are welcome!
|
|
134
136
|
|
|
135
137
|
### 💻 Cross-Platform Support
|
|
136
138
|
|
package/README.vi.md
CHANGED
|
@@ -113,16 +113,18 @@ Nếu installer phát hiện cài đặt đã tồn tại, bạn sẽ được h
|
|
|
113
113
|
- **⏭️ Bỏ qua**: Giữ nguyên, không cài đặt
|
|
114
114
|
- **❌ Hủy**: Thoát installer
|
|
115
115
|
|
|
116
|
-
###
|
|
117
|
-
|
|
118
|
-
| Công cụ | Đường dẫn Workspace | Đường dẫn Global | Trạng thái
|
|
119
|
-
| ----------- | ------------------- | ---------------- |
|
|
120
|
-
|
|
|
121
|
-
|
|
|
122
|
-
|
|
|
123
|
-
|
|
|
124
|
-
|
|
|
125
|
-
| Tùy chỉnh | Có thể cấu hình | `~/.ai/` |
|
|
116
|
+
### 🔌 Tương thích phổ quát
|
|
117
|
+
|
|
118
|
+
| Công cụ | Đường dẫn Workspace | Đường dẫn Global | Trạng thái |
|
|
119
|
+
| ----------- | ------------------- | ---------------- | -------------- |
|
|
120
|
+
| Cursor | `.cursor/skills/` | `~/.cursor/` | ✅ Đã xác nhận |
|
|
121
|
+
| Antigravity | `.agent/skills/` | `~/.agent/` | ✅ Đã xác nhận |
|
|
122
|
+
| Claude Code | `.claude/skills/` | `~/.claude/` | 🧪 Thực nghiệm |
|
|
123
|
+
| Gemini CLI | `.gemini/skills/` | `~/.gemini/` | 🧪 Thực nghiệm |
|
|
124
|
+
| Codex CLI | `.codex/skills/` | `~/.codex/` | 🧪 Thực nghiệm |
|
|
125
|
+
| Tùy chỉnh | Có thể cấu hình | `~/.ai/` | 🧪 Thực nghiệm |
|
|
126
|
+
|
|
127
|
+
> **Lưu ý:** Các công cụ đánh dấu 🧪 Thực nghiệm chưa được kiểm tra đầy đủ và có thể cần người dùng tùy chỉnh thêm. Đóng góp và phản hồi luôn được hoan nghênh!
|
|
126
128
|
|
|
127
129
|
### 💻 Hỗ trợ đa nền tảng
|
|
128
130
|
|
package/README.zh.md
CHANGED
|
@@ -117,12 +117,14 @@ npx @neyugn/agent-kits
|
|
|
117
117
|
|
|
118
118
|
| 工具 | Workspace 路径 | Global 路径 | 状态 |
|
|
119
119
|
| ----------- | ----------------- | ------------ | --------- |
|
|
120
|
-
|
|
|
121
|
-
|
|
|
122
|
-
|
|
|
123
|
-
|
|
|
124
|
-
|
|
|
125
|
-
| 自定义 | 可配置 | `~/.ai/` |
|
|
120
|
+
| Cursor | `.cursor/skills/` | `~/.cursor/` | ✅ 已验证 |
|
|
121
|
+
| Antigravity | `.agent/skills/` | `~/.agent/` | ✅ 已验证 |
|
|
122
|
+
| Claude Code | `.claude/skills/` | `~/.claude/` | 🧪 实验性 |
|
|
123
|
+
| Gemini CLI | `.gemini/skills/` | `~/.gemini/` | 🧪 实验性 |
|
|
124
|
+
| Codex CLI | `.codex/skills/` | `~/.codex/` | 🧪 实验性 |
|
|
125
|
+
| 自定义 | 可配置 | `~/.ai/` | 🧪 实验性 |
|
|
126
|
+
|
|
127
|
+
> **注意:** 标记为 🧪 实验性的工具尚未完全测试,可能需要用户进行额外配置。欢迎贡献和反馈!
|
|
126
128
|
|
|
127
129
|
### 💻 跨平台支持
|
|
128
130
|
|
package/dist/cli.js
CHANGED
|
@@ -32,7 +32,9 @@ var AI_TOOLS = [
|
|
|
32
32
|
globalPathPattern: "~/.claude",
|
|
33
33
|
// Resolved to home dir at runtime
|
|
34
34
|
rulesFile: "CLAUDE.md",
|
|
35
|
-
kitRulesFile: "CLAUDE.md"
|
|
35
|
+
kitRulesFile: "CLAUDE.md",
|
|
36
|
+
rulesInsideKit: true
|
|
37
|
+
// Claude reads from .claude/CLAUDE.md (2025 standard)
|
|
36
38
|
},
|
|
37
39
|
{
|
|
38
40
|
id: "gemini",
|
|
@@ -41,7 +43,9 @@ var AI_TOOLS = [
|
|
|
41
43
|
path: ".gemini",
|
|
42
44
|
globalPathPattern: "~/.gemini",
|
|
43
45
|
rulesFile: "GEMINI.md",
|
|
44
|
-
kitRulesFile: "GEMINI.md"
|
|
46
|
+
kitRulesFile: "GEMINI.md",
|
|
47
|
+
rulesInsideKit: true
|
|
48
|
+
// Gemini reads from .gemini/GEMINI.md
|
|
45
49
|
},
|
|
46
50
|
{
|
|
47
51
|
id: "codex",
|
|
@@ -49,8 +53,10 @@ var AI_TOOLS = [
|
|
|
49
53
|
icon: "\u{1F7E2}",
|
|
50
54
|
path: ".codex",
|
|
51
55
|
globalPathPattern: "~/.codex",
|
|
52
|
-
rulesFile: "
|
|
53
|
-
kitRulesFile: "
|
|
56
|
+
rulesFile: "AGENTS.md",
|
|
57
|
+
kitRulesFile: "AGENTS.md",
|
|
58
|
+
rulesInsideKit: true
|
|
59
|
+
// Codex reads from .codex/AGENTS.md
|
|
54
60
|
},
|
|
55
61
|
{
|
|
56
62
|
id: "antigravity",
|
|
@@ -59,16 +65,22 @@ var AI_TOOLS = [
|
|
|
59
65
|
path: ".agent",
|
|
60
66
|
globalPathPattern: "~/.agent",
|
|
61
67
|
rulesFile: "GEMINI.md",
|
|
62
|
-
kitRulesFile: "GEMINI.md"
|
|
68
|
+
kitRulesFile: "GEMINI.md",
|
|
69
|
+
rulesInsideKit: true
|
|
70
|
+
// Antigravity reads GEMINI.md from inside .agent/
|
|
63
71
|
},
|
|
64
72
|
{
|
|
65
73
|
id: "cursor",
|
|
66
74
|
name: "Cursor",
|
|
67
75
|
icon: "\u26AA",
|
|
68
|
-
path: ".cursor",
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
76
|
+
path: ".cursor/rules",
|
|
77
|
+
// Modern path: .cursor/rules/ (2025 standard)
|
|
78
|
+
globalPathPattern: "~/.cursor/rules",
|
|
79
|
+
rulesFile: "rules.md",
|
|
80
|
+
// Modern: .cursor/rules/rules.md instead of .cursorrules
|
|
81
|
+
kitRulesFile: "CURSOR.md",
|
|
82
|
+
// Source file in kit
|
|
83
|
+
rulesInsideKit: true
|
|
72
84
|
},
|
|
73
85
|
{
|
|
74
86
|
id: "custom",
|
|
@@ -144,7 +156,7 @@ async function installKit(options) {
|
|
|
144
156
|
await fs.mkdir(kitTargetPath, { recursive: true });
|
|
145
157
|
await copyDirectory(kitSourcePath, kitTargetPath, ["rules"]);
|
|
146
158
|
const rulesSource = path2.join(kitSourcePath, "rules", aiTool.kitRulesFile);
|
|
147
|
-
const rulesTarget = path2.join(targetPath, aiTool.rulesFile);
|
|
159
|
+
const rulesTarget = options.scope === "global" || aiTool.rulesInsideKit ? path2.join(kitTargetPath, aiTool.rulesFile) : path2.join(targetPath, aiTool.rulesFile);
|
|
148
160
|
try {
|
|
149
161
|
let rulesContent = await fs.readFile(rulesSource, "utf-8");
|
|
150
162
|
rulesContent = rulesContent.replace(
|
|
@@ -323,7 +335,7 @@ async function main() {
|
|
|
323
335
|
workspacePath = expandPath(pathResult);
|
|
324
336
|
}
|
|
325
337
|
const finalInstallPath = getInstallPath(aiTool, scope, workspacePath);
|
|
326
|
-
const rulesFilePath = scope === "global" ? path3.join(
|
|
338
|
+
const rulesFilePath = scope === "global" || aiTool.rulesInsideKit ? path3.join(finalInstallPath, aiTool.rulesFile) : path3.join(workspacePath, aiTool.rulesFile);
|
|
327
339
|
if (directoryExists(finalInstallPath)) {
|
|
328
340
|
p.log.warn(
|
|
329
341
|
`${pc.yellow("\u26A0")} Existing toolkit found at: ${pc.cyan(getDisplayPath(finalInstallPath))}`
|
|
@@ -413,8 +425,6 @@ async function main() {
|
|
|
413
425
|
targetPath: scope === "global" ? os2.homedir() : workspacePath,
|
|
414
426
|
scope
|
|
415
427
|
});
|
|
416
|
-
const isGlobal = scope === "global";
|
|
417
|
-
const rulesFile = isGlobal ? path3.join(os2.homedir(), aiTool.rulesFile) : path3.join(workspacePath, aiTool.rulesFile);
|
|
418
428
|
s.stop("Installation complete! \u{1F389}");
|
|
419
429
|
console.log("");
|
|
420
430
|
console.log(
|
|
@@ -427,7 +437,7 @@ async function main() {
|
|
|
427
437
|
`${pc.green("\u2714")} Agents Deployed`,
|
|
428
438
|
"",
|
|
429
439
|
pc.bold("\u{1F449} NEXT STEPS:"),
|
|
430
|
-
`1. Open ${pc.cyan(getDisplayPath(
|
|
440
|
+
`1. Open ${pc.cyan(getDisplayPath(rulesFilePath))}`,
|
|
431
441
|
`2. Read the instructions`,
|
|
432
442
|
`3. Type ${pc.magenta("/plan")} or ${pc.magenta("/create")} to start`
|
|
433
443
|
].join("\n"),
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
trigger: manual
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# CODEX.md - AGT-Kit
|
|
1
|
+
# AGENTS.md - AGT-Kit
|
|
6
2
|
|
|
7
3
|
> AI Agent Capability Expansion Toolkit - This file defines AI behavior in this workspace.
|
|
8
4
|
|
|
@@ -26,7 +22,7 @@ AGT-Kit is a portable, modular AI agent system consisting of:
|
|
|
26
22
|
|
|
27
23
|
Agent activated → Check frontmatter `skills:` → Read SKILL.md → Apply.
|
|
28
24
|
|
|
29
|
-
- **Priority:** P0 (
|
|
25
|
+
- **Priority:** P0 (AGENTS.md) > P1 (Agent.md) > P2 (SKILL.md). All binding.
|
|
30
26
|
- **Enforcement:** Never skip reading. "Read → Understand → Apply" mandatory.
|
|
31
27
|
|
|
32
28
|
---
|