@skillsmith/cli 0.3.0 → 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 +101 -0
- 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 +1 -1
- package/dist/src/commands/index.d.ts.map +1 -1
- package/dist/src/commands/index.js +2 -1
- package/dist/src/commands/index.js.map +1 -1
- package/dist/src/commands/sync.d.ts.map +1 -1
- package/dist/src/commands/sync.js +6 -46
- package/dist/src/commands/sync.js.map +1 -1
- 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.js +0 -0
- 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 +45 -45
- package/dist/tests/author.test.js.map +1 -1
- package/package.json +1 -1
- package/dist/src/commands/author.d.ts +0 -90
- package/dist/src/commands/author.d.ts.map +0 -1
- package/dist/src/commands/author.js +0 -902
- package/dist/src/commands/author.js.map +0 -1
package/README.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Command-line interface for Skillsmith - discover, manage, and author Claude Code skills.
|
|
4
4
|
|
|
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
|
+
|
|
5
11
|
## What's New in v0.2.7
|
|
6
12
|
|
|
7
13
|
- **MCP Server Scaffolding**: Generate TypeScript MCP servers with `author mcp-init`
|
|
@@ -289,6 +295,85 @@ skillsmith import --topic claude-skill --max 500
|
|
|
289
295
|
- `-d, --db <path>` - Database path
|
|
290
296
|
- `-v, --verbose` - Verbose output
|
|
291
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
|
+
|
|
292
377
|
## Configuration
|
|
293
378
|
|
|
294
379
|
### Environment Variables
|
|
@@ -385,6 +470,22 @@ skillsmith remove community/old-skill
|
|
|
385
470
|
skillsmith search --interactive
|
|
386
471
|
```
|
|
387
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
|
+
|
|
388
489
|
## License
|
|
389
490
|
|
|
390
491
|
[Elastic License 2.0](https://www.elastic.co/licensing/elastic-license)
|