@skillsmith/cli 0.5.1 → 0.5.2

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/CHANGELOG.md ADDED
@@ -0,0 +1,35 @@
1
+ # Changelog
2
+
3
+ All notable changes to `@skillsmith/cli` are documented here.
4
+
5
+ ## v0.4.0
6
+
7
+ - **CLI Authentication**: `skillsmith login` opens your browser, you copy the API key and paste it — done. Stored securely in your OS keyring.
8
+ - **Session Commands**: `skillsmith logout` clears stored credentials; `skillsmith whoami` shows your current auth status and key source.
9
+ - **Headless/CI Support**: `skillsmith login --no-browser` prints the URL for environments without a display. Use `SKILLSMITH_API_KEY` env var for fully non-interactive auth.
10
+
11
+ ## v0.3.1
12
+
13
+ - **Database Fix**: Fixed "no such table: skills" error on fresh installations
14
+ - **API Resilience**: Improved handling of partial API responses
15
+ - **Import Improvements**: Better rate limiting (150ms default, configurable via `SKILLSMITH_IMPORT_DELAY_MS`)
16
+ - **Python Support**: Added Python file detection (`.py`, `.pyi`, `.pyw`) to `analyze` command
17
+
18
+ ## v0.3.0
19
+
20
+ - **Registry Sync**: Keep your local skill database up-to-date with `sync` command
21
+ - **Auto-Sync**: Configurable daily/weekly background sync during MCP sessions
22
+ - **Sync History**: Track sync operations with `sync history`
23
+
24
+ ## v0.2.7
25
+
26
+ - **MCP Server Scaffolding**: Generate TypeScript MCP servers with `author mcp-init`
27
+ - **Custom Tool Generation**: Auto-generates stub implementations for specified tools
28
+ - **Decision Helper Integration**: Seamless flow from evaluation to scaffolding
29
+ - **Subagent Generation**: Generate companion specialist agents for parallel execution (37-97% token savings)
30
+ - **Skill Transform**: Upgrade existing skills with subagent configuration
31
+ - **Dynamic Version**: Version now reads from package.json automatically
32
+ - **Tool Detection**: Automatic analysis of required tools from skill content
33
+ - **Live Skills**: Search and install from 14,000+ real skills
34
+ - **Faster Search**: Full-text search with quality ranking
35
+ - **Privacy First**: Opt-out telemetry, no PII collected
package/README.md CHANGED
@@ -1,38 +1,26 @@
1
1
  # @skillsmith/cli
2
2
 
