Springboot backend conventions

From TencentBlueKing/bk-ci · View interactive version

Springboot backend conventions is an AI agent skill from the GitHub repository TencentBlueKing/bk-ci. 编写 BK-CI Spring Boot 后端代码时使用,例如配置管理、Bean 装配、事务与数据访问、异常处理、监控和框架层最佳实践。当用户要处理 Spring Boot 框架用法而不是服务归属或语言风格时优先使用。

How to use this skill

Skill file

Spring Boot 后端规范

适用场景

不适用场景

快速指导

  1. 这个 skill 关注的是 BK-CI 后端里的 Spring Boot 框架实践,不替代微服务分层、API 设计或 Kotlin 语言规范。
  2. Spring Boot 相关问题建议分三块看:
  1. 优先使用构造器注入、类型安全配置和明确的生命周期边界。
  2. 能由框架和基础设施托底的约束,不要在业务代码里重复手工实现。
  3. 如果问题已经转向服务归属,联动看 backend-microservice-development;如果转向微服务底座能力,联动看 microservice-infrastructure。

高信号规则

关键陷阱

延伸阅读

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.