@votruongdanh/ai-agent-skills 3.3.1 → 3.3.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/README.md +8 -5
- package/lib/skill-bundle.js +16 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -19,11 +19,12 @@ The CLI launches an **interactive setup** — it always asks you to choose an ID
|
|
|
19
19
|
🔧 Choose your IDE:
|
|
20
20
|
1) Cursor
|
|
21
21
|
2) Kiro
|
|
22
|
-
3)
|
|
23
|
-
4)
|
|
24
|
-
5)
|
|
25
|
-
6)
|
|
26
|
-
7)
|
|
22
|
+
3) Claude Code
|
|
23
|
+
4) Antigravity
|
|
24
|
+
5) Codex
|
|
25
|
+
6) VS Code
|
|
26
|
+
7) GitHub Copilot
|
|
27
|
+
8) All supported IDEs
|
|
27
28
|
|
|
28
29
|
📂 Install scope:
|
|
29
30
|
1) This project only ← recommended
|
|
@@ -46,6 +47,7 @@ For CI/CD or scripting, pass `--ide` to skip prompts:
|
|
|
46
47
|
npx @votruongdanh/ai-agent-skills init --ide=cursor
|
|
47
48
|
npx @votruongdanh/ai-agent-skills init --ide=all
|
|
48
49
|
npx @votruongdanh/ai-agent-skills init --ide=kiro
|
|
50
|
+
npx @votruongdanh/ai-agent-skills init --ide=claude-code
|
|
49
51
|
npx @votruongdanh/ai-agent-skills init --ide=antigravity
|
|
50
52
|
npx @votruongdanh/ai-agent-skills init --ide=codex
|
|
51
53
|
npx @votruongdanh/ai-agent-skills init --ide=vscode
|
|
@@ -99,6 +101,7 @@ The `add` command:
|
|
|
99
101
|
| Kiro | `.kiro/skills/<skill>/SKILL.md` | Native skill format |
|
|
100
102
|
| Cursor | `.cursor/skills/<skill>/SKILL.md` | Native skill format |
|
|
101
103
|
| Cursor legacy | `.cursor/rules/<skill>.mdc` | Generated compatibility layer |
|
|
104
|
+
| Claude Code | `.claude/skills/<skill>/SKILL.md` | Native skill format (Agent Skills standard) |
|
|
102
105
|
| Antigravity | `.agent/workflows/<skill>.md` | Generated workflow bridge |
|
|
103
106
|
| Antigravity legacy | `agent/workflows/<skill>.md` | Compatibility alias for older setups |
|
|
104
107
|
| Codex | `.agents/skills/<skill>/SKILL.md` | Detected from `.agents/skills`, `AGENTS.md`, and/or `memories/` |
|
package/lib/skill-bundle.js
CHANGED
|
@@ -15,6 +15,9 @@ const IDE_ALIASES = {
|
|
|
15
15
|
antigrafity: 'antigravity',
|
|
16
16
|
kiro: 'kiro',
|
|
17
17
|
cursor: 'cursor',
|
|
18
|
+
'claude-code': 'claude-code',
|
|
19
|
+
claudecode: 'claude-code',
|
|
20
|
+
'claude code': 'claude-code',
|
|
18
21
|
codex: 'codex',
|
|
19
22
|
'openai-codex': 'codex',
|
|
20
23
|
vscode: 'vscode',
|
|
@@ -62,6 +65,19 @@ const IDE_DEFINITIONS = {
|
|
|
62
65
|
{ relativeDir: 'rules', format: 'cursor-rule' },
|
|
63
66
|
],
|
|
64
67
|
},
|
|
68
|
+
'claude-code': {
|
|
69
|
+
displayName: 'Claude Code',
|
|
70
|
+
projectRoot: '.claude',
|
|
71
|
+
globalRoot: path.join(os.homedir(), '.claude'),
|
|
72
|
+
detectProjectPaths: [
|
|
73
|
+
'.claude',
|
|
74
|
+
'.claude/skills',
|
|
75
|
+
'CLAUDE.md',
|
|
76
|
+
'.agents/skills',
|
|
77
|
+
],
|
|
78
|
+
detectGlobalPaths: ['.claude/skills'],
|
|
79
|
+
targets: [{ relativeDir: 'skills', format: 'skill' }],
|
|
80
|
+
},
|
|
65
81
|
codex: {
|
|
66
82
|
displayName: 'Codex',
|
|
67
83
|
projectRoot: '.agents',
|
package/package.json
CHANGED