Repository module architecture

From TencentBlueKing/bk-ci · View interactive version

Repository module architecture is an AI agent skill from the GitHub repository TencentBlueKing/bk-ci. 处理 BK-CI 代码库接入、代码库授权、Webhook、SCM 集成、PAC 开关与仓库类型差异时使用。当用户提到 Git/SVN/GitHub/TGit、Webhook、仓库认证、PAC 代码库或提交记录时优先使用。

How to use this skill

Skill file

Repository 模块架构

适用场景

不适用场景

快速指导

  1. 先判断问题属于哪条主线:
  1. Repository 模块的核心不是“执行 Git 操作”,而是“管理仓库资源、认证方式、Webhook 和平台接入语义”。
  2. 只要改仓库类型、认证逻辑或 PAC 开关,就要同时看仓库明细表、认证方式和 Webhook 行为。
  3. PAC 问题如果已经进入 YAML 解析或模板展开层,接下来切到 yaml-pipeline-transfer。

高信号规则

关键陷阱

延伸阅读

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.