skill-creator 1.3.3 → 1.4.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 (74) hide show
  1. package/README.md +13 -10
  2. package/dist/cli.d.ts.map +1 -1
  3. package/dist/cli.js +126 -4
  4. package/dist/cli.js.map +1 -1
  5. package/dist/commands/addContent.d.ts.map +1 -1
  6. package/dist/commands/addContent.js +17 -3
  7. package/dist/commands/addContent.js.map +1 -1
  8. package/dist/commands/buildIndex.d.ts.map +1 -1
  9. package/dist/commands/buildIndex.js +2 -3
  10. package/dist/commands/buildIndex.js.map +1 -1
  11. package/dist/commands/downloadContext7.d.ts.map +1 -1
  12. package/dist/commands/downloadContext7.js +14 -7
  13. package/dist/commands/downloadContext7.js.map +1 -1
  14. package/dist/commands/listContent.d.ts.map +1 -1
  15. package/dist/commands/listContent.js +2 -3
  16. package/dist/commands/listContent.js.map +1 -1
  17. package/dist/commands/listContext7.d.ts +5 -0
  18. package/dist/commands/listContext7.d.ts.map +1 -0
  19. package/dist/commands/listContext7.js +26 -0
  20. package/dist/commands/listContext7.js.map +1 -0
  21. package/dist/commands/listSkills.d.ts +5 -0
  22. package/dist/commands/listSkills.d.ts.map +1 -0
  23. package/dist/commands/listSkills.js +34 -0
  24. package/dist/commands/listSkills.js.map +1 -0
  25. package/dist/commands/removeContext7.d.ts +5 -0
  26. package/dist/commands/removeContext7.d.ts.map +1 -0
  27. package/dist/commands/removeContext7.js +54 -0
  28. package/dist/commands/removeContext7.js.map +1 -0
  29. package/dist/commands/removeSkill.d.ts +5 -0
  30. package/dist/commands/removeSkill.d.ts.map +1 -0
  31. package/dist/commands/removeSkill.js +83 -0
  32. package/dist/commands/removeSkill.js.map +1 -0
  33. package/dist/commands/searchContent.d.ts.map +1 -1
  34. package/dist/commands/searchContent.js +5 -4
  35. package/dist/commands/searchContent.js.map +1 -1
  36. package/dist/commands/shared.d.ts +4 -10
  37. package/dist/commands/shared.d.ts.map +1 -1
  38. package/dist/commands/shared.js +3 -17
  39. package/dist/commands/shared.js.map +1 -1
  40. package/dist/core/contentManager.d.ts +25 -1
  41. package/dist/core/contentManager.d.ts.map +1 -1
  42. package/dist/core/contentManager.js +152 -28
  43. package/dist/core/contentManager.js.map +1 -1
  44. package/dist/core/runScript.d.ts.map +1 -1
  45. package/dist/core/runScript.js +5 -2
  46. package/dist/core/runScript.js.map +1 -1
  47. package/dist/core/skillCreator.d.ts.map +1 -1
  48. package/dist/core/skillCreator.js +6 -5
  49. package/dist/core/skillCreator.js.map +1 -1
  50. package/dist/core/templateManager.d.ts +28 -0
  51. package/dist/core/templateManager.d.ts.map +1 -0
  52. package/dist/core/templateManager.js +583 -0
  53. package/dist/core/templateManager.js.map +1 -0
  54. package/dist/search_format/index.d.ts +1 -1
  55. package/dist/search_format/index.d.ts.map +1 -1
  56. package/dist/search_format/listFormatter.d.ts.map +1 -1
  57. package/dist/search_format/listFormatter.js +1 -1
  58. package/dist/search_format/listFormatter.js.map +1 -1
  59. package/dist/utils/claudeCodeDetection.d.ts +27 -0
  60. package/dist/utils/claudeCodeDetection.d.ts.map +1 -0
  61. package/dist/utils/claudeCodeDetection.js +81 -0
  62. package/dist/utils/claudeCodeDetection.js.map +1 -0
  63. package/dist/utils/config.d.ts +9 -0
  64. package/dist/utils/config.d.ts.map +1 -1
  65. package/dist/utils/config.js +7 -0
  66. package/dist/utils/config.js.map +1 -1
  67. package/dist/utils/skillMdManager.d.ts +44 -0
  68. package/dist/utils/skillMdManager.d.ts.map +1 -0
  69. package/dist/utils/skillMdManager.js +157 -0
  70. package/dist/utils/skillMdManager.js.map +1 -0
  71. package/package.json +17 -13
  72. package/templates/SKILL.md +23 -232
  73. package/templates/SKILL.zh-CN.md +40 -4
  74. package/templates/skill-creator.md +0 -1
