@dhruvwill/skills-cli 1.1.0 → 1.1.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/README.md +21 -15
- package/index.ts +1 -1
- package/package.json +1 -1
- package/src/commands/target.ts +1 -13
- package/src/lib/known-targets.ts +11 -40
package/README.md
CHANGED
|
@@ -43,11 +43,17 @@ skills sync # Done! Skills synced to all targets
|
|
|
43
43
|
|
|
44
44
|
### Prerequisites
|
|
45
45
|
|
|
46
|
-
- [Bun](https://bun.sh) runtime
|
|
46
|
+
- [Bun](https://bun.sh) runtime (required - uses Bun shell)
|
|
47
47
|
- Git (for remote sources)
|
|
48
48
|
|
|
49
49
|
### Install via Bun
|
|
50
50
|
|
|
51
|
+
```bash
|
|
52
|
+
bun install -g @dhruvwill/skills-cli
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
### Install from Source
|
|
56
|
+
|
|
51
57
|
```bash
|
|
52
58
|
# Clone the repository
|
|
53
59
|
git clone https://github.com/dhruvwill/skills.git
|
|
@@ -60,8 +66,6 @@ bun install
|
|
|
60
66
|
bun link
|
|
61
67
|
```
|
|
62
68
|
|
|
63
|
-
After linking, the `skills` command is available globally.
|
|
64
|
-
|
|
65
69
|
### Verify Installation
|
|
66
70
|
|
|
67
71
|
```bash
|
|
@@ -160,18 +164,15 @@ skills doctor # Diagnose issues
|
|
|
160
164
|
|
|
161
165
|
Run `skills target available` to see all supported tools:
|
|
162
166
|
|
|
163
|
-
| Tool | Path |
|
|
164
|
-
|
|
165
|
-
| **Cursor** | `~/.cursor/skills/` |
|
|
166
|
-
| **Claude Code** | `~/.claude/skills/` |
|
|
167
|
-
| **
|
|
168
|
-
| **
|
|
169
|
-
| **
|
|
170
|
-
| **
|
|
171
|
-
| **
|
|
172
|
-
| **Goose** | `~/.config/goose/skills/` | Beta |
|
|
173
|
-
| **Amp** | `~/.amp/skills/` | Beta |
|
|
174
|
-
| **Antigravity** | `~/.gemini/antigravity/` | Experimental |
|
|
167
|
+
| Tool | Path |
|
|
168
|
+
|------|------|
|
|
169
|
+
| **Cursor** | `~/.cursor/skills/` |
|
|
170
|
+
| **Claude Code** | `~/.claude/skills/` |
|
|
171
|
+
| **Gemini CLI** | `~/.gemini/skills/` |
|
|
172
|
+
| **VS Code / Copilot** | `~/.copilot/skills/` |
|
|
173
|
+
| **OpenCode** | `~/.config/opencode/skills/` |
|
|
174
|
+
| **Windsurf** | `~/.windsurf/skills/` |
|
|
175
|
+
| **Antigravity** | `~/.gemini/antigravity/skills/` |
|
|
175
176
|
|
|
176
177
|
### Adding Predefined Targets
|
|
177
178
|
|
|
@@ -385,6 +386,11 @@ bun install
|
|
|
385
386
|
bun test
|
|
386
387
|
```
|
|
387
388
|
|
|
389
|
+
## Links
|
|
390
|
+
|
|
391
|
+
- **npm**: [npmjs.com/package/@dhruvwill/skills-cli](https://www.npmjs.com/package/@dhruvwill/skills-cli)
|
|
392
|
+
- **GitHub**: [github.com/dhruvwill/skills](https://github.com/dhruvwill/skills)
|
|
393
|
+
|
|
388
394
|
---
|
|
389
395
|
|
|
390
396
|
## License
|
package/index.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
// Re-export CLI for programmatic use
|
|
1
|
+
// Re-export CLI for programmatic use
|
|
2
2
|
export * from "./src/cli.ts";
|
package/package.json
CHANGED
package/src/commands/target.ts
CHANGED
|
@@ -69,7 +69,6 @@ export async function targetAvailable(): Promise<void> {
|
|
|
69
69
|
chalk.bold("Name"),
|
|
70
70
|
chalk.bold("Description"),
|
|
71
71
|
chalk.bold("Path"),
|
|
72
|
-
chalk.bold("Tool Status"),
|
|
73
72
|
chalk.bold("Added"),
|
|
74
73
|
],
|
|
75
74
|
style: {
|
|
@@ -82,21 +81,10 @@ export async function targetAvailable(): Promise<void> {
|
|
|
82
81
|
const isAdded = existingNames.has(target.name.toLowerCase());
|
|
83
82
|
const addedStatus = isAdded ? chalk.green("✓") : chalk.dim("-");
|
|
84
83
|
|
|
85
|
-
// Color code the tool status
|
|
86
|
-
let toolStatus: string;
|
|
87
|
-
if (target.status === "GA") {
|
|
88
|
-
toolStatus = chalk.green(target.status);
|
|
89
|
-
} else if (target.status === "Beta") {
|
|
90
|
-
toolStatus = chalk.yellow(target.status);
|
|
91
|
-
} else {
|
|
92
|
-
toolStatus = chalk.dim(target.status);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
84
|
table.push([
|
|
96
85
|
target.name,
|
|
97
86
|
target.description,
|
|
98
87
|
target.path,
|
|
99
|
-
toolStatus,
|
|
100
88
|
addedStatus,
|
|
101
89
|
]);
|
|
102
90
|
}
|
|
@@ -109,7 +97,7 @@ export async function targetAvailable(): Promise<void> {
|
|
|
109
97
|
console.log();
|
|
110
98
|
console.log(chalk.bold("Examples:"));
|
|
111
99
|
console.log(` ${chalk.cyan("skills target add cursor")} Uses predefined path`);
|
|
112
|
-
console.log(` ${chalk.cyan("skills target add
|
|
100
|
+
console.log(` ${chalk.cyan("skills target add myapp ~/.myapp/skills")} Custom path`);
|
|
113
101
|
console.log();
|
|
114
102
|
}
|
|
115
103
|
|
package/src/lib/known-targets.ts
CHANGED
|
@@ -5,7 +5,6 @@ export interface KnownTarget {
|
|
|
5
5
|
name: string;
|
|
6
6
|
description: string;
|
|
7
7
|
path: string;
|
|
8
|
-
status: "GA" | "Beta" | "Experimental";
|
|
9
8
|
}
|
|
10
9
|
|
|
11
10
|
const home = homedir();
|
|
@@ -15,79 +14,51 @@ const home = homedir();
|
|
|
15
14
|
* Based on official documentation for each tool's global skills folder
|
|
16
15
|
*
|
|
17
16
|
* Reference:
|
|
18
|
-
* | Tool | Global Skills Folder |
|
|
19
|
-
*
|
|
20
|
-
* |
|
|
21
|
-
* |
|
|
22
|
-
* |
|
|
23
|
-
* | VS Code | ~/.copilot/skills/ |
|
|
24
|
-
* | OpenCode | ~/.config/opencode/skills/ |
|
|
25
|
-
* | Windsurf | ~/.windsurf/skills/ |
|
|
26
|
-
* | Antigravity | ~/.gemini/antigravity/
|
|
27
|
-
* | Aider | ~/.aider/skills/ | Beta |
|
|
28
|
-
* | Goose | ~/.config/goose/skills/ | Beta |
|
|
29
|
-
* | Amp | ~/.amp/skills/ | Beta |
|
|
17
|
+
* | Tool | Global Skills Folder |
|
|
18
|
+
* |--------------|-----------------------------------|
|
|
19
|
+
* | Cursor | ~/.cursor/skills/ |
|
|
20
|
+
* | Claude Code | ~/.claude/skills/ |
|
|
21
|
+
* | Gemini CLI | ~/.gemini/skills/ |
|
|
22
|
+
* | VS Code | ~/.copilot/skills/ |
|
|
23
|
+
* | OpenCode | ~/.config/opencode/skills/ |
|
|
24
|
+
* | Windsurf | ~/.windsurf/skills/ |
|
|
25
|
+
* | Antigravity | ~/.gemini/antigravity/skills/ |
|
|
30
26
|
*/
|
|
31
27
|
export const KNOWN_TARGETS: KnownTarget[] = [
|
|
32
28
|
{
|
|
33
29
|
name: "cursor",
|
|
34
30
|
description: "Cursor IDE",
|
|
35
31
|
path: join(home, ".cursor", "skills"),
|
|
36
|
-
status: "GA",
|
|
37
32
|
},
|
|
38
33
|
{
|
|
39
34
|
name: "claude",
|
|
40
35
|
description: "Claude Code / Claude Desktop",
|
|
41
36
|
path: join(home, ".claude", "skills"),
|
|
42
|
-
status: "GA",
|
|
43
37
|
},
|
|
44
38
|
{
|
|
45
39
|
name: "gemini",
|
|
46
40
|
description: "Gemini CLI",
|
|
47
41
|
path: join(home, ".gemini", "skills"),
|
|
48
|
-
status: "Beta",
|
|
49
42
|
},
|
|
50
43
|
{
|
|
51
|
-
name: "
|
|
44
|
+
name: "vscode",
|
|
52
45
|
description: "GitHub Copilot / VS Code",
|
|
53
46
|
path: join(home, ".copilot", "skills"),
|
|
54
|
-
status: "GA",
|
|
55
47
|
},
|
|
56
48
|
{
|
|
57
49
|
name: "opencode",
|
|
58
50
|
description: "OpenCode CLI",
|
|
59
51
|
path: join(home, ".config", "opencode", "skills"),
|
|
60
|
-
status: "GA",
|
|
61
52
|
},
|
|
62
53
|
{
|
|
63
54
|
name: "windsurf",
|
|
64
55
|
description: "Windsurf IDE",
|
|
65
56
|
path: join(home, ".windsurf", "skills"),
|
|
66
|
-
status: "GA",
|
|
67
57
|
},
|
|
68
58
|
{
|
|
69
59
|
name: "antigravity",
|
|
70
60
|
description: "Antigravity",
|
|
71
|
-
path: join(home, ".gemini", "antigravity"),
|
|
72
|
-
status: "Experimental",
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
name: "aider",
|
|
76
|
-
description: "Aider CLI",
|
|
77
|
-
path: join(home, ".aider", "skills"),
|
|
78
|
-
status: "Beta",
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
name: "goose",
|
|
82
|
-
description: "Goose AI",
|
|
83
|
-
path: join(home, ".config", "goose", "skills"),
|
|
84
|
-
status: "Beta",
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
name: "amp",
|
|
88
|
-
description: "Amp AI",
|
|
89
|
-
path: join(home, ".amp", "skills"),
|
|
90
|
-
status: "Beta",
|
|
61
|
+
path: join(home, ".gemini", "antigravity", "skills"),
|
|
91
62
|
},
|
|
92
63
|
];
|
|
93
64
|
|