@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.
Files changed (49) hide show
  1. package/README.md +101 -0
  2. package/dist/.tsbuildinfo +1 -1
  3. package/dist/src/commands/author/index.d.ts +16 -0
  4. package/dist/src/commands/author/index.d.ts.map +1 -0
  5. package/dist/src/commands/author/index.js +18 -0
  6. package/dist/src/commands/author/index.js.map +1 -0
  7. package/dist/src/commands/author/init.d.ts +47 -0
  8. package/dist/src/commands/author/init.d.ts.map +1 -0
  9. package/dist/src/commands/author/init.js +346 -0
  10. package/dist/src/commands/author/init.js.map +1 -0
  11. package/dist/src/commands/author/mcp-init.d.ts +20 -0
  12. package/dist/src/commands/author/mcp-init.d.ts.map +1 -0
  13. package/dist/src/commands/author/mcp-init.js +183 -0
  14. package/dist/src/commands/author/mcp-init.js.map +1 -0
  15. package/dist/src/commands/author/subagent.d.ts +22 -0
  16. package/dist/src/commands/author/subagent.d.ts.map +1 -0
  17. package/dist/src/commands/author/subagent.js +166 -0
  18. package/dist/src/commands/author/subagent.js.map +1 -0
  19. package/dist/src/commands/author/transform.d.ts +22 -0
  20. package/dist/src/commands/author/transform.d.ts.map +1 -0
  21. package/dist/src/commands/author/transform.js +141 -0
  22. package/dist/src/commands/author/transform.js.map +1 -0
  23. package/dist/src/commands/author/utils.d.ts +27 -0
  24. package/dist/src/commands/author/utils.d.ts.map +1 -0
  25. package/dist/src/commands/author/utils.js +118 -0
  26. package/dist/src/commands/author/utils.js.map +1 -0
  27. package/dist/src/commands/index.d.ts +1 -1
  28. package/dist/src/commands/index.d.ts.map +1 -1
  29. package/dist/src/commands/index.js +2 -1
  30. package/dist/src/commands/index.js.map +1 -1
  31. package/dist/src/commands/sync.d.ts.map +1 -1
  32. package/dist/src/commands/sync.js +6 -46
  33. package/dist/src/commands/sync.js.map +1 -1
  34. package/dist/src/import.d.ts +1 -0
  35. package/dist/src/import.d.ts.map +1 -1
  36. package/dist/src/import.js +20 -5
  37. package/dist/src/import.js.map +1 -1
  38. package/dist/src/index.js +0 -0
  39. package/dist/src/utils/formatters.d.ts +39 -0
  40. package/dist/src/utils/formatters.d.ts.map +1 -0
  41. package/dist/src/utils/formatters.js +69 -0
  42. package/dist/src/utils/formatters.js.map +1 -0
  43. package/dist/tests/author.test.js +45 -45
  44. package/dist/tests/author.test.js.map +1 -1
  45. package/package.json +1 -1
  46. package/dist/src/commands/author.d.ts +0 -90
  47. package/dist/src/commands/author.d.ts.map +0 -1
  48. package/dist/src/commands/author.js +0 -902
  49. 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)