Skip to content
CI/CD
Skill

/github-repository-management

通过 GitHub MCP 管理仓库协作时使用,例如检索仓库、提 Issue、起草或创建 PR、查看评论、回复评审和做合并前检查。当用户要操作 GitHub 仓库协作流程而不是修改本地代码实现时优先使用。

From plugin
bk-ci
2.5k43 skills

Claude Code

$ npx -y skills add tencentblueking/bk-ci --skill github-repository-management --agent claude-code

SKILL.md

github-repository-management.SKILL.md
name: github-repository-management
description: 通过 GitHub MCP 管理仓库协作时使用,例如检索仓库、提 Issue、起草或创建 PR、查看评论、回复评审和做合并前检查。当用户要操作 GitHub 仓库协作流程而不是修改本地代码实现时优先使用。

GitHub 仓库协作管理

适用场景

  • 基于 GitHub MCP 查询 `TencentBlueKing/bk-ci` 或其他仓库信息
  • 创建、更新或补充 Issue
  • 基于当前本地改动起草或创建 PR
  • 查看 PR 评论、review、check runs,并回复评审意见
  • 做合并前检查,确认是否满足合并条件

不适用场景

  • 只修改本地代码实现,不涉及 GitHub 协作动作
  • 只讨论 commit message、提交边界或本地 Git 历史整理
  • 需要深入做正确性审查,此时应切到代码 review 流程
  • 未经用户确认直接执行有副作用的 GitHub 写操作

快速指导

1. 这个 skill 关注的是“本地仓库上下文 + GitHub MCP 协作动作”的闭环,不是 GitHub 功能总览。 2. 在 BK-CI 仓库里,默认仓库上下文是 `TencentBlueKing/bk-ci`,默认基线分支通常是 `master`;若用户另有指定,以用户指定为准。 3. 代码事实优先来自当前本地仓库;Issue、PR、评论、check runs 等协作事实优先通过 GitHub MCP 获取。 4. 所有写操作都遵循“先读后写”:

  • 先确认 `owner/repo`
  • 先搜索重复 Issue / 现有 PR / 相关评论
  • 先向用户展示拟提交内容
  • 获得确认后再真正创建或更新

5. PR 主链路要同时补齐本地信息:分支名、目标分支、变更摘要、验证结果、关联 Issue。 6. 不确定是否能直接合并时,优先创建 draft PR,而不是假设已可合并。 7. 具体工具选择、模板和流程细节放在 `reference/workflows.md`。

高信号规则

  • GitHub MCP 负责远端协作状态,本地仓库负责代码与测试事实,二者不要混用
  • 创建 Issue 前必须先查重;创建 PR 前必须先看本地 diff、目标分支和现有 PR 状态
  • Issue 评论与 PR review comment 是两类动作,回复时不要选错工具
  • 合并前至少确认 review 状态、check runs、冲突风险和用户授权
  • 标签、assignee、milestone、issue type 只有在仓库中已知可用时才填写,不要臆造

关键陷阱

  • 只看本地代码就直接提 Issue / PR,导致远端上下文缺失
  • 把普通 PR 评论当成代码 review comment,或反过来
  • 没有向用户展示最终标题和正文就直接执行写操作
  • 在 CI 未确认、评审未收敛时默认执行合并

延伸阅读

  • 核心工作流与模板:`reference/workflows.md`
  • 如需整理提交表达:看 `git-commit-specification`
  • 如需做 PR 正确性审查:走 GitHub PR review 流程,而不是把审查细则塞进本 skill
Read more
@tencentblueking
Ships withbk-ci

蓝鲸持续集成平台(蓝盾)

Stars on GitHub

Momentum

stars in total
2.5k
Star history of tencentblueking/bk-ci on GitHub, a chart by star-history.com

Other skills on bk-ci.

00-bkci-global-architecture

00-bkci-global-archite…

用于跨模块开发、排查链路归属、判断某个需求应该落在哪个 BK-CI 模块,或需要快速理解流水线全链路协作时使用。单模块修改时优先读取对应模块 skill,而不是停留在这里。

agent-module-architecture

agent-module-architect…

处理 BK-CI Agent 构建机侧能力时使用,例如守护进程、心跳、Ask 轮询、任务拉起、升级更新和与 Dispatch/Worker 的协作。当用户要改构建机宿主侧行为而不是 Worker 执行细节时优先使用。

api-interface-design

api-interface-design

设计 BK-CI API 契约时使用,例如 Resource 路径设计、HTTP 方法选择、请求响应对象、错误码和版本策略。当用户要定义接口而不是实现业务逻辑时优先使用。

artifactory-module-architecture

artifactory-module-arc…

处理 BK-CI 制品上传下载、制品元数据、BkRepo 或磁盘后端存储、文件任务和清理链路时使用。当用户提到构建产物、制品归档、下载令牌、报告文件、BkRepo 集成或制品清理时优先使用。

auth-module-architecture

auth-module-architectu…

处理 BK-CI Auth 模块时使用,例如 RBAC 权限校验、用户组与资源管理、IAM 集成、授权迁移和 OAuth2 认证。当用户要改权限平台实现而不是单次权限模型变更时优先使用。

backend-microservice-development

backend-microservice-d…

编写 BK-CI 后端微服务代码时使用,例如新增 Resource、组织 API/Service/DAO 分层、依赖注入、服务归属判断和 Spring Boot 开发约定。当用户要做 Kotlin/Java 后端开发时优先使用。

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw1d395k
@openclaw@openclawInstall Skill
1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw1d395k
@steipete@steipeteInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills5d328k
@mattpocock@mattpocockInstall Skill
brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill

Questions about github-repository-management.

Which coding agents can use github-repository-management?
github-repository-management installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.