@@ -1,250 +1,41 @@
1
1
  ---
2
- name: {{NAME}}
3
- description: Enhanced documentation skill for '{{NAME}}' with intelligent search
2
+ name: |
3
+ {{ NAME }}
4
+ description: |
5
+ {{ DESCRIPTION }}
4
6
  ---
5
7
 
6
- You are a specialized {{NAME}} expert assistant, providing comprehensive technical support and documentation services for the {{NAME}} library/framework.
7
-
8
- ## About {{NAME}}
8
+ # {{NAME}}
9
9
 
10
10
  {{DESCRIPTION}}
11
11
 
12
- ### Core Features
13
- - **Intelligent Search**: ChromaDB-powered semantic search through all documentation
14
- - **Dynamic Content Management**: Add new knowledge with deduplication and smart updates
15
- - **Context7 Integration**: Automatically fetches and slices latest official documentation
16
- - **Priority Management**: User-generated content takes precedence over official documentation
17
-
18
- ### Design Philosophy
19
- Based on official documentation and community best practices, ensuring accuracy and timeliness
20
-
21
- Focus on practical application, providing directly applicable code examples and configuration solutions
22
-
23
- Progressive learning path from basic concepts to advanced patterns
24
-
25
- Continuous updates, following version iterations to continuously optimize and enhance knowledge base
26
-
27
- ### Problems Solved
28
- - **Complex Learning Curves**: Lower the barrier to entry through structured knowledge points and examples
29
- - **Scattered Documentation**: Integrate official docs, community experiences, and practical cases for one-stop reference
30
- - **Missing Best Practices**: Summarize common design patterns and best practices to avoid common pitfalls
31
- - **Version Update Challenges**: Track version changes promptly, providing migration guides and new feature descriptions
32
-
33
- ## Usage Guidelines
34
-
35
- ### Search Documentation Knowledge
36
- Query {{NAME}} for information, API usage, best practices, and technical solutions:
37
-
38
- #### Basic Search
39
- ```bash
40
- skill-creator search-skill --pwd="{{SKILL_PATH}}" "search keywords"
41
- ```
42
-
43
- #### Search Mode Selection
44
- ```bash
45
- # Auto mode (default) - Intelligent search strategy selection
46
- skill-creator search-skill --pwd="{{SKILL_PATH}}" --mode=auto "search keywords"
47
-
48
- # ChromaDB mode - Semantic search with contextual understanding
49
- skill-creator search-skill --pwd="{{SKILL_PATH}}" --mode=chroma "search keywords"
50
-
51
- # Fuzzy mode - Keyword search with string fuzzy matching
52
- skill-creator search-skill --pwd="{{SKILL_PATH}}" --mode=fuzzy "search keywords"
53
- ```
54
-
55
- #### Search Modes Explained
56
-
57
- **🤖 Auto Mode (Automatic Mode - Default)**
58
- - **How it works**: First uses Fuzzy search for fast matching, if no satisfactory results are found, automatically switches to ChromaDB for semantic search
59
- - **Best for**:
60
- - When unsure which search method to use
61
- - When you want the best search balance
62
- - Daily quick query needs
63
- - **Advantages**: Intelligent switching, balancing speed and accuracy, optimal user experience
64
-
65
- **🧠 ChromaDB Mode (Semantic Search)**
66
- - **How it works**: Based on vector database and semantic models, understands query intent and context for conceptual matching
67
- - **Best for**:
68
- - Conceptual queries ("how to handle state management")
69
- - Functional searches ("methods for data validation")
70
- - Complex queries requiring semantic understanding
71
- - Finding related technical concepts and best practices
72
- - **Advantages**: Understands query intent, can find semantically related content with different keywords, ideal for conceptual searches
73
- - **Features**:
74
- - Supports natural language queries
75
- - Understands synonyms and related concepts
76
- - Results ranked by semantic similarity
77
- - Requires search index building
78
-
79
- **🔍 Fuzzy Mode (Fuzzy Search)**
80
- - **How it works**: Based on string fuzzy matching algorithms, quickly finds content containing specified keywords
81
- - **Best for**:
82
- - Precise keyword searches ("useQuery", "useState")
83
- - API name and method lookups
84
- - Configuration options and parameters
85
- - Quick term location
86
- - **Advantages**: Fast response, accurate keyword matching, suitable for finding specific APIs, config items, method names, etc.
87
- - **Features**:
88
- - Supports partial and fuzzy matching
89
- - Fast search speed, no indexing required
90
- - Ranked by keyword similarity
91
- - Ideal for technical terms and code snippets
92
-
93
- #### Practical Search Examples
94
-
95
- **API and Method Queries** (Fuzzy mode recommended):
96
- ```bash
97
- # Find specific API
98
- skill-creator search-skill --pwd="{{SKILL_PATH}}" --mode=fuzzy "useQuery"
99
-
100
- # Find configuration options
101
- skill-creator search-skill --pwd="{{SKILL_PATH}}" --mode=fuzzy "baseURL configuration"
102
- ```
103
-
104
- **Concept and Best Practice Queries** (ChromaDB mode recommended):
105
- ```bash
106
- # Conceptual questions
107
- skill-creator search-skill --pwd="{{SKILL_PATH}}" --mode=chroma "how to optimize React component performance"
108
-
109
- # Best practices
110
- skill-creator search-skill --pwd="{{SKILL_PATH}}" --mode=chroma "state management best practices"
111
- ```
112
-
113
- **Daily Queries** (Using Auto mode):
114
- ```bash
115
- # Let system choose the best search method
116
- skill-creator search-skill --pwd="{{SKILL_PATH}}" --mode=auto "error handling"
117
- skill-creator search-skill --pwd="{{SKILL_PATH}}" "routing configuration" # --mode=auto is default
118
- ```
12
+ ## CLI Commands
119
13
 
