backend-microservice-development

Standardize Kotlin/Java backend microservices with a four-layer package structure.

2.5k|521|Updated May 29, 2019
One-click install
npx skills add https://github.com/TencentBlueKing/bk-ci --skill backend-microservice-development
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: backend-microservice-development
Source: https://github.com/TencentBlueKing/bk-ci/tree/main/ai/skills/backend-microservice-development
Command: npx skills add https://github.com/TencentBlueKing/bk-ci --skill backend-microservice-development

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

这一技能规范为后端开发团队提供一致的微服务开发标准,降低重复性决策成本,提升代码可维护性和部署可靠性。

Core Features & Use Cases

  • 四层架构执行指南:api-{service}、biz-{service}、boot-{service}、model-{service} 的分层目录结构。
  • 依赖注入和配置管理的最佳实践,确保服务模块间解耦和可测试性。
  • Spring Boot 最佳实践集成,包括启动、配置、日志和健康检查等。
  • Use Case 示例:新微服务开发时,遵循模板快速搭建骨架并实现核心服务逻辑。

Quick Start

Follow the backend-microservice-development guidelines to scaffold a new service by creating api-{service}, biz-{service}, boot-{service}, and model-{service} packages, then implement components adhering to the specified DI and configuration patterns.

Frequently Asked Questions about backend-microservice-development

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure a Spring Boot microservice using a four-layer architecture?

A Spring Boot microservice four-layer architecture structures code into api-{service}, biz-{service}, boot-{service}, and model-{service} packages. This separation enforces modular boundaries, ensuring service decoupling and consistent coding conventions across projects.

What is the best way to manage dependency injection and configuration in Java microservices?

Dependency injection and configuration management in Java microservices are best handled by applying standardized Spring Boot patterns. This approach ensures service modules remain decoupled, highly testable, and maintainable while accelerating reliable service delivery.

Can I use this microservice development standard for Kotlin projects within bk-ci?

Yes, this microservice development standard applies to Kotlin and Java-based services within the internal bk-ci architecture. It provides specific guidelines for API, Biz, Boot, and Model layers to accelerate reliable delivery.

How to scaffold a new backend microservice following standardized package structures?

To scaffold a new backend microservice, create api-{service}, biz-{service}, boot-{service}, and model-{service} packages. Implement components within these layers by adhering to specified dependency injection and configuration management patterns.

Does this standard include Spring Boot best practices for logging and health checks?

Yes, this standard integrates Spring Boot best practices including configurations for application startup, logging, and health checks. These practices ensure robust microservice deployment and operational reliability within the bk-ci environment.

Related Skills