skill-creator 1.2.2 → 1.2.3
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 +50 -55
- package/package.json +1 -1
- package/templates/skill-creator.md +1 -1
- package/templates/skill-creator.zh-CN.md +1 -1
package/README.md
CHANGED
|
@@ -2,40 +2,68 @@
|
|
|
2
2
|
|
|
3
3
|
A TypeScript/Node.js CLI tool for creating claude-code-skills with intelligent documentation management and Context7 integration.
|
|
4
4
|
|
|
5
|
-
## Prerequisites
|
|
6
5
|
|
|
7
|
-
|
|
6
|
+
## Features
|
|
7
|
+
|
|
8
|
+
- 🚀 **Automated Skill Creation**: Generate skills with proper folder naming (`package@version` format)
|
|
9
|
+
- 📚 **Context7 Integration**: Download and slice documentation from Context7 with automatic project ID detection
|
|
10
|
+
- 🔍 **Intelligent Search**: ChromaDB-powered semantic search with automatic indexing
|
|
11
|
+
- 💾 **Dynamic Content Management**: Add custom knowledge with deduplication
|
|
12
|
+
- 🛠️ **Modern TypeScript**: Full type safety with ESM modules
|
|
13
|
+
- 🎯 **Interactive CLI**: Professional command-line interface with inquirer prompts
|
|
14
|
+
- 📦 **Flexible Storage**: Store skills in project or user directory
|
|
8
15
|
|
|
9
|
-
|
|
16
|
+
## Installation
|
|
10
17
|
|
|
11
|
-
|
|
12
|
-
<detail>
|
|
18
|
+
### Install skill-creator
|
|
13
19
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
20
|
+
```bash
|
|
21
|
+
npm install -g skill-creator
|
|
22
|
+
```
|
|
17
23
|
|
|
18
|
-
|
|
19
|
-
```
|
|
24
|
+
### Verify Installation
|
|
20
25
|
|
|
21
|
-
|
|
26
|
+
After installation, you can verify that the MCP servers are working:
|
|
22
27
|
|
|
23
|
-
|
|
24
|
-
|
|
28
|
+
```bash
|
|
29
|
+
# Check if Context7 MCP is accessible
|
|
30
|
+
skill-creator --help
|
|
25
31
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
npm install -g @chromedevtools/chrome-devtools-mcp
|
|
32
|
+
# The help should show all commands if MCP servers are properly configured
|
|
33
|
+
```
|
|
29
34
|
|
|
30
|
-
|
|
35
|
+
### Prerequisites
|
|
31
36
|
|
|
32
|
-
|
|
37
|
+
Before installing skill-creator, make sure you have the required MCP (Model Context Protocol) servers installed for full functionality:
|
|
38
|
+
|
|
39
|
+
<details>
|
|
40
|
+
<summary>Context7 MCP - For downloading and managing documentation</summary>
|
|
33
41
|
|
|
34
|
-
|
|
42
|
+
```bash
|
|
43
|
+
# Install from npm
|
|
44
|
+
npm install -g @upstash/context7-mcp
|
|
35
45
|
|
|
36
|
-
|
|
46
|
+
# Or follow installation guide: https://github.com/upstash/context7?tab=readme-ov-file
|
|
47
|
+
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
</details>
|
|
51
|
+
|
|
52
|
+
<details>
|
|
53
|
+
<summary>Chrome DevTools MCP - For browser automation and web scraping</summary>
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
# Install from npm
|
|
57
|
+
npm install -g @chromedevtools/chrome-devtools-mcp
|
|
37
58
|
|
|
38
|
-
|
|
59
|
+
# Or follow installation guide: https://github.com/ChromeDevTools/chrome-devtools-mcp?tab=readme-ov-file
|
|
60
|
+
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
</details>
|
|
64
|
+
|
|
65
|
+
<details>
|
|
66
|
+
<summary>MCP Server Configuration</summary>
|
|
39
67
|
|
|
40
68
|
After installing the MCP servers, you need to configure them in your Claude Code settings. Add the following to your Claude Code configuration:
|
|
41
69
|
|
|
@@ -54,42 +82,9 @@ After installing the MCP servers, you need to configure them in your Claude Code
|
|
|
54
82
|
}
|
|
55
83
|
```
|
|
56
84
|
|
|
57
|
-
</detail>
|
|
58
|
-
|
|
59
85
|
> **Note**: The MCP servers are required for full functionality. Without them, some features like Context7 documentation downloading and web-based research may not work properly.
|
|
60
86
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
- 🚀 **Automated Skill Creation**: Generate skills with proper folder naming (`package@version` format)
|
|
64
|
-
- 📚 **Context7 Integration**: Download and slice documentation from Context7 with automatic project ID detection
|
|
65
|
-
- 🔍 **Intelligent Search**: ChromaDB-powered semantic search with automatic indexing
|
|
66
|
-
- 💾 **Dynamic Content Management**: Add custom knowledge with deduplication
|
|
67
|
-
- 🛠️ **Modern TypeScript**: Full type safety with ESM modules
|
|
68
|
-
- 🎯 **Interactive CLI**: Professional command-line interface with inquirer prompts
|
|
69
|
-
- 📦 **Flexible Storage**: Store skills in project or user directory
|
|
70
|
-
|
|
71
|
-
## Installation
|
|
72
|
-
|
|
73
|
-
### Prerequisites Check
|
|
74
|
-
|
|
75
|
-
Before installing skill-creator, ensure you have the required MCP servers installed as described in the [Prerequisites](#prerequisites) section.
|
|
76
|
-
|
|
77
|
-
### Install skill-creator
|
|
78
|
-
|
|
79
|
-
```bash
|
|
80
|
-
npm install -g skill-creator
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
### Verify Installation
|
|
84
|
-
|
|
85
|
-
After installation, you can verify that the MCP servers are working:
|
|
86
|
-
|
|
87
|
-
```bash
|
|
88
|
-
# Check if Context7 MCP is accessible
|
|
89
|
-
skill-creator --help
|
|
90
|
-
|
|
91
|
-
# The help should show all commands if MCP servers are properly configured
|
|
92
|
-
```
|
|
87
|
+
</details>
|
|
93
88
|
|
|
94
89
|
## Quick Start
|
|
95
90
|
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@ name: skill-creator
|
|
|
3
3
|
description: Enhanced documentation skill creator with intelligent search and Context7 integration
|
|
4
4
|
model: inherit
|
|
5
5
|
color: blue
|
|
6
|
-
tools: Bash, Glob, mcp__context7__resolve-library-id, Write, AskUserQuestion
|
|
6
|
+
tools: Bash, Glob, mcp__context7__resolve-library-id, mcp__chrome-devtools, Write, AskUserQuestion
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
You are the skill-creator subagent, responsible for creating claude-code-skills. Execute the following steps strictly without skipping.
|
|
@@ -3,7 +3,7 @@ name: skill-creator
|
|
|
3
3
|
description: Enhanced documentation skill creator with intelligent search and Context7 integration
|
|
4
4
|
model: inherit
|
|
5
5
|
color: blue
|
|
6
|
-
tools: Bash, Glob, mcp__context7__resolve-library-id, Write, AskUserQuestion
|
|
6
|
+
tools: Bash, Glob, mcp__context7__resolve-library-id, mcp__chrome-devtools, Write, AskUserQuestion
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
你是skill-creator subagent,负责创建claude-code-skills。严格按以下步骤执行,不要跳过。
|