/contribbot:pre-submitfrom contribbot
Checks PR readiness before merging: reviews PR description, CI status, review comments, security alerts, and Todo associations. Outputs a readiness report.
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 工具对 PR 做合并前全面检查。
{platform, instance, path},
并明确 PR 编号;工具显式传完整对象。当前 PR 检查仅支持 GitHub.com。调用 pr_summary,参数:repo、pr_number。
确认 PR 描述清晰、变更范围合理。
调用 pr_review_comments,参数:repo、pr_number。
逐条检查:
pr_review_reply(repo、pr_number、comment_id、body)调用 actions_status,参数:repo、pr_number。
工具会先解析该 PR 的 head SHA,再只查询该 SHA 对应的 workflow runs 和 check runs。 确认目标 PR 自己的 checks 全部通过;不得用仓库最近一次成功运行代替 PR 检查结果。
调用 security_overview,参数:repo。
确认无 critical/high 级别未处理告警。
调用 todo_list,参数:repo。
查找该 PR 对应的 Todo;已关联则不重复更新。不根据 PR 状态更改 Todo 主状态。
尚未关联且用户意图明确时,只调用 todo_update(repo、item、pr={pr_number})。
若 pr_create 远端成功但本地关联失败,按原请求恢复,不用此更新代替在途日志处置。
## Pre-Submit Report — {repo} PR #{pr}
| 检查项 | 状态 | 详情 |
|--------|------|------|
| PR 描述 | pass/warn | {备注} |
| Review 评论 | pass/warn/fail | {N 条未回复} |
| CI 状态 | pass/fail | {check 名称和状态} |
| 安全告警 | pass/warn | {N 条告警} |
| Todo 关联 | pass/skip | {todo ref} |
### 合并就绪度: Ready / Not Ready
{如 Not Ready,列出阻塞项}
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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