3
- Command-line interface for Skillsmith - discover, manage, and author agent skills.
4
-
5
- ## What's New in v0.4.0
3
+ > **Important:** The bare `skillsmith` package on npm is **not** this project. Install `@skillsmith/cli` for the CLI or configure [`@skillsmith/mcp-server`](https://www.npmjs.com/package/@skillsmith/mcp-server) for MCP integration.
6
4
 
7
- - **CLI Authentication**: `skillsmith login` opens your browser, you copy the API key and paste it — done. Stored securely in your OS keyring.
8
- - **Session Commands**: `skillsmith logout` clears stored credentials; `skillsmith whoami` shows your current auth status and key source.
9
- - **Headless/CI Support**: `skillsmith login --no-browser` prints the URL for environments without a display. Use `SKILLSMITH_API_KEY` env var for fully non-interactive auth.
5
+ Command-line interface for Skillsmith - discover, manage, and author agent skills.
10
6
 
11
- ## What's New in v0.3.1
7
+ ## Contents
12
8
 
13
- - **Database Fix**: Fixed "no such table: skills" error on fresh installations
14
- - **API Resilience**: Improved handling of partial API responses
15
- - **Import Improvements**: Better rate limiting (150ms default, configurable via `SKILLSMITH_IMPORT_DELAY_MS`)
16
- - **Python Support**: Added Python file detection (`.py`, `.pyi`, `.pyw`) to `analyze` command
9
+ - [What's New](#whats-new-in-v050)
10
+ - [Installation](#installation)
11
+ - [Commands](#commands)
12
+ - [Configuration](#configuration)
13
+ - [Examples](#examples)
14
+ - [Privacy & Data Handling](#privacy--data-handling)
17
15
 
18
- ## What's New in v0.3.0
16
+ ## What's New in v0.5.0
19
17
 
20
- - **Registry Sync**: Keep your local skill database up-to-date with `sync` command
21
- - **Auto-Sync**: Configurable daily/weekly background sync during MCP sessions
22
- - **Sync History**: Track sync operations with `sync history`
18
+ - **`skillsmith create` command**: Scaffold a new Claude Code skill directly into `~/.claude/skills/<name>/` — interactive prompts or non-interactive flags (`--description`, `--author`, `--type`, `--dry-run`, `--yes`)
19
+ - **Stricter name validation**: `author init` and `create` share registry-safe validation (lowercase + hyphens only)
23
20
 
24
- ## What's New in v0.2.7
21
+ > v0.5.1 is a version-bump-only release fixing an npm registry regression. No source changes.
25
22
 
26
- - **MCP Server Scaffolding**: Generate TypeScript MCP servers with `author mcp-init`
27
- - **Custom Tool Generation**: Auto-generates stub implementations for specified tools
28
- - **Decision Helper Integration**: Seamless flow from evaluation to scaffolding
29
- - **Subagent Generation**: Generate companion specialist agents for parallel execution (37-97% token savings)
30
- - **Skill Transform**: Upgrade existing skills with subagent configuration
31
- - **Dynamic Version**: Version now reads from package.json automatically
32
- - **Tool Detection**: Automatic analysis of required tools from skill content
33
- - **Live Skills**: Search and install from 14,000+ real skills
34
- - **Faster Search**: Full-text search with quality ranking
35
- - **Privacy First**: Opt-out telemetry, no PII collected
23
+ See [CHANGELOG.md](./CHANGELOG.md) for previous releases.
36
24
 
37
25
  ## Installation
38
26
 
@@ -171,6 +159,45 @@ skillsmith init my-skill --path ./skills/my-skill
171
159
  - `-p, --path <path>` - Directory to create skill in
172
160
  - `--template <template>` - Skill template (basic, advanced)
173
161
 
162
+ ### create
163
+
164
+ Scaffold a new Claude Code skill at `~/.claude/skills/<name>/`.
165
+
166
+ ```bash
167
+ # Interactive mode
168
+ skillsmith create
169
+
170
+ # With name
171
+ skillsmith create my-skill
172
+
173
+ # Non-interactive
174
+ skillsmith create my-skill --description "Git workflow helper" --author myuser --type basic
175
+
176
+ # Preview without writing
177
+ skillsmith create my-skill --dry-run
178
+ ```
179
+
180
+ **Options:**
181
+ - `-o, --output <dir>` - Output directory (default: `~/.claude/skills`)
182
+ - `--type <type>` - Skill type: `basic`, `intermediate`, `advanced`
183
+ - `--behavior <behavior>` - Behavioral classification: `autonomous`, `guided`, `interactive`, `configurable`
184
+ - `-d, --description <description>` - Skill description (skips prompt)
185
+ - `-a, --author <author>` - Author GitHub username (skips prompt)
186
+ - `-c, --category <category>` - Category: `development`, `productivity`, `communication`, `data`, `security`, `other`
187
+ - `--scripts` - Include a `scripts/` directory
188
+ - `-y, --yes` - Auto-confirm overwrite if skill directory exists
189
+ - `--dry-run` - Preview scaffold output without writing files
190
+
191
+ **Generated Structure:**
192
+ ```
193
+ ~/.claude/skills/my-skill/
194
+ ├── SKILL.md # Skill definition
195
+ ├── README.md # Documentation
196
+ ├── CHANGELOG.md # Version history
197
+ ├── .gitignore
198
+ └── resources/ # Supporting files
199
+ ```
200
+
174
201
  ### validate
175
202
 
176
203
  Validate a skill's SKILL.md file.
@@ -531,6 +558,21 @@ skillsmith install community/jest-helper
531
558
  skillsmith list
532
559
  ```
533
560
 
561
+ ### Create a New Skill
562
+
563
+ ```bash
564
+ # Scaffold with interactive prompts
565
+ skillsmith create my-awesome-skill
566
+
567
+ # Or fully non-interactive
568
+ skillsmith create my-awesome-skill \
569
+ --description "Automates deployment checks" \
570
+ --author myuser \
571
+ --type intermediate \
572
+ --behavior guided \
573
+ --yes
574
+ ```
575
+
534
576
  ### Author a New Skill
535
577
 
536
578
  ```bash