@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.
Files changed (67) hide show
  1. package/README.md +104 -1
  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 +2 -1
  28. package/dist/src/commands/index.d.ts.map +1 -1
  29. package/dist/src/commands/index.js +6 -1
  30. package/dist/src/commands/index.js.map +1 -1
  31. package/dist/src/commands/sync.d.ts +21 -0
  32. package/dist/src/commands/sync.d.ts.map +1 -0
  33. package/dist/src/commands/sync.js +373 -0
  34. package/dist/src/commands/sync.js.map +1 -0
  35. package/dist/src/import.d.ts +1 -0
  36. package/dist/src/import.d.ts.map +1 -1
  37. package/dist/src/import.js +20 -5
  38. package/dist/src/import.js.map +1 -1
  39. package/dist/src/index.d.ts +3 -0
  40. package/dist/src/index.d.ts.map +1 -1
  41. package/dist/src/index.js +9 -2
  42. package/dist/src/index.js.map +1 -1
  43. package/dist/src/utils/formatters.d.ts +39 -0
  44. package/dist/src/utils/formatters.d.ts.map +1 -0
  45. package/dist/src/utils/formatters.js +69 -0
  46. package/dist/src/utils/formatters.js.map +1 -0
  47. package/dist/tests/author.test.js +117 -32
  48. package/dist/tests/author.test.js.map +1 -1
  49. package/dist/tests/e2e/author.e2e.test.js +341 -21
  50. package/dist/tests/e2e/author.e2e.test.js.map +1 -1
  51. package/dist/tests/e2e/utils/index.d.ts +4 -0
  52. package/dist/tests/e2e/utils/index.d.ts.map +1 -1
  53. package/dist/tests/e2e/utils/index.js +4 -0
  54. package/dist/tests/e2e/utils/index.js.map +1 -1
  55. package/dist/tests/e2e/utils/mock-github.d.ts +23 -0
  56. package/dist/tests/e2e/utils/mock-github.d.ts.map +1 -0
  57. package/dist/tests/e2e/utils/mock-github.js +60 -0
  58. package/dist/tests/e2e/utils/mock-github.js.map +1 -0
  59. package/dist/tests/e2e/utils/mock-prompts.d.ts +19 -0
  60. package/dist/tests/e2e/utils/mock-prompts.d.ts.map +1 -0
  61. package/dist/tests/e2e/utils/mock-prompts.js +48 -0
  62. package/dist/tests/e2e/utils/mock-prompts.js.map +1 -0
  63. package/package.json +1 -1
  64. package/dist/src/commands/author.d.ts +0 -76
  65. package/dist/src/commands/author.d.ts.map +0 -1
  66. package/dist/src/commands/author.js +0 -857
  67. 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.2.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
+
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)