Github Repository Management logo

Github Repository Management

OrganizationPopular
TencentBlueKing
github-repository-management

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

Overview

PublisherTencentBlueKing
Repositorybk-ci
Skill namegithub-repository-management
Stars
2.5K
Forks
524
Bundled files
1
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by TencentBlueKing on GitHub. Read the source before you install it.

Installation

Install the Github Repository Management AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/TencentBlueKing/bk-ci.git /tmp/bk-ci
mkdir -p .claude/skills
cp -r /tmp/bk-ci/ai/skills/github-repository-management .claude/skills/github-repository-management
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Github Repository Management in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Github Repository Management on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Github Repository Management is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Github Repository Management AI skill do?

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

Why use Github Repository Management on TypingMind?

Because you install it once and use it with any model. Github Repository Management is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Github Repository Management in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/TencentBlueKing/bk-ci/tree/master/ai/skills/github-repository-management. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Github Repository Management?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Github Repository Management?

As many as you like. As long as a model supports skills, you can use Github Repository Management with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Github Repository Management AI skill free?

It is published on GitHub by TencentBlueKing. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