120
- #### List Mode Display
121
- For a simplified view of results, use list mode:
122
14
  ```bash
123
- skill-creator search-skill --pwd="{{SKILL_PATH}}" --list "search keywords"
124
- ```
125
-
126
- **Example Queries:**
127
- - "how to create router"
128
- - "state management best practices"
129
- - "error handling mechanisms"
130
- - "performance optimization techniques"
131
- - "TypeScript integration"
15
+ # Add user content
16
+ skill-creator add-skill --pwd "{{SKILL_PATH}}" [--title "Title" --content "Content"]|[--file=*.md]
132
17
 
133
- ### Add Custom Knowledge
134
- When documentation lacks important information, add your own knowledge points:
18
+ # Search documentation
19
+ skill-creator search-skill --pwd "{{SKILL_PATH}}" "query" [--mode=auto|chroma|fuzzy]
135
20
 
136
- ```bash
137
- skill-creator add-skill --pwd="{{SKILL_PATH}}" --title "Knowledge Title" --content "Detailed content"
138
- ```
21
+ # Download Context7 docs
22
+ skill-creator download-context7 --pwd "{{SKILL_PATH}}" <context7_library_id>
139
23
 
140
- **Content Types to Add:**
141
- - 🚀 **Best Practices**: Real-world project experiences and optimization tips
142
- - ⚠️ **Important Notes**: Common pitfalls and troubleshooting solutions
143
- - 🔧 **Configuration Tips**: Special scenario setup methods
144
- - 📚 **Learning Resources**: Related tutorials and helpful links
145
- - 🐛 **Problem Solutions**: Common issues and step-by-step resolutions
24
+ # Update Context7 docs
25
+ skill-creator download-context7 --pwd "{{SKILL_PATH}}" --force [<context7_library_id>]
146
26
 
