/contribbot:project-onboardfrom contribbot
Onboards a new project into the contribbot tracking system via MCP tools: verifies repository identity, initializes config, confirms tracking sources, and optionally performs first sync/triage.
Ships in contribbot. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
通过 MCP 工具将新项目接入 contribbot 追踪体系。
{platform, instance, path}。
已确认会话项目可以沿用;无法确认平台、实例或路径时再问用户。repository 是管理主体;parent 仅是直接 fork 来源事实,不能把项目 Todo
和知识自动转存到 parent。tracking 是用户的关注选择,不因 parent 存在而自动配置。
调用 project_init,参数:repo(完整对象)。首次创建需只读核实主体身份。
GitLab 已实现单次身份 GET,凭据仅由可信启动环境按精确 HTTPS 实例绑定提供。
不要在 MCP 参数或对话中索取、传递 token,不自动读取 glab 登录态;
未绑定时匿名请求,匹配但缺 token 则请求前失败,不降级或自动重试。
失败时说明实际错误,不改用 GitHub。当前只验证假 token 和模拟响应,
真实部署未验证,接口见 docs/tools.md 的“GitLab 首次只读初始化”。
MCP 启动不要求 GitHub 登录,实际 GitHub 操作的认证方式不变。
首次创建最小配置为 lifecycle.active / parent.unknown / tracking.pending,
不自动探测并确认 parent、权限或组织角色。已存在项目只读取,不恢复归档项目。
用户明确要求核实直接 fork 来源时,另用主体完整身份调用 parent_refresh,
当前仅支持已初始化的 GitHub.com 项目,不作为接入的自动步骤。
结构化结果 refreshed 才表示本轮核实成功;unavailable 保留旧快照与旧时间,
不能当作新证据或无 parent。错误不覆盖配置,不自动重试。
该查询不授权代码同步,也不改 tracking、生命周期或 Todo。
查看返回的 tracking 状态:pending 才询问;configured 或 none 不重复询问。 不能从 fork parent 或名称猜测用户的持续追踪选择。
对 pending 询问用户:
是否需要持续追踪其他仓库的变更?(parent 也可选,但不会自动加入;可以提供名称或链接,我来核对)
repo_config({repo: 主体完整对象, tracking: [来源完整对象]})repo_config({repo: 主体完整对象, tracking: ""})parent 与 tracking.sources 可以包含同一仓库,但两者含义不同。
候选查证与确认:
repo_info,使用返回的规范身份、地址和简介。
其他平台若无可用身份查询,说明限制并保持 pending。gh search repos)辅助定位,再用 repo_info 核验。搜索不可用或查询失败时说明限制、询问更多线索,保留 pending,不伪造已核验结果。始终使用主体完整身份。归档项目不得自动恢复;确认 tracking 不授权巡检或公开写入。
仅在用户另行明确授权、项目未归档、具体源与目标已经核实且工具支持该平台时执行。 tracking.pending 不得默认为无追踪;不把初始化当作同步授权。
如果有已确认的 parent 且用户要求同步 fork:
调用 sync_fork(repo);未知关系时停止同步并说明需另行核实。
如果有已确认的 tracking source:
upstream_daily 的 upstream_repo 必须传已确认来源的完整
{platform, instance, path} 对象;repo 是管理主体的完整对象。
当前远端抓取只支持 GitHub.com,其他平台不得冒用。
工具会自动:
如果有 pending commits:
upstream_daily_skip_noise(repo、upstream_repo)— 跳噪音upstream_daily_actcontribbot:daily-sync 处理## Project Onboard 完成 — {repo}
**模式**: {mode}
### 配置
| 字段 | 值 | 备注 |
|------|-----|------|
| repository | {主体完整身份} | 本地项目归属 |
| parent | {status、来源或未知} | 直接 fork 事实 |
| tracking | {status、来源列表} | 用户的持续关注选择 |
### 追踪状态
| 追踪源 | 锚点 | Pending Commits | 备注 |
|--------|------|-----------------|------|
| {source} | {anchor_tag} | {n} | 只列已运行且有证据的结果 |
### 下一步
- 使用 `contribbot:daily-sync` 进行日常上游同步
- 使用 `contribbot:start-task` 开始处理任务
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub darkingtail/contribbot --plugin contribbot12 skills in this plugin
/consultcontribbot:consult请 Claude 或 Codex 对设计、调查或代码提出只读第二意见,并记录主助手综合和用户决定。触发词:顾问、咨询、第二意见、让 Claude 讨论、consult。不是 Agent Team、独立验收或 GitHub Discussion。/daily-synccontribbot:daily-sync每日维护与追踪工作流。按 parent 和 tracking 分流:none 走维护日常,已确认来源才追踪变更。触发词:'daily sync'、'每日同步'、'日常巡检'。/dashboardcontribbot:dashboard项目仪表盘、项目归档与恢复:查看单项目或跨项目概况。触发词:'dashboard'、'项目概况'、'全局视图'、'归档项目'、'恢复项目'。/fork-triagecontribbot:fork-triageFork 同源追踪决策:评估上游 commits 对二开分支的影响,决定 cherry-pick 策略。适用于场景 #3(fork+二开)和 #5(fork+二开+跨栈)。触发词:'fork triage'、'cherry-pick 评估'、'二开同步'、'上游影响评估'。/initcontribbot:init初始化当前 Git 仓库的 contribbot 上下文:核实完整仓库身份、读取项目配置并输出下一步。触发词:contribbot init、初始化 contribbot、进入项目上下文。/issuecontribbot:issueIssue 管理:浏览、查看详情、创建、关闭、评论。触发词:'issue'、'问题列表'、'创建 issue'、'关闭 issue'。Other plugins' skills for the same job