Agent 生成器
- 作者仓库星标 330
- 许可证 MIT
- 作者仓库 claude-skill-registry
Mob Programming Co-author Manager
Workflow
1. Solo Mode
If arguments indicate solo work (e.g., "solo", "just me"): run git solo, report primary author, exit.
2. Load Co-authors
Use git mob -p to find coauthors file, read with Read tool, parse JSON for available co-authors and initials.
3. Match Names to Initials
Match each name: exact initials → name substring (case-insensitive) → email prefix. If ambiguous, ask user to clarify.
4. Handle Unknown Names
If no match:
- Infer email from existing patterns (domain, naming convention)
- Generate initials from name (avoid collisions)
- Prompt for confirmation (show initials, name, inferred email)
- Run
git add-coauthor <initials> "<name>" <email>
5. Set Mob
Run git mob <initials...> with resolved initials.
6. Report
Show primary author and all co-authors with names.
Example
/mob alice dana
→ alice → aw (Alice Wong)
→ dana not found → infer dana@acme.com → add as dw
→ git mob aw dw
Edge Cases
Handle: missing coauthors file (create it), empty args (show status), ambiguous matches (prompt), mixed known/unknown (resolve known first).
- 流狐分类
- 数据
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 94 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @majiayu000 · MIT
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 即装即用
- 是否需要外部 API Key
- 未发现要求
- 检测到的系统要求
- 未声明
- 底层运行要求
- 未声明
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- 检测到的网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
作者没有在当前 SKILL.md 中定义固定输出样例。 Workflow
If arguments indicate solo work (e.g., "solo", "just me"): run git solo, report primary author, exit.
Use git mob -p to find coauthors file, read with Read tool, parse JSON for available co-authors and initials.
Match each name: exact initials → name substring (case-insensitive) → email prefix. If ambiguous, ask user to clarify.
If no match: Infer email from existing patterns (domain, naming convention) Generate initials from name (avoid collisions)
Run git mob <initials...> with resolved initials.
# Mob Programming Co-author Manager
## Workflow
### 1. Solo Mode
If arguments indicate solo work (e.g., "solo", "just me"): run `git solo`, report primary author, exit.
### 2. Load Co-authors
Use `git mob -p` to find coauthors file, read with Read tool, parse JSON for available co-authors and initials.
### 3. Match Names to Initials
Match each name: exact initials → name substring (case-insensitive) → email prefix. If ambiguous, ask user to clarify.
### 4. Handle Unknown Names
If no match:
1. Infer email from existing patterns (domain, naming convention)
2. Generate initials from name (avoid collisions)
3. Prompt for confirmation (show initials, name, inferred email)
4. Run `git add-coauthor <initials> "<name>" <email>`
### 5. Set Mob
Run `git mob <initials...>` with resolved initials.
### 6. Report
Show primary author and all co-authors with names.
## Example
```
/mob alice dana
→ alice → aw (Alice Wong)
→ dana not found → infer dana@acme.com → add as dw
→ git mob aw dw
```
## Edge Cases
Handle: missing coauthors file (create it), empty args (show status), ambiguous matches (prompt), mixed known/unknown (resolve known first). 作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> Workflow → 1. Solo Mode → 2. Load Co-authors → 3. Match Names to Initials → 4. Handle Unknown Names → 5. Set Mob
要点 -> 原文未标出关键词
文件/命令 -> git solo · git mob -p · git add-coauthor <initials> "<name>" <email> · git mob <initials...>
内容 SHA-256 -> 2c481a77c6f8
方法与流程
适用与边界
原文中的明确线索
git solo、git mob -p、git add-coauthor <initials> "<name>" <email>、git mob <initials...>