@skillsmith/cli 0.2.1 → 0.2.3
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 +73 -3
- package/dist/.tsbuildinfo +1 -1
- package/dist/src/commands/author.d.ts +31 -1
- package/dist/src/commands/author.d.ts.map +1 -1
- package/dist/src/commands/author.js +353 -2
- package/dist/src/commands/author.js.map +1 -1
- package/dist/src/commands/index.d.ts +1 -1
- package/dist/src/commands/index.d.ts.map +1 -1
- package/dist/src/commands/index.js +1 -1
- package/dist/src/commands/index.js.map +1 -1
- package/dist/src/index.js +15 -6
- package/dist/src/index.js.map +1 -1
- package/dist/src/templates/index.d.ts +1 -0
- package/dist/src/templates/index.d.ts.map +1 -1
- package/dist/src/templates/index.js +1 -0
- package/dist/src/templates/index.js.map +1 -1
- package/dist/src/templates/subagent.md.template.d.ts +38 -0
- package/dist/src/templates/subagent.md.template.d.ts.map +1 -0
- package/dist/src/templates/subagent.md.template.js +128 -0
- package/dist/src/templates/subagent.md.template.js.map +1 -0
- package/dist/src/utils/tool-analyzer.d.ts +54 -0
- package/dist/src/utils/tool-analyzer.d.ts.map +1 -0
- package/dist/src/utils/tool-analyzer.js +156 -0
- package/dist/src/utils/tool-analyzer.js.map +1 -0
- package/dist/tests/author.test.js +220 -0
- package/dist/tests/author.test.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,8 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Command-line interface for Skillsmith - discover, manage, and author Claude Code skills.
|
|
4
4
|
|
|
5
|
-
## What's New in v0.2.
|
|
5
|
+
## What's New in v0.2.3
|
|
6
6
|
|
|
7
|
+
- **Subagent Generation**: Generate companion specialist agents for parallel execution (37-97% token savings)
|
|
8
|
+
- **Skill Transform**: Upgrade existing skills with subagent configuration
|
|
9
|
+
- **Tool Detection**: Automatic analysis of required tools from skill content
|
|
7
10
|
- **Live Skills**: Search and install from 9,717+ real skills
|
|
8
11
|
- **Faster Search**: Full-text search with quality ranking
|
|
9
12
|
- **Privacy First**: Opt-out telemetry, no PII collected
|
|
@@ -156,6 +159,57 @@ skillsmith publish --dry-run
|
|
|
156
159
|
**Options:**
|
|
157
160
|
- `-d, --dry-run` - Preview without making changes
|
|
158
161
|
|
|
162
|
+
### author subagent
|
|
163
|
+
|
|
164
|
+
Generate a companion specialist agent for parallel skill execution.
|
|
165
|
+
|
|
166
|
+
```bash
|
|
167
|
+
# Generate subagent for current directory
|
|
168
|
+
skillsmith author subagent
|
|
169
|
+
|
|
170
|
+
# Generate for specific skill
|
|
171
|
+
skillsmith author subagent ./my-skill
|
|
172
|
+
|
|
173
|
+
# Override detected tools
|
|
174
|
+
skillsmith author subagent --tools "Read,Write,Bash"
|
|
175
|
+
|
|
176
|
+
# Use different model
|
|
177
|
+
skillsmith author subagent --model haiku
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
**Options:**
|
|
181
|
+
- `-o, --output <path>` - Output directory (default: ~/.claude/agents)
|
|
182
|
+
- `--tools <tools>` - Override detected tools (comma-separated)
|
|
183
|
+
- `--model <model>` - Model: sonnet, opus, haiku (default: sonnet)
|
|
184
|
+
- `--skip-claude-md` - Skip CLAUDE.md snippet generation
|
|
185
|
+
- `--force` - Overwrite existing subagent
|
|
186
|
+
|
|
187
|
+
**Output:**
|
|
188
|
+
- Creates `~/.claude/agents/[skill-name]-specialist.md`
|
|
189
|
+
- Displays CLAUDE.md integration snippet
|
|
190
|
+
|
|
191
|
+
### author transform
|
|
192
|
+
|
|
193
|
+
Upgrade existing skills with subagent configuration (non-destructive).
|
|
194
|
+
|
|
195
|
+
```bash
|
|
196
|
+
# Preview what would be generated
|
|
197
|
+
skillsmith author transform ./my-skill --dry-run
|
|
198
|
+
|
|
199
|
+
# Generate subagent for existing skill
|
|
200
|
+
skillsmith author transform ./my-skill
|
|
201
|
+
|
|
202
|
+
# Process multiple skills at once
|
|
203
|
+
skillsmith author transform ~/.claude/skills --batch
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
**Options:**
|
|
207
|
+
- `--dry-run` - Preview without creating files
|
|
208
|
+
- `--force` - Overwrite existing subagent
|
|
209
|
+
- `--batch` - Process directory of skills
|
|
210
|
+
- `--tools <tools>` - Override detected tools
|
|
211
|
+
- `--model <model>` - Model: sonnet, opus, haiku (default: sonnet)
|
|
212
|
+
|
|
159
213
|
### import
|
|
160
214
|
|
|
161
215
|
Import skills from GitHub (for populating local database).
|
|
@@ -220,10 +274,26 @@ skillsmith init my-awesome-skill
|
|
|
220
274
|
# Validate your skill
|
|
221
275
|
skillsmith validate ./my-awesome-skill
|
|
222
276
|
|
|
277
|
+
# Generate companion subagent for parallel execution
|
|
278
|
+
skillsmith author subagent ./my-awesome-skill
|
|
279
|
+
|
|
223
280
|
# Prepare for publishing
|
|
224
281
|
skillsmith publish ./my-awesome-skill
|
|
225
282
|
```
|
|
226
283
|
|
|
284
|
+
### Upgrade Existing Skills with Subagents
|
|
285
|
+
|
|
286
|
+
```bash
|
|
287
|
+
# Preview subagent generation (dry run)
|
|
288
|
+
skillsmith author transform ~/.claude/skills/docker --dry-run
|
|
289
|
+
|
|
290
|
+
# Generate subagent for a skill
|
|
291
|
+
skillsmith author transform ~/.claude/skills/docker
|
|
292
|
+
|
|
293
|
+
# Batch upgrade all skills
|
|
294
|
+
skillsmith author transform ~/.claude/skills --batch --force
|
|
295
|
+
```
|
|
296
|
+
|
|
227
297
|
### Manage Skills
|
|
228
298
|
|
|
229
299
|
```bash
|
|
@@ -243,5 +313,5 @@ skillsmith search --interactive
|
|
|
243
313
|
|
|
244
314
|
## Links
|
|
245
315
|
|
|
246
|
-
- [GitHub](https://github.com/smith-horn
|
|
247
|
-
- [Issues](https://github.com/smith-horn
|
|
316
|
+
- [GitHub](https://github.com/smith-horn/skillsmith)
|
|
317
|
+
- [Issues](https://github.com/smith-horn/skillsmith/issues)
|