00

00-bkci-global-architecture

This skill documents the global architecture of BK-CI to help developers identify the correct modules for task assignment.

Install

mkdir -p .claude/skills/00-bkci-global-architecture && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/4183" && unzip -o skill.zip -d .claude/skills/00-bkci-global-architecture && rm skill.zip

Installs to .claude/skills/00-bkci-global-architecture

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

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

Key capabilities

  • Map cross-module feature requirements
  • Debug execution flow across system modules
  • Identify the correct module for new feature implementation
  • Navigate the pipeline execution lifecycle
  • Determine module boundaries for development

How it works

The skill provides a high-level navigation guide that maps the BK-CI system into five layers and defines the primary execution chain from trigger to worker.

Inputs & outputs

You give it
System architecture question or feature requirement
You get back
Module assignment or architectural guidance

When to use 00-bkci-global-architecture

  • Map cross-module feature requirements
  • Debug execution flow issues
  • Identify the correct module for a new feature
  • Understand the build pipeline architecture

About this skill

BK-CI 全局架构指南

适用场景

  • 需求横跨多个模块,暂时不清楚该从哪里下手
  • 需要理解流水线从触发到执行结束的主链路
  • 需要判断某段逻辑属于 ProcessDispatchAgentWorker 还是其他模块
  • 需要先选 skill,再深入具体实现

不适用场景

  • 已经明确只改单个模块内部逻辑
  • 只是前端页面、数据库脚本或某个工具函数的小改动
  • 已经知道目标模块,只需要其局部规范

快速指导

  1. 先用五层视图建立系统位置感:
    • 用户层:Web、OpenAPI、Webhook、第三方系统
    • 网关层:OpenResty,负责路由、认证、限流、服务发现
    • 微服务层:Project、Process、Auth、Repository、Store、Dispatch 等
    • 构建机层:Agent 负责进程与调度,Worker 负责任务执行
    • 资源层:MySQL、Redis、RabbitMQ、ES、文件存储
  2. 流水线主链路按这个顺序理解:触发 -> Process 编排 -> Dispatch 分配 -> Agent 领取 -> Worker 执行 -> 状态回传
  3. 先按模块边界选 skill,再深入实现:
    • 流水线模型、执行链路、状态机:process-module-architecture
    • 权限、RBAC、IAM:auth-module-architecture
    • 代码库、Webhook、PAC 接入:repository-module-architecture
    • 商店、模板、插件发布:store-module-architecture
    • 调度、构建资源、BuildLess:dispatch-module-architecture
    • 构建机 Agent:agent-module-architecture
    • Worker 执行器:worker-module-architecture
    • 后端 API 分层规范:backend-microservice-development
    • API 设计:api-interface-design
    • 数据库设计:database-design
  4. 快速判断问题归属:
    • “谁来编排和推进流水线状态” -> Process
    • “执行资源怎么分配、容器怎么起” -> Dispatch
    • “构建机怎么常驻、怎么领任务、怎么升级” -> Agent
    • “插件任务怎么执行、怎么回传日志和状态” -> Worker
    • “接口该怎么分层、命名和落目录” -> backend-microservice-development
    • “表怎么设计、脚本怎么管理、索引怎么建” -> database-design

高信号规则

  • 这个 skill 的职责是导航和归属判断,不是详细设计手册
  • 对单模块问题,越快切到对应 skill,整体上下文效率越高
  • 全局系统图和公共主链路以本 skill 为权威来源,不在各模块重复展开

关键陷阱

  • 不要把这个 skill 当成详细设计文档。它只负责导航和主链路判断。
  • 不要在每个模块 skill 中重复一遍全局系统图,公共全景以本 skill 为准。
  • 对单模块修改,尽快切到对应模块 skill,避免把上下文浪费在全局说明上。

延伸阅读

  • 单模块开发前,直接打开目标模块的 skill
  • 需要具体实现细节时,不再继续扩展本文件,而是把内容放回对应模块 skill 或 reference/