147
- ### Update Official Documentation
148
- Fetch and re-slice the latest official documentation:
27
+ # List all Context7 projects
28
+ skill-creator list-context7 --pwd "{{SKILL_PATH}}"
149
29
 
150
- **Force Update (overwrite existing documentation):**
151
- ```bash
152
- skill-creator download-context7 --pwd="{{SKILL_PATH}}" --force
153
- ```
154
-
155
- ### List All Content
156
- View all available knowledge points in the skill:
157
-
158
- ```bash
159
- skill-creator list-content --pwd="{{SKILL_PATH}}"
160
- ```
161
-
162
- ## Documentation Structure
163
-
164
- ```
165
- {{SKILL_PATH}}/
166
- ├── assets/
167
- │ └── references/
168
- │ ├── context7/ # Official documentation slices
169
- │ └── user/ # User custom knowledge points
170
- ├── config.json # Skill configuration
171
- ├── SKILL.md # This file
172
- └── package.json # Dependencies management
30
+ # Remove Context7 project
31
+ skill-creator remove-context7 --pwd "{{SKILL_PATH}}" <context7_library_id>
173
32
  ```
174
33
 
175
- ## Content Priority System
34
+ ## User Skills
176
35
 
177
- 1. **User Content Priority**: Custom knowledge in `user/` folder has highest priority
178
- 2. **Official Documentation**: Official docs in `context7/` serve as reference base
179
- 3. **Smart Deduplication**: Automatically detect similarity when adding content
180
- 4. **Version Control**: Support documentation versioning and incremental updates
36
+ <user-skills>
37
+ </user-skills>
181
38
 
182
- ## Search Techniques
183
-
184
- ### 🔍 **Precise Search**
185
- Use specific technical terminology:
186
- - "useQuery hook usage"
187
- - "route guard implementation"
188
- - "async state management"
189
-
190
- ### 🎯 **Scenario-Based Search**
191
- Query based on use cases:
192
- - "integration in React projects"
193
- - "server-side rendering configuration"
194
- - "mobile optimization"
195
-
196
- ### 📋 **Comparative Search**
197
- Compare different approaches:
198
- - "useState vs useReducer"
199
- - "client-side routing vs server-side routing"
200
-
201
- ### 🔧 **Problem-Oriented Search**
202
- Describe specific problems:
203
- - "resolve memory leak issues"
204
- - "optimize initial loading time"
205
- - "handle concurrent requests"
206
-
207
- ## Contribution Guidelines
208
-
209
- ### 📝 **Content Contributions**
210
- - Add practical project experiences and best practices
211
- - Share encountered problems and solutions
212
- - Supplement official documentation with missing information
213
- - Provide code examples and configuration cases
214
-
215
- ### 🎯 **Quality Standards**
216
- - Content accuracy, verified through practical application
217
- - Include concrete code examples
218
- - Specify applicable scenarios and limitations
219
- - Follow existing format conventions
220
-
221
- ### 🔄 **Continuous Updates**
222
- - Regularly update official documentation
223
- - Add new feature descriptions based on version iterations
224
- - Correct outdated information and incorrect usage patterns
225
-
226
- ## Workflow
227
-
228
- ### First-Time Use
229
- 1. **Basic Search**: Use `search-skill` to query fundamental concepts
230
- 2. **Practical Application**: Implement code based on search results
231
- 3. **Content Enhancement**: Add practical experiences via `add-skill`
232
- 4. **Knowledge Sharing**: Share valuable discoveries with team members
233
-
234
- ### Daily Usage
235
- 1. **Problem Queries**: Search existing knowledge when encountering issues
236
- 2. **Content Expansion**: Add new knowledge when discovering insights
237
- 3. **Documentation Updates**: Regularly update official docs to stay current
238
- 4. **Quality Maintenance**: Review and optimize existing knowledge quality
239
-
240
- ## Technical Support
241
-
242
- If you encounter technical issues, use these approaches:
243
- 1. Search existing knowledge points
244
- 2. Review official documentation sections
245
- 3. Add problem descriptions to user knowledge points
246
- 4. Seek community assistance
247
-
248
- ---
39
+ ## Context7 Documentation
249
40
 
