repository-module-architecture

Installation
SKILL.md

Repository 代码库管理模块架构指南

模块定位: Repository 是 BK-CI 的代码库管理模块,负责对接各种代码托管平台(Git、SVN、GitHub、GitLab、TGit、P4),管理代码库的认证、授权、Webhook 等功能。

一、模块整体结构

1.1 子模块划分

src/backend/ci/core/repository/
├── api-repository/          # API 接口定义层
│   └── src/main/kotlin/com/tencent/devops/repository/
│       ├── api/                 # REST API 接口(30+ 文件)
│       │   ├── github/          # GitHub 专用接口
│       │   └── scm/             # SCM 通用接口
│       ├── constant/            # 常量和消息码
│       ├── pojo/                # 数据对象(40+ 文件)
│       ├── sdk/                 # SDK 定义
│       └── utils/               # 工具类
Related skills

More from tencentblueking/bk-ci

Installs
42
GitHub Stars
2.5K
First Seen
Jan 23, 2026