sumulige-claude 1.2.0 → 1.2.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.
- package/.claude/.kickoff-hint.txt +3 -2
- package/.claude/CLAUDE.md +138 -0
- package/.claude/README.md +234 -43
- package/.claude/boris-optimizations.md +167 -0
- package/.claude/commands/todos.md +6 -41
- package/.claude/hooks/code-formatter.cjs +2 -7
- package/.claude/hooks/conversation-logger.cjs +222 -0
- package/.claude/hooks/multi-session.cjs +3 -9
- package/.claude/hooks/project-kickoff.cjs +198 -20
- package/.claude/hooks/rag-skill-loader.cjs +0 -7
- package/.claude/hooks/session-restore.cjs +0 -0
- package/.claude/hooks/session-save.cjs +0 -0
- package/.claude/hooks/thinking-silent.cjs +3 -9
- package/.claude/hooks/todo-manager.cjs +142 -269
- package/.claude/hooks/verify-work.cjs +4 -10
- package/.claude/rag/skill-index.json +128 -8
- package/.claude/settings.json +115 -0
- package/.claude/skills/123-skill/SKILL.md +61 -0
- package/.claude/skills/123-skill/examples/basic.md +3 -0
- package/.claude/skills/123-skill/metadata.yaml +30 -0
- package/.claude/skills/123-skill/templates/default.md +3 -0
- package/.claude/skills/SKILLS.md +145 -0
- package/.claude/skills/code-reviewer-123/SKILL.md +61 -0
- package/.claude/skills/code-reviewer-123/examples/basic.md +3 -0
- package/.claude/skills/code-reviewer-123/metadata.yaml +30 -0
- package/.claude/skills/code-reviewer-123/templates/default.md +3 -0
- package/.claude/skills/examples/README.md +47 -0
- package/.claude/skills/examples/basic-task.md +67 -0
- package/.claude/skills/examples/bug-fix-workflow.md +92 -0
- package/.claude/skills/examples/feature-development.md +81 -0
- package/.claude/skills/manus-kickoff/SKILL.md +128 -0
- package/.claude/skills/manus-kickoff/examples/basic.md +84 -0
- package/.claude/skills/manus-kickoff/metadata.yaml +33 -0
- package/.claude/skills/manus-kickoff/templates/PROJECT_KICKOFF.md +89 -0
- package/.claude/skills/manus-kickoff/templates/PROJECT_PROPOSAL.md +227 -0
- package/.claude/skills/manus-kickoff/templates/TASK_PLAN.md +121 -0
- package/.claude/skills/my-skill/SKILL.md +61 -0
- package/.claude/skills/my-skill/examples/basic.md +3 -0
- package/.claude/skills/my-skill/metadata.yaml +30 -0
- package/.claude/skills/my-skill/templates/default.md +3 -0
- package/.claude/skills/template/metadata.yaml +30 -0
- package/.claude/skills/test-skill-name/SKILL.md +61 -0
- package/.claude/skills/test-skill-name/examples/basic.md +3 -0
- package/.claude/skills/test-skill-name/metadata.yaml +30 -0
- package/.claude/skills/test-skill-name/templates/default.md +3 -0
- package/.claude/templates/PROJECT_KICKOFF.md +89 -0
- package/.claude/templates/PROJECT_PROPOSAL.md +227 -0
- package/.claude/templates/TASK_PLAN.md +121 -0
- package/.claude-plugin/marketplace.json +2 -2
- package/AGENTS.md +30 -6
- package/CHANGELOG.md +18 -0
- package/CLAUDE-template.md +114 -0
- package/README.md +16 -1
- package/config/official-skills.json +2 -2
- package/jest.config.js +3 -1
- package/lib/commands.js +1626 -1207
- package/lib/marketplace.js +1 -0
- package/package.json +1 -1
- package/project-paradigm.md +313 -0
- package/prompts/how-to-find.md +163 -0
- package/tests/commands.test.js +940 -17
- package/tests/config-schema.test.js +425 -0
- package/tests/marketplace.test.js +330 -214
- package/tests/sync-external.test.js +214 -0
- package/tests/update-registry.test.js +251 -0
- package/tests/utils.test.js +12 -8
- package/tests/web-search.test.js +392 -0
- package/thinkinglens-silent.md +138 -0
|
@@ -1,15 +1,135 @@
|
|
|
1
1
|
{
|
|
2
|
+
"version": "1.0.0",
|
|
3
|
+
"last_updated": "2026-01-11",
|
|
2
4
|
"skills": [
|
|
3
5
|
{
|
|
4
|
-
"name": "
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
"name": "frontend-design",
|
|
7
|
+
"keywords": ["frontend", "ui", "react", "vue", "svelte", "design", "interface", "component", "web", "styling", "tailwind", "css"],
|
|
8
|
+
"description": "Create distinctive, production-grade frontend interfaces with high design quality",
|
|
9
|
+
"trigger": "when user asks to build web components, pages, artifacts, posters, or applications"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"name": "docx",
|
|
13
|
+
"keywords": ["docx", "word", "document", "office", "microsoft", "doc", "editing", "tracked changes", "comments"],
|
|
14
|
+
"description": "Comprehensive document creation, editing, and analysis with support for tracked changes and comments",
|
|
15
|
+
"trigger": "when working with .docx files for creating, editing, or analyzing documents"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "pdf",
|
|
19
|
+
"keywords": ["pdf", "form", "fill", "extract", "merge", "split", "acrobat", "fillable"],
|
|
20
|
+
"description": "Comprehensive PDF manipulation toolkit for extracting text, creating new PDFs, and handling forms",
|
|
21
|
+
"trigger": "when working with PDF forms, extraction, or programmatic processing"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "pptx",
|
|
25
|
+
"keywords": ["pptx", "powerpoint", "slide", "presentation", "deck", "microsoft", "office"],
|
|
26
|
+
"description": "Presentation creation, editing, and analysis with layout support",
|
|
27
|
+
"trigger": "when working with presentations (.pptx files)"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "xlsx",
|
|
31
|
+
"keywords": ["xlsx", "excel", "spreadsheet", "csv", "tsv", "formula", "chart", "data analysis"],
|
|
32
|
+
"description": "Comprehensive spreadsheet creation, editing, and analysis with formula support",
|
|
33
|
+
"trigger": "when working with spreadsheets for reading, analyzing, or creating data"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "canvas-design",
|
|
37
|
+
"keywords": ["art", "design", "canvas", "poster", "visual", "creative", "generative", "algorithmic"],
|
|
38
|
+
"description": "Create beautiful visual art in .png and .pdf documents using design philosophy",
|
|
39
|
+
"trigger": "when user asks to create a poster, piece of art, design, or other static visual piece"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "mcp-builder",
|
|
43
|
+
"keywords": ["mcp", "api", "server", "integration", "tool", "model context protocol", "external service"],
|
|
44
|
+
"description": "Guide for creating high-quality MCP servers that enable LLMs to interact with external services",
|
|
45
|
+
"trigger": "when building MCP servers to integrate external APIs or services"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "webapp-testing",
|
|
49
|
+
"keywords": ["test", "testing", "playwright", "browser", "automation", "e2e", "screenshot"],
|
|
50
|
+
"description": "Toolkit for interacting with and testing local web applications using Playwright",
|
|
51
|
+
"trigger": "when testing frontend functionality, debugging UI behavior, or capturing browser screenshots"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "orchestration",
|
|
55
|
+
"keywords": ["agent", "multi-agent", "workflow", "coordination", "parallel", "distributed"],
|
|
56
|
+
"description": "Multi-agent orchestration with cc-mirror tasks and domain-specific workflows",
|
|
57
|
+
"trigger": "when coordinating multiple agents or workflows for complex tasks"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"name": "algorithmic-art",
|
|
61
|
+
"keywords": ["p5.js", "generative", "algorithmic", "art", "creative", "random", "flow field", "particle"],
|
|
62
|
+
"description": "Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration",
|
|
63
|
+
"trigger": "when user requests creating art using code, generative art, or algorithmic art"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "slack-gif-creator",
|
|
67
|
+
"keywords": ["gif", "slack", "animated", "animation", "meme", "visual"],
|
|
68
|
+
"description": "Knowledge and utilities for creating animated GIFs optimized for Slack",
|
|
69
|
+
"trigger": "when user requests animated GIFs for Slack"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"name": "theme-factory",
|
|
73
|
+
"keywords": ["theme", "style", "color", "typography", "branding", "design system"],
|
|
74
|
+
"description": "Toolkit for styling artifacts with a theme - 10 pre-set themes with colors/fonts",
|
|
75
|
+
"trigger": "when applying consistent theming to documents, slides, or web pages"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "skill-creator",
|
|
79
|
+
"keywords": ["skill", "create skill", "custom skill", "extend", "workflow"],
|
|
80
|
+
"description": "Guide for creating effective skills that extend Claude's capabilities",
|
|
81
|
+
"trigger": "when user wants to create a new skill or update an existing skill"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"name": "doc-coauthoring",
|
|
85
|
+
"keywords": ["documentation", "doc", "proposal", "spec", "technical spec", "decision doc", "writing"],
|
|
86
|
+
"description": "Guide users through structured workflow for co-authoring documentation",
|
|
87
|
+
"trigger": "when user wants to write documentation, proposals, technical specs, or decision docs"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"name": "brand-guidelines",
|
|
91
|
+
"keywords": ["brand", "anthropic", "color", "typography", "style", "guidelines"],
|
|
92
|
+
"description": "Applies Anthropic's official brand colors and typography to artifacts",
|
|
93
|
+
"trigger": "when brand colors or style guidelines apply to the artifact"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"name": "internal-comms",
|
|
97
|
+
"keywords": ["internal", "communication", "status report", "newsletter", "faq", "company", "update"],
|
|
98
|
+
"description": "Resources for writing internal communications in company-preferred formats",
|
|
99
|
+
"trigger": "when asked to write internal communications like status reports or newsletters"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"name": "web-artifacts-builder",
|
|
103
|
+
"keywords": ["artifact", "html", "react", "complex", "state", "routing", "shadcn"],
|
|
104
|
+
"description": "Tools for creating elaborate, multi-component HTML artifacts using modern frontend web technologies",
|
|
105
|
+
"trigger": "for complex artifacts requiring state management, routing, or shadcn/ui components"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"name": "dev-browser",
|
|
109
|
+
"keywords": ["browser", "scraping", "automation", "puppet", "playwright", "web"],
|
|
110
|
+
"description": "Browser automation with persistent state for testing and scraping",
|
|
111
|
+
"trigger": "when needing browser automation or web scraping capabilities"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"name": "zai-cli",
|
|
115
|
+
"keywords": ["z.ai", "vision", "search", "github", "exploration", "analysis"],
|
|
116
|
+
"description": "Z.AI vision, search, and GitHub exploration CLI tools",
|
|
117
|
+
"trigger": "when needing vision analysis, web search, or GitHub repository exploration"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"name": "gastown",
|
|
121
|
+
"keywords": ["gastown", "multi-agent", "orchestrator", "coordination"],
|
|
122
|
+
"description": "Multi-agent orchestrator for complex task coordination",
|
|
123
|
+
"trigger": "when orchestrating multiple agents for complex workflows"
|
|
10
124
|
}
|
|
11
125
|
],
|
|
12
126
|
"auto_load": {
|
|
13
|
-
"enabled": true
|
|
127
|
+
"enabled": true,
|
|
128
|
+
"confidence_threshold": 0.7,
|
|
129
|
+
"max_skills_per_task": 3
|
|
130
|
+
},
|
|
131
|
+
"fallback": {
|
|
132
|
+
"enabled": true,
|
|
133
|
+
"skill": "frontend-design"
|
|
14
134
|
}
|
|
15
|
-
}
|
|
135
|
+
}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
{
|
|
2
|
+
"UserPromptSubmit": [
|
|
3
|
+
{
|
|
4
|
+
"matcher": {},
|
|
5
|
+
"hooks": [
|
|
6
|
+
{
|
|
7
|
+
"type": "command",
|
|
8
|
+
"command": "node \"$CLAUDE_PROJECT_DIR\"/.claude/hooks/project-kickoff.cjs",
|
|
9
|
+
"timeout": 1000
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"type": "command",
|
|
13
|
+
"command": "node \"$CLAUDE_PROJECT_DIR\"/.claude/hooks/rag-skill-loader.cjs",
|
|
14
|
+
"timeout": 1000
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"type": "command",
|
|
18
|
+
"command": "node \"$CLAUDE_PROJECT_DIR\"/.claude/hooks/thinking-silent.cjs",
|
|
19
|
+
"timeout": 1000
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"type": "command",
|
|
23
|
+
"command": "node \"$CLAUDE_PROJECT_DIR\"/.claude/hooks/multi-session.cjs",
|
|
24
|
+
"timeout": 1000
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"type": "command",
|
|
28
|
+
"command": "node \"$CLAUDE_PROJECT_DIR\"/.claude/hooks/todo-manager.cjs",
|
|
29
|
+
"timeout": 1000
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
"PreToolUse": [
|
|
35
|
+
{
|
|
36
|
+
"matcher": {},
|
|
37
|
+
"hooks": [
|
|
38
|
+
{
|
|
39
|
+
"type": "command",
|
|
40
|
+
"command": "node \"$CLAUDE_PROJECT_DIR\"/.claude/hooks/thinking-silent.cjs",
|
|
41
|
+
"timeout": 1000
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"type": "command",
|
|
45
|
+
"command": "node \"$CLAUDE_PROJECT_DIR\"/.claude/hooks/multi-session.cjs",
|
|
46
|
+
"timeout": 1000
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"type": "command",
|
|
50
|
+
"command": "node \"$CLAUDE_PROJECT_DIR\"/.claude/hooks/todo-manager.cjs",
|
|
51
|
+
"timeout": 1000
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"PostToolUse": [
|
|
57
|
+
{
|
|
58
|
+
"matcher": {},
|
|
59
|
+
"hooks": [
|
|
60
|
+
{
|
|
61
|
+
"type": "command",
|
|
62
|
+
"command": "node \"$CLAUDE_PROJECT_DIR\"/.claude/hooks/code-formatter.cjs",
|
|
63
|
+
"timeout": 5000
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"type": "command",
|
|
67
|
+
"command": "node \"$CLAUDE_PROJECT_DIR\"/.claude/hooks/verify-work.cjs",
|
|
68
|
+
"timeout": 1000
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"type": "command",
|
|
72
|
+
"command": "node \"$CLAUDE_PROJECT_DIR\"/.claude/hooks/thinking-silent.cjs",
|
|
73
|
+
"timeout": 1000
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"type": "command",
|
|
77
|
+
"command": "node \"$CLAUDE_PROJECT_DIR\"/.claude/hooks/multi-session.cjs",
|
|
78
|
+
"timeout": 1000
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"type": "command",
|
|
82
|
+
"command": "node \"$CLAUDE_PROJECT_DIR\"/.claude/hooks/todo-manager.cjs",
|
|
83
|
+
"timeout": 1000
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
|
+
}
|
|
87
|
+
],
|
|
88
|
+
"AgentStop": [
|
|
89
|
+
{
|
|
90
|
+
"matcher": {},
|
|
91
|
+
"hooks": [
|
|
92
|
+
{
|
|
93
|
+
"type": "command",
|
|
94
|
+
"command": "node \"$CLAUDE_PROJECT_DIR\"/.claude/hooks/verify-work.cjs",
|
|
95
|
+
"timeout": 1000
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"type": "command",
|
|
99
|
+
"command": "node \"$CLAUDE_PROJECT_DIR\"/.claude/hooks/thinking-silent.cjs",
|
|
100
|
+
"timeout": 1000
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"type": "command",
|
|
104
|
+
"command": "node \"$CLAUDE_PROJECT_DIR\"/.claude/hooks/multi-session.cjs",
|
|
105
|
+
"timeout": 1000
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"type": "command",
|
|
109
|
+
"command": "node \"$CLAUDE_PROJECT_DIR\"/.claude/hooks/todo-manager.cjs",
|
|
110
|
+
"timeout": 1000
|
|
111
|
+
}
|
|
112
|
+
]
|
|
113
|
+
}
|
|
114
|
+
]
|
|
115
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# 123 Skill
|
|
2
|
+
|
|
3
|
+
> 简短描述这个技能的作用(一句话)
|
|
4
|
+
|
|
5
|
+
**版本**: 1.0.0
|
|
6
|
+
**作者**: @username
|
|
7
|
+
**标签**: [category1, category2]
|
|
8
|
+
**难度**: 初级/中级/高级
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## 概述
|
|
13
|
+
|
|
14
|
+
详细描述这个技能的功能和用途。
|
|
15
|
+
|
|
16
|
+
## 适用场景
|
|
17
|
+
|
|
18
|
+
- 场景 1
|
|
19
|
+
- 场景 2
|
|
20
|
+
- 场景 3
|
|
21
|
+
|
|
22
|
+
## 触发关键词
|
|
23
|
+
|
|
24
|
+
```
|
|
25
|
+
keyword1, keyword2, "exact phrase"
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## 使用方法
|
|
29
|
+
|
|
30
|
+
### 基础用法
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
# 示例命令
|
|
34
|
+
your-command-here
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
### 高级用法
|
|
38
|
+
|
|
39
|
+
```yaml
|
|
40
|
+
# 配置示例
|
|
41
|
+
key: value
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## 输出格式
|
|
45
|
+
|
|
46
|
+
描述这个技能的输出结果格式。
|
|
47
|
+
|
|
48
|
+
## 注意事项
|
|
49
|
+
|
|
50
|
+
- 注意事项 1
|
|
51
|
+
- 注意事项 2
|
|
52
|
+
|
|
53
|
+
## 相关技能
|
|
54
|
+
|
|
55
|
+
- [related-skill](../related-skill/)
|
|
56
|
+
- [another-skill](../another-skill/)
|
|
57
|
+
|
|
58
|
+
## 更新日志
|
|
59
|
+
|
|
60
|
+
### 1.0.0 (YYYY-MM-DD)
|
|
61
|
+
- 初始版本
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Skill Metadata
|
|
2
|
+
# 这个文件定义技能的基本信息,用于自动发现和索引
|
|
3
|
+
|
|
4
|
+
name: 123-skill
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
author: @username
|
|
7
|
+
description: 简短描述技能功能
|
|
8
|
+
|
|
9
|
+
tags:
|
|
10
|
+
- category1
|
|
11
|
+
- category2
|
|
12
|
+
|
|
13
|
+
triggers:
|
|
14
|
+
- keyword1
|
|
15
|
+
- keyword2
|
|
16
|
+
- "exact phrase"
|
|
17
|
+
|
|
18
|
+
dependencies: [] # 依赖的其他技能
|
|
19
|
+
|
|
20
|
+
difficulty: beginner # beginner | intermediate | advanced
|
|
21
|
+
|
|
22
|
+
# 模板文件
|
|
23
|
+
templates:
|
|
24
|
+
- name: default
|
|
25
|
+
file: templates/default.md
|
|
26
|
+
|
|
27
|
+
# 示例文件
|
|
28
|
+
examples:
|
|
29
|
+
- name: basic
|
|
30
|
+
file: examples/basic.md
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
# 技能索引 (Skills Index)
|
|
2
|
+
|
|
3
|
+
> Oh My Claude 技能库总览
|
|
4
|
+
|
|
5
|
+
@version: 1.0.0
|
|
6
|
+
|
|
7
|
+
## 目录
|
|
8
|
+
|
|
9
|
+
- [内置技能](#内置技能)
|
|
10
|
+
- [示例技能](#示例技能)
|
|
11
|
+
- [技能模板](#技能模板)
|
|
12
|
+
- [创建新技能](#创建新技能)
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## 内置技能
|
|
17
|
+
|
|
18
|
+
### 工作流类
|
|
19
|
+
|
|
20
|
+
| 技能 | 说明 | 难度 |
|
|
21
|
+
|------|------|------|
|
|
22
|
+
| [manus-kickoff](./manus-kickoff/) | Manus 风格项目启动流程 | 中级 |
|
|
23
|
+
|
|
24
|
+
### 开发类
|
|
25
|
+
|
|
26
|
+
*(待补充)*
|
|
27
|
+
|
|
28
|
+
### 设计类
|
|
29
|
+
|
|
30
|
+
*(待补充)*
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## 示例技能
|
|
35
|
+
|
|
36
|
+
| 技能 | 说明 | 难度 |
|
|
37
|
+
|------|------|------|
|
|
38
|
+
| [basic-task](./examples/basic-task.md) | 基础任务处理模板 | 初级 |
|
|
39
|
+
| [feature-development](./examples/feature-development.md) | 功能开发工作流 | 中级 |
|
|
40
|
+
| [bug-fix-workflow](./examples/bug-fix-workflow.md) | Bug 修复流程 | 中级 |
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
## 技能模板
|
|
45
|
+
|
|
46
|
+
### 标准技能结构
|
|
47
|
+
|
|
48
|
+
```
|
|
49
|
+
skill-name/
|
|
50
|
+
├── SKILL.md # 技能定义(必需)
|
|
51
|
+
├── metadata.yaml # 技能元数据(必需)
|
|
52
|
+
├── templates/ # 模板文件(可选)
|
|
53
|
+
│ └── default.md
|
|
54
|
+
└── examples/ # 示例文件(可选)
|
|
55
|
+
└── basic.md
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
### SKILL.md 模板
|
|
59
|
+
|
|
60
|
+
参考 [template/SKILL.md](./template/SKILL.md)
|
|
61
|
+
|
|
62
|
+
### metadata.yaml 模板
|
|
63
|
+
|
|
64
|
+
```yaml
|
|
65
|
+
name: skill-name
|
|
66
|
+
version: 1.0.0
|
|
67
|
+
author: @username
|
|
68
|
+
description: 技能描述
|
|
69
|
+
|
|
70
|
+
tags:
|
|
71
|
+
- category1
|
|
72
|
+
- category2
|
|
73
|
+
|
|
74
|
+
triggers:
|
|
75
|
+
- keyword1
|
|
76
|
+
- keyword2
|
|
77
|
+
|
|
78
|
+
dependencies: [] # 依赖的其他技能
|
|
79
|
+
|
|
80
|
+
difficulty: beginner # beginner | intermediate | advanced
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
---
|
|
84
|
+
|
|
85
|
+
## 创建新技能
|
|
86
|
+
|
|
87
|
+
### 使用 CLI 命令
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
oh-my-claude skill:create my-skill
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
### 手动创建
|
|
94
|
+
|
|
95
|
+
1. 复制模板:
|
|
96
|
+
```bash
|
|
97
|
+
cp -r .claude/skills/template .claude/skills/my-skill
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
2. 编辑 SKILL.md
|
|
101
|
+
|
|
102
|
+
3. 更新 metadata.yaml
|
|
103
|
+
|
|
104
|
+
4. 更新本索引
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
## 技能依赖管理
|
|
109
|
+
|
|
110
|
+
### 定义依赖
|
|
111
|
+
|
|
112
|
+
在 metadata.yaml 中声明:
|
|
113
|
+
|
|
114
|
+
```yaml
|
|
115
|
+
dependencies:
|
|
116
|
+
- manus-kickoff
|
|
117
|
+
- code-review
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
### 依赖解析
|
|
121
|
+
|
|
122
|
+
当使用技能时,系统会:
|
|
123
|
+
1. 检查依赖是否已安装
|
|
124
|
+
2. 按顺序加载依赖技能
|
|
125
|
+
3. 提示缺失的依赖
|
|
126
|
+
|
|
127
|
+
### 循环依赖检测
|
|
128
|
+
|
|
129
|
+
系统会自动检测并警告循环依赖。
|
|
130
|
+
|
|
131
|
+
---
|
|
132
|
+
|
|
133
|
+
## RAG 集成
|
|
134
|
+
|
|
135
|
+
技能会自动注册到 RAG 索引中 (`.claude/rag/skill-index.json`),实现智能发现。
|
|
136
|
+
|
|
137
|
+
---
|
|
138
|
+
|
|
139
|
+
## 更新日志
|
|
140
|
+
|
|
141
|
+
### 1.0.0 (2026-01-11)
|
|
142
|
+
- 初始版本
|
|
143
|
+
- 添加 Manus Kickoff 技能
|
|
144
|
+
- 添加 3 个示例技能
|
|
145
|
+
- 添加技能模板
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# Code Reviewer 123
|
|
2
|
+
|
|
3
|
+
> 简短描述这个技能的作用(一句话)
|
|
4
|
+
|
|
5
|
+
**版本**: 1.0.0
|
|
6
|
+
**作者**: @username
|
|
7
|
+
**标签**: [category1, category2]
|
|
8
|
+
**难度**: 初级/中级/高级
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## 概述
|
|
13
|
+
|
|
14
|
+
详细描述这个技能的功能和用途。
|
|
15
|
+
|
|
16
|
+
## 适用场景
|
|
17
|
+
|
|
18
|
+
- 场景 1
|
|
19
|
+
- 场景 2
|
|
20
|
+
- 场景 3
|
|
21
|
+
|
|
22
|
+
## 触发关键词
|
|
23
|
+
|
|
24
|
+
```
|
|
25
|
+
keyword1, keyword2, "exact phrase"
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## 使用方法
|
|
29
|
+
|
|
30
|
+
### 基础用法
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
# 示例命令
|
|
34
|
+
your-command-here
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
### 高级用法
|
|
38
|
+
|
|
39
|
+
```yaml
|
|
40
|
+
# 配置示例
|
|
41
|
+
key: value
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## 输出格式
|
|
45
|
+
|
|
46
|
+
描述这个技能的输出结果格式。
|
|
47
|
+
|
|
48
|
+
## 注意事项
|
|
49
|
+
|
|
50
|
+
- 注意事项 1
|
|
51
|
+
- 注意事项 2
|
|
52
|
+
|
|
53
|
+
## 相关技能
|
|
54
|
+
|
|
55
|
+
- [related-skill](../related-skill/)
|
|
56
|
+
- [another-skill](../another-skill/)
|
|
57
|
+
|
|
58
|
+
## 更新日志
|
|
59
|
+
|
|
60
|
+
### 1.0.0 (YYYY-MM-DD)
|
|
61
|
+
- 初始版本
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Skill Metadata
|
|
2
|
+
# 这个文件定义技能的基本信息,用于自动发现和索引
|
|
3
|
+
|
|
4
|
+
name: code-reviewer-123
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
author: @username
|
|
7
|
+
description: 简短描述技能功能
|
|
8
|
+
|
|
9
|
+
tags:
|
|
10
|
+
- category1
|
|
11
|
+
- category2
|
|
12
|
+
|
|
13
|
+
triggers:
|
|
14
|
+
- keyword1
|
|
15
|
+
- keyword2
|
|
16
|
+
- "exact phrase"
|
|
17
|
+
|
|
18
|
+
dependencies: [] # 依赖的其他技能
|
|
19
|
+
|
|
20
|
+
difficulty: beginner # beginner | intermediate | advanced
|
|
21
|
+
|
|
22
|
+
# 模板文件
|
|
23
|
+
templates:
|
|
24
|
+
- name: default
|
|
25
|
+
file: templates/default.md
|
|
26
|
+
|
|
27
|
+
# 示例文件
|
|
28
|
+
examples:
|
|
29
|
+
- name: basic
|
|
30
|
+
file: examples/basic.md
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# 技能示例库
|
|
2
|
+
|
|
3
|
+
> 本目录包含常用技能示例,供参考和学习
|
|
4
|
+
|
|
5
|
+
@version: 1.0.0
|
|
6
|
+
|
|
7
|
+
## 示例列表
|
|
8
|
+
|
|
9
|
+
| 示例 | 难度 | 说明 |
|
|
10
|
+
|------|------|------|
|
|
11
|
+
| [basic-task](./basic-task.md) | 初级 | 基础任务处理模板 |
|
|
12
|
+
| [feature-development](./feature-development.md) | 中级 | 完整功能开发工作流 |
|
|
13
|
+
| [bug-fix-workflow](./bug-fix-workflow.md) | 中级 | 系统 Bug 修复流程 |
|
|
14
|
+
|
|
15
|
+
## 使用方式
|
|
16
|
+
|
|
17
|
+
### 1. 参考示例创建新技能
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
oh-my-claude skill:create my-skill
|
|
21
|
+
# 然后参考示例内容完善 SKILL.md
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
### 2. 直接复制示例
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
cp -r .claude/skills/examples/basic-task.md .claude/skills/my-skill/SKILL.md
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## 示例结构
|
|
31
|
+
|
|
32
|
+
每个示例包含:
|
|
33
|
+
|
|
34
|
+
- **概述**: 技能用途
|
|
35
|
+
- **适用场景**: 何时使用
|
|
36
|
+
- **触发关键词**: 如何激活
|
|
37
|
+
- **使用方法**: 具体用法
|
|
38
|
+
- **输出格式**: 返回结果
|
|
39
|
+
- **注意事项**: 重要提醒
|
|
40
|
+
|
|
41
|
+
## 贡献新示例
|
|
42
|
+
|
|
43
|
+
欢迎贡献更多实用示例!
|
|
44
|
+
|
|
45
|
+
1. 创建示例文件
|
|
46
|
+
2. 更新本索引
|
|
47
|
+
3. 提交 PR
|