Skip to content
CI/CD
Skill

/utility-components

使用 BK-CI 中的具体工具组件时使用,例如 JWT、安全认证、表达式解析、线程池循环工具和责任链实现。当用户要直接复用这些组件而不是设计框架级实践时优先使用。

From plugin
bk-ci
2.5k43 skills

Claude Code

$ npx -y skills add tencentblueking/bk-ci --skill utility-components --agent claude-code

SKILL.md

utility-components.SKILL.md
name: utility-components
description: 使用 BK-CI 中的具体工具组件时使用,例如 JWT、安全认证、表达式解析、线程池循环工具和责任链实现。当用户要直接复用这些组件而不是设计框架级实践时优先使用。

工具组件

适用场景

  • 使用 JWT 或认证相关工具
  • 解析变量表达式、条件表达式或自定义函数
  • 使用线程池、批量处理、循环重试类工具
  • 实现或复用责任链模式组件

不适用场景

  • 只是框架级横切实践,例如 AOP、分布式锁、监控、审计
  • 只是服务间通信、事件驱动或多环境配置
  • 只是某个业务模块自己的数据结构或流程

快速指导

1. 这个 skill 关注的是“具体工具怎么用”,不是“框架实践怎么落地”。 2. 如果问题更像“有没有现成组件可以直接复用”,通常落在这里。 3. 先按主题进入对应参考文档:

  • JWT:`reference/1-jwt-security.md`
  • 表达式解析:`reference/2-expression-parser.md`
  • 线程池与循环工具:`reference/3-thread-pool-loop-util.md`
  • 责任链:`reference/4-chain-responsibility.md`

4. 如果你想解决的是横切架构问题,切到 `common-technical-practices`;如果你想解决的是微服务底座问题,切到 `microservice-infrastructure`。

高信号规则

  • 这里更偏“组件级复用”,不是“平台级框架方案”
  • 工具组件应该优先复用现有实现,而不是重复造轮子
  • 责任链在这里更偏具体组件和实现,而不是模式百科
  • 用组件前先确认它解决的是业务问题,还是只是让代码看起来更复杂

关键陷阱

  • 把组件问题和框架实践问题混在一起
  • 明明已有现成工具,却重新造一套
  • 只会调用工具类,不理解输入输出和边界条件
  • 把责任链、线程池、表达式解析滥用到不需要的地方

延伸阅读

  • JWT:`reference/1-jwt-security.md`
  • 表达式解析:`reference/2-expression-parser.md`
  • 线程池与循环工具:`reference/3-thread-pool-loop-util.md`
  • 责任链:`reference/4-chain-responsibility.md`
  • 如果你需要横切实践:再看 `common-technical-practices`
  • 如果你需要微服务底座:再看 `microservice-infrastructure`
@tencentblueking
Ships withbk-ci

蓝鲸持续集成平台(蓝盾)

Stars on GitHub

Momentum

stars in total
2.5k
Star history of tencentblueking/bk-ci on GitHub, a chart by star-history.com

Other skills on bk-ci.

00-bkci-global-architecture

00-bkci-global-archite…

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

agent-module-architecture

agent-module-architect…

处理 BK-CI Agent 构建机侧能力时使用,例如守护进程、心跳、Ask 轮询、任务拉起、升级更新和与 Dispatch/Worker 的协作。当用户要改构建机宿主侧行为而不是 Worker 执行细节时优先使用。

api-interface-design

api-interface-design

设计 BK-CI API 契约时使用,例如 Resource 路径设计、HTTP 方法选择、请求响应对象、错误码和版本策略。当用户要定义接口而不是实现业务逻辑时优先使用。

artifactory-module-architecture

artifactory-module-arc…

处理 BK-CI 制品上传下载、制品元数据、BkRepo 或磁盘后端存储、文件任务和清理链路时使用。当用户提到构建产物、制品归档、下载令牌、报告文件、BkRepo 集成或制品清理时优先使用。

auth-module-architecture

auth-module-architectu…

处理 BK-CI Auth 模块时使用,例如 RBAC 权限校验、用户组与资源管理、IAM 集成、授权迁移和 OAuth2 认证。当用户要改权限平台实现而不是单次权限模型变更时优先使用。

backend-microservice-development

backend-microservice-d…

编写 BK-CI 后端微服务代码时使用,例如新增 Resource、组织 API/Service/DAO 分层、依赖注入、服务归属判断和 Spring Boot 开发约定。当用户要做 Kotlin/Java 后端开发时优先使用。

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw4d395k
@steipete@steipeteInstall Skill
1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw4d395k
@openclaw@openclawInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills1d328k
@mattpocock@mattpocockInstall Skill
brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill

Questions about utility-components.

Which coding agents can use utility-components?
utility-components installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.