sumulige-claude 1.0.6 → 1.0.8
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 +51 -0
- package/.claude/ANCHORS.md +40 -0
- package/.claude/MEMORY.md +34 -0
- package/.claude/PROJECT_LOG.md +101 -0
- package/.claude/THINKING_CHAIN_GUIDE.md +287 -0
- package/.claude/commands/commit-push-pr.md +59 -0
- package/.claude/commands/commit.md +53 -0
- package/.claude/commands/pr.md +76 -0
- package/.claude/commands/review.md +61 -0
- package/.claude/commands/sessions.md +62 -0
- package/.claude/commands/skill-create.md +131 -0
- package/.claude/commands/test.md +56 -0
- package/.claude/commands/todos.md +99 -0
- package/.claude/commands/verify-work.md +63 -0
- package/.claude/hooks/code-formatter.cjs +187 -0
- package/.claude/hooks/code-tracer.cjs +331 -0
- package/.claude/hooks/conversation-recorder.cjs +340 -0
- package/.claude/hooks/decision-tracker.cjs +398 -0
- package/.claude/hooks/export.cjs +329 -0
- package/.claude/hooks/multi-session.cjs +181 -0
- package/.claude/hooks/privacy-filter.js +224 -0
- package/.claude/hooks/project-kickoff.cjs +114 -0
- package/.claude/hooks/rag-skill-loader.cjs +159 -0
- package/.claude/hooks/session-end.sh +61 -0
- package/.claude/hooks/sync-to-log.sh +83 -0
- package/.claude/hooks/thinking-silent.cjs +145 -0
- package/.claude/hooks/tl-summary.sh +54 -0
- package/.claude/hooks/todo-manager.cjs +248 -0
- package/.claude/hooks/verify-work.cjs +134 -0
- package/.claude/sessions/active-sessions.json +359 -0
- package/.claude/settings.local.json +43 -2
- package/.claude/thinking-routes/.last-sync +1 -0
- package/.claude/thinking-routes/QUICKREF.md +98 -0
- package/.claude-plugin/marketplace.json +71 -0
- package/.github/workflows/sync-skills.yml +74 -0
- package/AGENTS.md +81 -22
- package/DEV_TOOLS_GUIDE.md +190 -0
- package/PROJECT_STRUCTURE.md +10 -1
- package/README.md +142 -708
- package/cli.js +116 -822
- package/config/defaults.json +34 -0
- package/config/skill-categories.json +40 -0
- package/development/todos/INDEX.md +14 -58
- package/docs/DEVELOPMENT.md +423 -0
- package/docs/MARKETPLACE.md +352 -0
- package/lib/commands.js +698 -0
- package/lib/config.js +71 -0
- package/lib/marketplace.js +486 -0
- package/lib/utils.js +62 -0
- package/package.json +11 -5
- package/scripts/sync-external.mjs +298 -0
- package/scripts/update-registry.mjs +325 -0
- package/sources.yaml +83 -0
package/AGENTS.md
CHANGED
|
@@ -1,33 +1,92 @@
|
|
|
1
|
-
# AGENTS
|
|
1
|
+
# AGENTS.md
|
|
2
2
|
|
|
3
3
|
<skills_system priority="1">
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Multi-Agent Orchestration
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
<usage>
|
|
9
|
-
When users ask you to perform tasks, check if any of the available skills below can help complete the task more effectively. Skills provide specialized capabilities and domain knowledge.
|
|
7
|
+
This project uses **Sumulige Claude (SMC)** for intelligent multi-agent collaboration.
|
|
10
8
|
|
|
11
|
-
|
|
12
|
-
- Invoke: Bash("openskills read <skill-name>")
|
|
13
|
-
- The skill content will load with detailed instructions on how to complete the task
|
|
14
|
-
- Base directory provided in output for resolving bundled resources (references/, scripts/, assets/)
|
|
9
|
+
### Available Agents
|
|
15
10
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
-
|
|
20
|
-
|
|
11
|
+
| Agent | Model | Role |
|
|
12
|
+
|-------|-------|------|
|
|
13
|
+
| **Conductor** | claude-opus-4.5 | Task coordination and decomposition |
|
|
14
|
+
| **Architect** | claude-opus-4.5 | Architecture design and technical decisions |
|
|
15
|
+
| **Builder** | claude-opus-4.5 | Code implementation and testing |
|
|
16
|
+
| **Reviewer** | claude-opus-4.5 | Code review and quality assurance |
|
|
17
|
+
| **Librarian** | claude-opus-4.5 | Documentation and knowledge management |
|
|
21
18
|
|
|
22
|
-
|
|
19
|
+
### Usage
|
|
23
20
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
<location>project</location>
|
|
28
|
-
</skill>
|
|
21
|
+
```bash
|
|
22
|
+
# View agent status
|
|
23
|
+
smc status
|
|
29
24
|
|
|
30
|
-
|
|
31
|
-
|
|
25
|
+
# Run agent task
|
|
26
|
+
smc agent <task>
|
|
27
|
+
|
|
28
|
+
# List available skills
|
|
29
|
+
smc marketplace:list
|
|
30
|
+
|
|
31
|
+
# Install a skill
|
|
32
|
+
smc marketplace:install <skill-name>
|
|
33
|
+
|
|
34
|
+
# Sync external skills
|
|
35
|
+
smc marketplace:sync
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## Skills Marketplace
|
|
41
|
+
|
|
42
|
+
This project includes a curated skills marketplace with automatic synchronization from external repositories.
|
|
43
|
+
|
|
44
|
+
### Categories
|
|
45
|
+
|
|
46
|
+
| Category | Description |
|
|
47
|
+
|----------|-------------|
|
|
48
|
+
| 🔧 **tools** | CLI tools and utilities |
|
|
49
|
+
| 💻 **development** | Language-specific dev assistance |
|
|
50
|
+
| ⚡ **productivity** | Workflow automation |
|
|
51
|
+
| 🤖 **automation** | Browser, CI/CD, system automation |
|
|
52
|
+
| 📊 **data** | Database, data processing |
|
|
53
|
+
| 📚 **documentation** | Docs, diagrams, specs |
|
|
54
|
+
| 🎼 **workflow** | Multi-agent orchestration |
|
|
55
|
+
|
|
56
|
+
### Universal Compatibility
|
|
57
|
+
|
|
58
|
+
This project follows the **AGENTS.md** standard, adopted by 20,000+ repositories and natively supported by:
|
|
59
|
+
- Claude Code
|
|
60
|
+
- GitHub Copilot
|
|
61
|
+
- Google Gemini
|
|
62
|
+
- OpenAI Codex
|
|
63
|
+
- Factory Droid
|
|
64
|
+
- Cursor
|
|
65
|
+
- And more...
|
|
66
|
+
|
|
67
|
+
### Quick Commands
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
# Initialize SMC in your project
|
|
71
|
+
smc init
|
|
72
|
+
|
|
73
|
+
# Deploy Claude Code project template
|
|
74
|
+
smc template
|
|
75
|
+
|
|
76
|
+
# Start Manus-style project planning
|
|
77
|
+
smc kickoff
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
---
|
|
81
|
+
|
|
82
|
+
## Project Template Features
|
|
83
|
+
|
|
84
|
+
When you run `smc template`, your project gets:
|
|
85
|
+
|
|
86
|
+
- **ThinkingLens** - Autonomous memory system for AI
|
|
87
|
+
- **Slash Commands** - `/commit`, `/test`, `/review`, `/pr`, etc.
|
|
88
|
+
- **RAG System** - Dynamic skill discovery based on task context
|
|
89
|
+
- **Hooks** - Automation for code formatting, TODO management, etc.
|
|
90
|
+
- **TODO System** - GTD-style task management
|
|
32
91
|
|
|
33
92
|
</skills_system>
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
# 🛠️ 开发工具速查手册
|
|
2
|
+
|
|
3
|
+
> 写给高中生的通俗指南 - 每个工具一句话解释 + 常用命令
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## 📋 工具一览表
|
|
8
|
+
|
|
9
|
+
| 工具 | 一句话解释 | 类比 |
|
|
10
|
+
|------|-----------|------|
|
|
11
|
+
| **zellij** | 终端分屏器 | 像把一个窗口分成多个小窗口 |
|
|
12
|
+
| **fnm** | Node.js 版本管理 | 像手机可以装多个微信 |
|
|
13
|
+
| **pyenv** | Python 版本管理 | 同时装多个 Python 版本 |
|
|
14
|
+
| **uv** | Python 包安装器 | pip 的超快替代品 |
|
|
15
|
+
| **pgcli** | 数据库命令行 | 带自动补全的 PostgreSQL 客户端 |
|
|
16
|
+
| **bat** | 更好看的查看文件 | cat 命令的美化版 |
|
|
17
|
+
| **eza** | 更好看的文件列表 | ls 命令的美化版 |
|
|
18
|
+
| **fzf** | 模糊搜索 | Ctrl+R 搜历史命令 |
|
|
19
|
+
| **lazygit** | Git 图形界面 | 在终端里用图形化操作 Git |
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## 🎯 分屏神器 - Zellij
|
|
24
|
+
|
|
25
|
+
**干啥用**:把一个终端窗口分成多个区域,同时运行多个命令
|
|
26
|
+
|
|
27
|
+
**启动**:
|
|
28
|
+
```bash
|
|
29
|
+
zellij # 启动
|
|
30
|
+
zj # 快捷别名
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
**常用操作**:
|
|
34
|
+
| 按键 | 作用 |
|
|
35
|
+
|------|------|
|
|
36
|
+
| `Ctrl+p` 然后 `n` | 新建标签页 |
|
|
37
|
+
| `Ctrl+p` 然后 `d` | 垂直分屏 |
|
|
38
|
+
| `Ctrl+p` 然后 `r` | 水平分屏 |
|
|
39
|
+
| `Ctrl+p` 然后 `x` | 关闭当前面板 |
|
|
40
|
+
| `Ctrl+p` 然后 `w` | 切换面板 |
|
|
41
|
+
|
|
42
|
+
**使用场景**:
|
|
43
|
+
- 一边写代码,一边看日志
|
|
44
|
+
- 同时运行前端和后端服务器
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
## 📦 Node 版本管理 - fnm
|
|
49
|
+
|
|
50
|
+
**干啥用**:不同项目可能需要不同版本的 Node.js,fnm 帮你切换
|
|
51
|
+
|
|
52
|
+
**常用命令**:
|
|
53
|
+
```bash
|
|
54
|
+
fnm list-remote # 看有哪些版本可以装
|
|
55
|
+
fnm install 20 # 安装 Node 20
|
|
56
|
+
fnm install 22 # 安装 Node 22
|
|
57
|
+
fnm use 20 # 切换到 Node 20
|
|
58
|
+
fnm default 22 # 设置默认版本
|
|
59
|
+
fnm current # 查看当前版本
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
**使用场景**:
|
|
63
|
+
- 老项目需要 Node 18,新项目需要 Node 22
|
|
64
|
+
- 进入项目文件夹自动切换版本(如果有 .node-version 文件)
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
## 🐍 Python 版本管理 - pyenv
|
|
69
|
+
|
|
70
|
+
**干啥用**:管理多个 Python 版本
|
|
71
|
+
|
|
72
|
+
**常用命令**:
|
|
73
|
+
```bash
|
|
74
|
+
pyenv install --list # 看有哪些版本
|
|
75
|
+
pyenv install 3.12.0 # 安装 Python 3.12
|
|
76
|
+
pyenv global 3.12.0 # 设置全局默认
|
|
77
|
+
pyenv local 3.11.0 # 当前目录用 3.11
|
|
78
|
+
pyenv versions # 查看已安装版本
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
---
|
|
82
|
+
|
|
83
|
+
## ⚡ 超快包管理 - uv
|
|
84
|
+
|
|
85
|
+
**干啥用**:替代 pip,安装 Python 包快 10-100 倍
|
|
86
|
+
|
|
87
|
+
**常用命令**:
|
|
88
|
+
```bash
|
|
89
|
+
uv pip install pandas # 安装包
|
|
90
|
+
uv pip install -r req.txt # 从文件安装
|
|
91
|
+
uv venv # 创建虚拟环境
|
|
92
|
+
uv run python script.py # 运行脚本
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
**对比**:
|
|
96
|
+
| 命令 | pip 用时 | uv 用时 |
|
|
97
|
+
|------|---------|---------|
|
|
98
|
+
| 安装 pandas | 30 秒 | 2 秒 |
|
|
99
|
+
| 创建环境 | 5 秒 | 0.5 秒 |
|
|
100
|
+
|
|
101
|
+
---
|
|
102
|
+
|
|
103
|
+
## 🐘 数据库工具 - pgcli
|
|
104
|
+
|
|
105
|
+
**干啥用**:连接 PostgreSQL 数据库,带自动补全
|
|
106
|
+
|
|
107
|
+
**使用**:
|
|
108
|
+
```bash
|
|
109
|
+
pgcli -h localhost -u postgres -d mydb
|
|
110
|
+
# 或
|
|
111
|
+
pgcli postgres://user:pass@host/db
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
**特点**:
|
|
115
|
+
- 自动补全表名、列名
|
|
116
|
+
- 语法高亮
|
|
117
|
+
- 历史命令搜索
|
|
118
|
+
|
|
119
|
+
---
|
|
120
|
+
|
|
121
|
+
## 👀 更好看的命令 - bat & eza
|
|
122
|
+
|
|
123
|
+
**bat** - 替代 cat:
|
|
124
|
+
```bash
|
|
125
|
+
bat README.md # 带语法高亮看文件
|
|
126
|
+
bat -A file.txt # 显示隐藏字符
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
**eza** - 替代 ls:
|
|
130
|
+
```bash
|
|
131
|
+
ls # 已经是 eza 的别名
|
|
132
|
+
ll # 详细列表 + 图标
|
|
133
|
+
lt # 树形目录
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
---
|
|
137
|
+
|
|
138
|
+
## 🔍 模糊搜索 - fzf
|
|
139
|
+
|
|
140
|
+
**干啥用**:快速搜索文件、命令历史
|
|
141
|
+
|
|
142
|
+
**使用**:
|
|
143
|
+
```bash
|
|
144
|
+
Ctrl+R # 搜索历史命令
|
|
145
|
+
Ctrl+T # 搜索文件
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
---
|
|
149
|
+
|
|
150
|
+
## 🌳 Git 图形化 - lazygit
|
|
151
|
+
|
|
152
|
+
**干啥用**:在终端用图形界面操作 Git
|
|
153
|
+
|
|
154
|
+
**启动**:
|
|
155
|
+
```bash
|
|
156
|
+
lg # 快捷别名
|
|
157
|
+
lazygit # 完整命令
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
**常用操作**:
|
|
161
|
+
| 按键 | 作用 |
|
|
162
|
+
|------|------|
|
|
163
|
+
| `space` | 暂存/取消暂存文件 |
|
|
164
|
+
| `c` | 提交 |
|
|
165
|
+
| `p` | 推送 |
|
|
166
|
+
| `P` | 拉取 |
|
|
167
|
+
| `b` | 查看分支 |
|
|
168
|
+
| `q` | 退出 |
|
|
169
|
+
|
|
170
|
+
---
|
|
171
|
+
|
|
172
|
+
## 🎨 快捷别名总结
|
|
173
|
+
|
|
174
|
+
```bash
|
|
175
|
+
# 你现在可以用的快捷命令
|
|
176
|
+
ls → eza(带图标的文件列表)
|
|
177
|
+
ll → 详细列表
|
|
178
|
+
lt → 树形目录
|
|
179
|
+
cat → bat(带高亮的查看)
|
|
180
|
+
lg → lazygit(Git 图形界面)
|
|
181
|
+
zj → zellij(终端分屏)
|
|
182
|
+
gs → git status
|
|
183
|
+
ga → git add
|
|
184
|
+
gc → git commit
|
|
185
|
+
gp → git push
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
---
|
|
189
|
+
|
|
190
|
+
*最后更新:2026-01-14*
|
package/PROJECT_STRUCTURE.md
CHANGED
|
@@ -49,6 +49,14 @@ sumulige-claude/
|
|
|
49
49
|
│ ├── README.md # Claude 项目说明
|
|
50
50
|
│ └── settings.local.json # 本地配置
|
|
51
51
|
│
|
|
52
|
+
├── lib/ # ⭐ 核心库模块(v1.0.6+ 重构)
|
|
53
|
+
│ ├── commands.js # 命令实现(~700 行)
|
|
54
|
+
│ ├── config.js # 配置管理(~70 行)
|
|
55
|
+
│ └── utils.js # 公共工具函数(~60 行)
|
|
56
|
+
│
|
|
57
|
+
├── config/ # ⭐ 默认配置(v1.0.6+ 新增)
|
|
58
|
+
│ └── defaults.json # 默认配置文件
|
|
59
|
+
│
|
|
52
60
|
├── development/ # 开发任务管理
|
|
53
61
|
│ └── todos/ # TODO 任务系统(GTD 风格)
|
|
54
62
|
│ ├── active/ # 🚧 进行中任务
|
|
@@ -105,12 +113,13 @@ sumulige-claude/
|
|
|
105
113
|
│ ├── project-paradigm.md # 项目开发范式
|
|
106
114
|
│ └── thinkinglens-silent.md # ThinkingLens 静默指令
|
|
107
115
|
│
|
|
108
|
-
├── cli.js # ⭐ CLI
|
|
116
|
+
├── cli.js # ⭐ CLI 入口(~120 行,数据驱动)
|
|
109
117
|
├── package.json # npm 包配置
|
|
110
118
|
├── package-lock.json # 依赖锁定
|
|
111
119
|
├── AGENTS.md # Agent 配置说明
|
|
112
120
|
├── README.md # 项目文档(858 行)
|
|
113
121
|
├── PROJECT_STRUCTURE.md # 本文件
|
|
122
|
+
├── Q&A.md # 常见问题
|
|
114
123
|
└── .gitignore # Git 忽略规则
|
|
115
124
|
```
|
|
116
125
|
|