@skillsmith/cli 0.2.7 → 0.3.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 +104 -1
- package/dist/.tsbuildinfo +1 -1
- package/dist/src/commands/author/index.d.ts +16 -0
- package/dist/src/commands/author/index.d.ts.map +1 -0
- package/dist/src/commands/author/index.js +18 -0
- package/dist/src/commands/author/index.js.map +1 -0
- package/dist/src/commands/author/init.d.ts +47 -0
- package/dist/src/commands/author/init.d.ts.map +1 -0
- package/dist/src/commands/author/init.js +346 -0
- package/dist/src/commands/author/init.js.map +1 -0
- package/dist/src/commands/author/mcp-init.d.ts +20 -0
- package/dist/src/commands/author/mcp-init.d.ts.map +1 -0
- package/dist/src/commands/author/mcp-init.js +183 -0
- package/dist/src/commands/author/mcp-init.js.map +1 -0
- package/dist/src/commands/author/subagent.d.ts +22 -0
- package/dist/src/commands/author/subagent.d.ts.map +1 -0
- package/dist/src/commands/author/subagent.js +166 -0
- package/dist/src/commands/author/subagent.js.map +1 -0
- package/dist/src/commands/author/transform.d.ts +22 -0
- package/dist/src/commands/author/transform.d.ts.map +1 -0
- package/dist/src/commands/author/transform.js +141 -0
- package/dist/src/commands/author/transform.js.map +1 -0
- package/dist/src/commands/author/utils.d.ts +27 -0
- package/dist/src/commands/author/utils.d.ts.map +1 -0
- package/dist/src/commands/author/utils.js +118 -0
- package/dist/src/commands/author/utils.js.map +1 -0
- package/dist/src/commands/index.d.ts +2 -1
- package/dist/src/commands/index.d.ts.map +1 -1
- package/dist/src/commands/index.js +6 -1
- package/dist/src/commands/index.js.map +1 -1
- package/dist/src/commands/sync.d.ts +21 -0
- package/dist/src/commands/sync.d.ts.map +1 -0
- package/dist/src/commands/sync.js +373 -0
- package/dist/src/commands/sync.js.map +1 -0
- package/dist/src/import.d.ts +1 -0
- package/dist/src/import.d.ts.map +1 -1
- package/dist/src/import.js +20 -5
- package/dist/src/import.js.map +1 -1
- package/dist/src/index.d.ts +3 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +9 -2
- package/dist/src/index.js.map +1 -1
- package/dist/src/utils/formatters.d.ts +39 -0
- package/dist/src/utils/formatters.d.ts.map +1 -0
- package/dist/src/utils/formatters.js +69 -0
- package/dist/src/utils/formatters.js.map +1 -0
- package/dist/tests/author.test.js +117 -32
- package/dist/tests/author.test.js.map +1 -1
- package/dist/tests/e2e/author.e2e.test.js +341 -21
- package/dist/tests/e2e/author.e2e.test.js.map +1 -1
- package/dist/tests/e2e/utils/index.d.ts +4 -0
- package/dist/tests/e2e/utils/index.d.ts.map +1 -1
- package/dist/tests/e2e/utils/index.js +4 -0
- package/dist/tests/e2e/utils/index.js.map +1 -1
- package/dist/tests/e2e/utils/mock-github.d.ts +23 -0
- package/dist/tests/e2e/utils/mock-github.d.ts.map +1 -0
- package/dist/tests/e2e/utils/mock-github.js +60 -0
- package/dist/tests/e2e/utils/mock-github.js.map +1 -0
- package/dist/tests/e2e/utils/mock-prompts.d.ts +19 -0
- package/dist/tests/e2e/utils/mock-prompts.d.ts.map +1 -0
- package/dist/tests/e2e/utils/mock-prompts.js +48 -0
- package/dist/tests/e2e/utils/mock-prompts.js.map +1 -0
- package/package.json +1 -1
- package/dist/src/commands/author.d.ts +0 -76
- package/dist/src/commands/author.d.ts.map +0 -1
- package/dist/src/commands/author.js +0 -857
- package/dist/src/commands/author.js.map +0 -1
package/README.md
CHANGED
|
@@ -2,12 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
Command-line interface for Skillsmith - discover, manage, and author Claude Code skills.
|
|
4
4
|
|
|
5
|
-
## What's New in v0.
|
|
5
|
+
## What's New in v0.3.0
|
|
6
|
+
|
|
7
|
+
- **Registry Sync**: Keep your local skill database up-to-date with `sync` command
|
|
8
|
+
- **Auto-Sync**: Configurable daily/weekly background sync during MCP sessions
|
|
9
|
+
- **Sync History**: Track sync operations with `sync history`
|
|
10
|
+
|
|
11
|
+
## What's New in v0.2.7
|
|
6
12
|
|
|
7
13
|
- **MCP Server Scaffolding**: Generate TypeScript MCP servers with `author mcp-init`
|
|
14
|
+
- **Custom Tool Generation**: Auto-generates stub implementations for specified tools
|
|
8
15
|
- **Decision Helper Integration**: Seamless flow from evaluation to scaffolding
|
|
9
16
|
- **Subagent Generation**: Generate companion specialist agents for parallel execution (37-97% token savings)
|
|
10
17
|
- **Skill Transform**: Upgrade existing skills with subagent configuration
|
|
18
|
+
- **Dynamic Version**: Version now reads from package.json automatically
|
|
11
19
|
- **Tool Detection**: Automatic analysis of required tools from skill content
|
|
12
20
|
- **Live Skills**: Search and install from 9,717+ real skills
|
|
13
21
|
- **Faster Search**: Full-text search with quality ranking
|
|
@@ -287,6 +295,85 @@ skillsmith import --topic claude-skill --max 500
|
|
|
287
295
|
- `-d, --db <path>` - Database path
|
|
288
296
|
- `-v, --verbose` - Verbose output
|
|
289
297
|
|
|
298
|
+
### sync
|
|
299
|
+
|
|
300
|
+
Synchronize your local skill database with the live Skillsmith registry.
|
|
301
|
+
|
|
302
|
+
```bash
|
|
303
|
+
# Sync skills from registry (differential - only changes)
|
|
304
|
+
skillsmith sync
|
|
305
|
+
|
|
306
|
+
# Force full sync (ignore last sync time)
|
|
307
|
+
skillsmith sync --force
|
|
308
|
+
|
|
309
|
+
# Preview what would be synced
|
|
310
|
+
skillsmith sync --dry-run
|
|
311
|
+
```
|
|
312
|
+
|
|
313
|
+
**Options:**
|
|
314
|
+
- `-f, --force` - Force full sync, ignore last sync timestamp
|
|
315
|
+
- `--dry-run` - Preview changes without writing to database
|
|
316
|
+
- `-d, --db <path>` - Database path
|
|
317
|
+
- `--json` - Output results as JSON
|
|
318
|
+
|
|
319
|
+
#### sync status
|
|
320
|
+
|
|
321
|
+
Show sync status and statistics.
|
|
322
|
+
|
|
323
|
+
```bash
|
|
324
|
+
skillsmith sync status
|
|
325
|
+
```
|
|
326
|
+
|
|
327
|
+
**Output includes:**
|
|
328
|
+
- Auto-sync enabled/disabled
|
|
329
|
+
- Sync frequency (daily/weekly)
|
|
330
|
+
- Last sync time
|
|
331
|
+
- Next scheduled sync
|
|
332
|
+
- Last run statistics
|
|
333
|
+
|
|
334
|
+
#### sync history
|
|
335
|
+
|
|
336
|
+
View sync operation history.
|
|
337
|
+
|
|
338
|
+
```bash
|
|
339
|
+
# Show recent sync history
|
|
340
|
+
skillsmith sync history
|
|
341
|
+
|
|
342
|
+
# Show more entries
|
|
343
|
+
skillsmith sync history --limit 20
|
|
344
|
+
```
|
|
345
|
+
|
|
346
|
+
**Options:**
|
|
347
|
+
- `-l, --limit <n>` - Number of history entries (default: 10)
|
|
348
|
+
|
|
349
|
+
#### sync config
|
|
350
|
+
|
|
351
|
+
Configure automatic sync settings.
|
|
352
|
+
|
|
353
|
+
```bash
|
|
354
|
+
# Show current configuration
|
|
355
|
+
skillsmith sync config --show
|
|
356
|
+
|
|
357
|
+
# Enable automatic background sync
|
|
358
|
+
skillsmith sync config --enable
|
|
359
|
+
|
|
360
|
+
# Disable automatic sync
|
|
361
|
+
skillsmith sync config --disable
|
|
362
|
+
|
|
363
|
+
# Set sync frequency
|
|
364
|
+
skillsmith sync config --frequency daily
|
|
365
|
+
skillsmith sync config --frequency weekly
|
|
366
|
+
|
|
367
|
+
# Combine options
|
|
368
|
+
skillsmith sync config --enable --frequency weekly
|
|
369
|
+
```
|
|
370
|
+
|
|
371
|
+
**Options:**
|
|
372
|
+
- `--show` - Display current configuration
|
|
373
|
+
- `--enable` - Enable automatic background sync
|
|
374
|
+
- `--disable` - Disable automatic sync
|
|
375
|
+
- `--frequency <freq>` - Set frequency: `daily` or `weekly`
|
|
376
|
+
|
|
290
377
|
## Configuration
|
|
291
378
|
|
|
292
379
|
### Environment Variables
|
|
@@ -383,6 +470,22 @@ skillsmith remove community/old-skill
|
|
|
383
470
|
skillsmith search --interactive
|
|
384
471
|
```
|
|
385
472
|
|
|
473
|
+
### Keep Skills Up-to-Date
|
|
474
|
+
|
|
475
|
+
```bash
|
|
476
|
+
# Sync with the live registry
|
|
477
|
+
skillsmith sync
|
|
478
|
+
|
|
479
|
+
# Check sync status
|
|
480
|
+
skillsmith sync status
|
|
481
|
+
|
|
482
|
+
# Enable daily auto-sync
|
|
483
|
+
skillsmith sync config --enable --frequency daily
|
|
484
|
+
|
|
485
|
+
# View sync history
|
|
486
|
+
skillsmith sync history
|
|
487
|
+
```
|
|
488
|
+
|
|
386
489
|
## License
|
|
387
490
|
|
|
388
491
|
[Elastic License 2.0](https://www.elastic.co/licensing/elastic-license)
|