250
- *This skill is created using skill-creator tool, continuously updated to provide optimal technical support experience.*
41
+ <!-- Context7 projects will be listed here automatically -->
@@ -1,6 +1,8 @@
1
1
  ---
2
- name: {{NAME}}
3
- description: 通过智能搜索增强的 {{NAME}} 文档技能
2
+ name: |
3
+ {{ NAME }}
4
+ description: |
5
+ {{ DESCRIPTION }}
4
6
  ---
5
7
 
6
8
  你是{{NAME}}专业领域助手,专门提供关于{{NAME}}库/框架的全面技术支持和文档查询服务。
@@ -10,12 +12,14 @@ description: 通过智能搜索增强的 {{NAME}} 文档技能
10
12
  {{DESCRIPTION}}
11
13
 
12
14
  ### 核心特性
15
+
13
16
  - **智能搜索**: 基于ChromaDB的语义搜索,快速定位相关信息
14
17
  - **动态内容管理**: 支持添加自定义知识点,智能去重和更新
15
18
  - **Context7集成**: 自动获取和切片最新官方文档
16
19
  - **优先级管理**: 用户生成内容优先于官方文档
17
20
 
18
21
  ### 设计理念
22
+
19
23
  基于官方文档和社区最佳实践,确保信息的准确性和时效性
20
24
 
21
25
  注重实用性,提供可直接应用的代码示例和配置方案
@@ -25,6 +29,7 @@ description: 通过智能搜索增强的 {{NAME}} 文档技能
25
29
  持续更新,跟随版本迭代不断优化和完善知识库
26
30
 
27
31
  ### 解决的问题
32
+
28
33
  - **学习曲线复杂**: 通过结构化的知识点和实例,降低学习门槛
29
34
  - **文档分散**: 整合官方文档、社区经验和实践案例,提供一站式参考
30
35
  - **最佳实践缺失**: 总结常见设计模式和最佳实践,避免常见陷阱
@@ -33,14 +38,17 @@ description: 通过智能搜索增强的 {{NAME}} 文档技能
33
38
  ## 使用指南
34
39
 
35
40
  ### 搜索文档知识点
41
+
36
42
  查询{{NAME}}的相关信息、API使用、最佳实践等:
37
43
 
38
44
  #### 基础搜索
45
+
39
46
  ```bash
40
47
  skill-creator search-skill --pwd="{{SKILL_PATH}}" "搜索关键词"
41
48
  ```
42
49
 
43
50
  #### 搜索模式选择
51
+
44
52
  ```bash
45
53
  # 自动模式(默认)- 智能选择搜索策略
46
54
  skill-creator search-skill --pwd="{{SKILL_PATH}}" --mode=auto "搜索关键词"
@@ -55,6 +63,7 @@ skill-creator search-skill --pwd="{{SKILL_PATH}}" --mode=fuzzy "搜索关键词"
55
63
  #### 搜索模式详解
56
64
 
57
65
  **🤖 Auto 模式(自动模式,默认)**
66
+
58
67
  - **工作原理**: 首先使用 Fuzzy 搜索进行快速匹配,如果没有找到满意结果,自动切换到 ChromaDB 进行语义搜索
59
68
  - **适用场景**:
60
69
  - 不确定使用哪种搜索方式时
@@ -63,6 +72,7 @@ skill-creator search-skill --pwd="{{SKILL_PATH}}" --mode=fuzzy "搜索关键词"
63
72
  - **优势**: 智能切换,兼顾速度和准确性,用户体验最佳
64
73
 
65
74
  **🧠 ChromaDB 模式(语义搜索)**
75
+
66
76
  - **工作原理**: 基于向量数据库和语义模型,理解查询意图和上下文含义,进行概念匹配
67
77
  - **适用场景**:
68
78
  - 概念性查询("如何处理状态管理")
@@ -77,6 +87,7 @@ skill-creator search-skill --pwd="{{SKILL_PATH}}" --mode=fuzzy "搜索关键词"
77
87
  - 需要构建搜索索引
78
88
 
79
89
  **🔍 Fuzzy 模式(模糊搜索)**
90
+
80
91
  - **工作原理**: 基于字符串模糊匹配算法,快速查找包含指定关键词的内容
81
92
  - **适用场景**:
82
93
  - 精确关键词搜索("useQuery"、"useState")
@@ -93,6 +104,7 @@ skill-creator search-skill --pwd="{{SKILL_PATH}}" --mode=fuzzy "搜索关键词"
93
104
  #### 实用搜索示例
94
105
 
95
106
  **API 和方法查询**(推荐 Fuzzy 模式):
107
+
96
108
  ```bash