When not to use it

  • When modifying logic internal to a single module
  • For minor changes to frontend pages or database scripts

Limitations

  • Not a detailed design manual
  • Does not contain implementation-level code details

How it compares

It acts as a central architectural map to prevent developers from wasting time on global context when they should be focusing on specific module skills.

Compared to similar skills

00-bkci-global-architecture side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
00-bkci-global-architecture (this skill)13moNo flagsAdvanced
monorepo-architect34moNo flagsAdvanced
worker-module-architecture33moNo flagsAdvanced
turborepo612moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

More by TencentBlueKing

View all by TencentBlueKing

project-module-architecture

TencentBlueKing

Project 项目管理模块架构指南,涵盖项目 CRUD、成员管理、项目配置、标签管理、项目迁移。当用户开发项目管理功能、处理项目成员、配置项目属性或实现项目相关逻辑时使用。

612

artifactory-module-architecture

TencentBlueKing

Artifactory 制品库模块架构指南,涵盖制品上传下载、存储后端适配、制品元数据、清理策略、权限控制。当用户开发制品库功能、处理制品存储、配置清理策略或实现制品管理时使用。

419

microservice-infrastructure

TencentBlueKing

微服务基础设施指南,涵盖条件配置、事件驱动架构、服务间通信、国际化与日志等微服务架构的核心基础设施。当用户实现服务间调用、配置多环境、实现异步通信、处理国际化或规范日志输出时使用。

411

frontend-vue-development

TencentBlueKing

前端 Vue 开发规范,涵盖 Vue 2/3 组件开发、Vuex 状态管理、路由配置、组件通信、样式规范、国际化。当用户进行前端开发、编写 Vue 组件、处理状态管理或实现页面交互时使用。

38

unit-testing

TencentBlueKing

单元测试编写指南,涵盖 JUnit5/MockK 使用、测试命名规范、Mock 技巧、测试覆盖率要求、TDD 实践。当用户编写单元测试、Mock 依赖、提高测试覆盖率或进行测试驱动开发时使用。

319

worker-module-architecture

TencentBlueKing

Worker 构建执行器模块架构指南,涵盖插件执行引擎、任务分发、日志上报、制品上传、Worker 生命周期。当用户开发 Worker 功能、实现插件执行、处理任务分发或优化执行器性能时使用。

37

You might also like

monorepo-architect

sickn33

Expert in monorepo architecture, build systems, and dependency management at scale. Masters Nx, Turborepo, Bazel, and Lerna for efficient multi-project development. Use PROACTIVELY for monorepo setup,

328

worker-module-architecture

TencentBlueKing

Worker 构建执行器模块架构指南,涵盖插件执行引擎、任务分发、日志上报、制品上传、Worker 生命周期。当用户开发 Worker 功能、实现插件执行、处理任务分发或优化执行器性能时使用。

37

turborepo

vercel

Turborepo monorepo build system guidance. Triggers on: turbo.json, task pipelines, dependsOn, caching, remote cache, the "turbo" CLI, --filter, --affected, CI optimization, environment variables, internal packages, monorepo structure/best practices, and boundaries. Use when user: configures tasks/workflows/pipelines, creates packages, sets up monorepo, shares code between apps, runs changed/affected packages, debugs cache, or has apps/packages directories.

61191

bazel-build-optimization

wshobson

Optimize Bazel builds for large-scale monorepos. Use when configuring Bazel, implementing remote execution, or optimizing build performance for enterprise codebases.

14116

ml-pipeline-workflow

wshobson

Build end-to-end MLOps pipelines from data preparation through model training, validation, and production deployment. Use when creating ML pipelines, implementing MLOps practices, or automating model training and deployment workflows.

995

nx-workspace-patterns

wshobson

Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.

589

Search skills

Search the agent skills registry