00-bkci-global-archite…
用于跨模块开发、排查链路归属、判断某个需求应该落在哪个 BK-CI 模块,或需要快速理解流水线全链路协作时使用。单模块修改时优先读取对应模块 skill,而不是停留在这里。
处理 BK-CI AI 编码任务分流时使用,例如判断日常任务是否需要 OpenSpec、多 Agent、影响面清单或验证清单。
Claude Code
$ npx -y skills add tencentblueking/bk-ci --skill lightweight-ai-workflow --agent claude-code
Codex
$ npx skills add tencentblueking/bk-ci --skill lightweight-ai-workflow -a codex -y
Cursor
$ npx skills add tencentblueking/bk-ci --skill lightweight-ai-workflow -a cursor -y
Gemini CLI
$ npx skills add tencentblueking/bk-ci --skill lightweight-ai-workflow -a gemini-cli -y
GitHub Copilot
$ npx skills add tencentblueking/bk-ci --skill lightweight-ai-workflow -a github-copilot -y
OpenCode
$ npx skills add tencentblueking/bk-ci --skill lightweight-ai-workflow -a opencode -y
Windsurf
$ npx skills add tencentblueking/bk-ci --skill lightweight-ai-workflow -a windsurf -y
name: lightweight-ai-workflow description: 处理 BK-CI AI 编码任务分流时使用,例如判断日常任务是否需要 OpenSpec、多 Agent、影响面清单或验证清单。
1. 先按 `skill-context-first` 识别主模块,默认只读 `1` 个模块主 skill。 2. 单模块、低风险、边界明确的任务,可按复杂度选择直接实现,或先进入 Plan Mode 梳理方案;不要 直接升级 OpenSpec 或多 Agent。 3. 多模块、影响不明或容易漏联动点的任务,先完成 impact checklist,再决定是否实现。 4. 命中 OpenSpec 触发条件时,先补文档,再改代码。 5. 需求大、范围模糊、跨端或连续返工时,才升级多 Agent。 6. 实现完成后,输出 verification checklist,说明已验证项、未验证项和剩余风险。
先进入 Plan Mode 梳理范围、影响面和方案。
涉及权限、兼容性、迁移、灰度、回滚;或验收口径不清。
连续两轮仍无法收敛;或用户明确要求多 Agent 协作。
用于跨模块开发、排查链路归属、判断某个需求应该落在哪个 BK-CI 模块,或需要快速理解流水线全链路协作时使用。单模块修改时优先读取对应模块 skill,而不是停留在这里。
处理 BK-CI Agent 构建机侧能力时使用,例如守护进程、心跳、Ask 轮询、任务拉起、升级更新和与 Dispatch/Worker 的协作。当用户要改构建机宿主侧行为而不是 Worker 执行细节时优先使用。
设计 BK-CI API 契约时使用,例如 Resource 路径设计、HTTP 方法选择、请求响应对象、错误码和版本策略。当用户要定义接口而不是实现业务逻辑时优先使用。
处理 BK-CI 制品上传下载、制品元数据、BkRepo 或磁盘后端存储、文件任务和清理链路时使用。当用户提到构建产物、制品归档、下载令牌、报告文件、BkRepo 集成或制品清理时优先使用。
处理 BK-CI Auth 模块时使用,例如 RBAC 权限校验、用户组与资源管理、IAM 集成、授权迁移和 OAuth2 认证。当用户要改权限平台实现而不是单次权限模型变更时优先使用。
编写 BK-CI 后端微服务代码时使用,例如新增 Resource、组织 API/Service/DAO 分层、依赖注入、服务归属判断和 Spring Boot 开发约定。当用户要做 Kotlin/Java 后端开发时优先使用。
Ask which skill or flow fits your situation. A router over the skills in this repo.
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…