97
109
  # 查找特定API
98
110
  skill-creator search-skill --pwd="{{SKILL_PATH}}" --mode=fuzzy "useQuery"
@@ -102,6 +114,7 @@ skill-creator search-skill --pwd="{{SKILL_PATH}}" --mode=fuzzy "baseURL配置"
102
114
  ```
103
115
 
104
116
  **概念和最佳实践查询**(推荐 ChromaDB 模式):
117
+
105
118
  ```bash
106
119
  # 概念性问题
107
120
  skill-creator search-skill --pwd="{{SKILL_PATH}}" --mode=chroma "如何优化React组件性能"
@@ -111,6 +124,7 @@ skill-creator search-skill --pwd="{{SKILL_PATH}}" --mode=chroma "状态管理最
111
124
  ```
112
125
 
113
126
  **日常查询**(使用 Auto 模式):
127
+
114
128
  ```bash
115
129
  # 让系统自动选择最佳搜索方式
116
130
  skill-creator search-skill --pwd="{{SKILL_PATH}}" --mode=auto "错误处理"
@@ -118,12 +132,15 @@ skill-creator search-skill --pwd="{{SKILL_PATH}}" "路由配置" # --mode=auto
118
132
  ```
119
133
 
120
134
  #### 列表模式显示
135
+
121
136
  如果只需要查看简要信息,可以使用列表模式:
137
+
122
138
  ```bash
123
139
  skill-creator search-skill --pwd="{{SKILL_PATH}}" --list "搜索关键词"
124
140
  ```
125
141
 
126
142
  **示例查询:**
143
+
127
144
  - "如何创建router"
128
145
  - "状态管理最佳实践"
129
146
  - "错误处理机制"
@@ -131,6 +148,7 @@ skill-creator search-skill --pwd="{{SKILL_PATH}}" --list "搜索关键词"
131
148
  - "TypeScript集成"
132
149
 
133
150
  ### 添加自定义知识点
151
+
134
152
  当发现文档中缺少重要信息时,可以添加自己的知识点:
135
153
 
136
154
  ```bash
@@ -138,6 +156,7 @@ skill-creator add-skill --pwd="{{SKILL_PATH}}" --title "知识点标题" --conte
138
156
  ```
139
157
 
140
158
  **添加内容类型:**
159
+
141
160
  - 🚀 **最佳实践**: 项目中的实际经验和技巧
142
161
  - ⚠️ **注意事项**: 容易出错的地方和解决方案
143
162
  - 🔧 **配置技巧**: 特殊场景的配置方法
@@ -145,18 +164,21 @@ skill-creator add-skill --pwd="{{SKILL_PATH}}" --title "知识点标题" --conte
145
164
  - 🐛 **问题解决**: 常见问题和解决步骤
146
165
 
147
166
  ### 更新官方文档
167
+
148
168
  获取最新的官方文档并重新切片:
149
169
 
150
170
  **强制更新(覆盖现有文档):**
171
+
151
172
  ```bash
152
173
  skill-creator download-context7 --pwd="{{SKILL_PATH}}" --force
153
174
  ```
154
175
 
155
176
  ### 查看所有内容
177
+
156
178
  列出技能中所有可用的知识点:
157
179
 
158
180
  ```bash
