UT

utility-components

Provides documentation for common utility components to encourage reusing existing implementations over custom builds.

Install

mkdir -p .claude/skills/utility-components && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/3331" && unzip -o skill.zip -d .claude/skills/utility-components && rm skill.zip

Installs to .claude/skills/utility-components

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 中的具体工具组件时使用,例如 JWT、安全认证、表达式解析、线程池循环工具和责任链实现。当用户要直接复用这些组件而不是设计框架级实践时优先使用。
81 charsno explicit “when” trigger
Beginner

Key capabilities

  • Provide guidance for JWT or authentication tools
  • Direct to documentation for expression parsing
  • Guide on using thread pools and loop utilities
  • Explain how to implement or reuse chain of responsibility components
  • Help identify existing components for reuse

How it works

The skill directs users to specific reference documentation for utility components based on their query, focusing on how to use concrete tools.

Inputs & outputs

You give it
User query about specific utility components or patterns
You get back
Reference documentation paths for JWT, expression parsing, thread pools, or chain of responsibility

When to use utility-components

  • Implementing JWT authentication
  • Parsing custom expressions
  • Managing thread pool cycles
  • Implementing chain of responsibility patterns

About this skill

工具组件

适用场景

  • 使用 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

When not to use it

  • Framework-level cross-cutting practices like AOP, distributed locks, monitoring, or auditing
  • Inter-service communication, event-driven architectures, or multi-environment configurations
  • Business module-specific data structures or processes

Limitations

  • Does not address framework-level cross-cutting practices
  • Does not address microservice infrastructure issues
  • Does not address business module-specific data structures or processes

How it compares

This skill provides direct links to component-specific usage guides, contrasting with general framework design or architectural pattern discussions.

Compared to similar skills

utility-components side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
utility-components (this skill)13moNo flagsBeginner
supabase-developer957moReviewIntermediate
supabase-mcp-integration138moReviewAdvanced
better-auth-best-practices186moNo flagsIntermediate

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

Search skills

Search the agent skills registry