技能 编程开发 后端架构模式设计

后端架构模式设计

v20260406
architecture-patterns
本技能旨在掌握主流的后端架构模式,包括整洁架构、六边形架构和领域驱动设计(DDD)。它指导用户如何从零开始设计、重构或规划可扩展的系统,帮助建立清晰的模块边界和依赖规则,确保系统具有高可维护性和可测试性,适用于大型应用治理和微服务拆分。
获取技能
272 次下载
概览

Architecture Patterns

Master proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design to build maintainable, testable, and scalable systems.

Use this skill when

  • Designing new backend systems from scratch
  • Refactoring monolithic applications for better maintainability
  • Establishing architecture standards for your team
  • Migrating from tightly coupled to loosely coupled architectures
  • Implementing domain-driven design principles
  • Creating testable and mockable codebases
  • Planning microservices decomposition

Do not use this skill when

  • You only need small, localized refactors
  • The system is primarily frontend with no backend architecture changes
  • You need implementation details without architectural design

Instructions

  1. Clarify domain boundaries, constraints, and scalability targets.
  2. Select an architecture pattern that fits the domain complexity.
  3. Define module boundaries, interfaces, and dependency rules.
  4. Provide migration steps and validation checks.
  5. For workflows that must survive failures (payments, order fulfillment, multi-step processes), use durable execution at the infrastructure layer — frameworks like DBOS persist workflow state, providing crash recovery without adding architectural complexity.

Refer to resources/implementation-playbook.md for detailed patterns, checklists, and templates.

Related Skills

Works well with: event-sourcing-architect, saga-orchestration, workflow-automation, dbos-*

Resources

  • resources/implementation-playbook.md for detailed patterns, checklists, and templates.
信息
Category 编程开发
Name architecture-patterns
版本 v20260406
大小 5.45KB
更新时间 2026-04-17
语言