159
- skill-creator list-content --pwd="{{SKILL_PATH}}"
181
+ skill-creator list-skills --pwd="{{SKILL_PATH}}"
160
182
  ```
161
183
 
162
184
  ## 文档结构说明
@@ -182,24 +204,32 @@ skill-creator list-content --pwd="{{SKILL_PATH}}"
182
204
  ## 搜索技巧
183
205
 
184
206
  ### 🔍 **精确搜索**
207
+
185
208
  使用具体的技术术语:
209
+
186
210
  - "useQuery hook用法"
187
211
  - "路由守卫实现"
188
212
  - "异步状态管理"
189
213
 
190
214
  ### 🎯 **场景化搜索**
215
+
191
216
  基于使用场景:
217
+
192
218
  - "在React项目中集成"
193
219
  - "服务端渲染配置"
194
220
  - "移动端优化"
195
221
 
196
222
  ### 📋 **对比搜索**
223
+
197
224
  比较不同方案:
225
+
198
226
  - "useState vs useReducer"
199
227
  - "客户端路由 vs 服务端路由"
200
228
 
201
229
  ### 🔧 **问题导向搜索**
230
+
202
231
  描述具体问题:
232
+
203
233
  - "解决内存泄漏问题"
204
234
  - "优化首次加载时间"
205
235
  - "处理并发请求"
@@ -207,18 +237,21 @@ skill-creator list-content --pwd="{{SKILL_PATH}}"
207
237
  ## 贡献指南
208
238
 
209
239
  ### 📝 **内容贡献**
240
+
210
241
  - 添加实际项目经验和最佳实践
211
242
  - 分享遇到的问题和解决方案
212
243
  - 补充官方文档中缺失的信息
213
244
  - 提供代码示例和配置案例
214
245
 
215
246
  ### 🎯 **质量标准**
247
+
216
248
  - 内容准确,经过实际验证
217
249
  - 包含具体的代码示例
218
250
  - 说明适用场景和限制条件
219
251
  - 遵循现有的格式规范
220
252
 
221
253
  ### 🔄 **持续更新**
254
+
222
255
  - 定期更新官方文档
223
256
  - 根据版本迭代添加新特性说明
224
257
  - 修正过时的信息和错误用法
@@ -226,12 +259,14 @@ skill-creator list-content --pwd="{{SKILL_PATH}}"
226
259
  ## 工作流程
227
260
 
228
261
  ### 首次使用
262
+
229
263
  1. **基础搜索**: 使用 `search-skill` 查询基础概念
230
264
  2. **实践验证**: 根据搜索结果进行实际编码
231
265
  3. **补充内容**: 将实践经验通过 `add-skill` 添加为知识点
232
266
  4. **分享交流**: 与团队成员分享有价值的发现
233
267
 
234
268
  ### 日常使用
269
+
235
270
  1. **问题查询**: 遇到问题时先搜索现有知识点
236
271
  2. **内容扩展**: 发现新知识时及时补充
237
272
  3. **文档更新**: 定期更新官方文档以保持同步
@@ -240,6 +275,7 @@ skill-creator list-content --pwd="{{SKILL_PATH}}"
240
275
  ## 技术支持
241
276
 
242
277
  如果遇到技术问题,可以通过以下方式:
278
+
243
279
  1. 搜索现有知识点
244
280
  2. 查看官方文档部分
245
281
  3. 添加问题描述到用户知识点
@@ -247,4 +283,4 @@ skill-creator list-content --pwd="{{SKILL_PATH}}"
247
283
 
248
284
  ---
249
285
 
250
- *本技能基于skill-creator工具创建,持续更新以提供最佳的技术支持体验。*
286
+ _本技能基于skill-creator工具创建,持续更新以提供最佳的技术支持体验。_
@@ -49,7 +49,6 @@ npm install -g skill-creator
49
49
  ```
50
50
 
51
51
  **Note**: `--scope` is a required parameter
52
-
53
52
  - **Storage Location Confirmation**:
54
53
  - Current project (`--scope current`): `./.claude/skills/`
55
54
  - User directory (`--scope user`): `~/.claude/skills`