跳到正文
Skillpedia
API 与服务器(后端)48k · #3810

architecture-patterns

它能做什么

这个工具可以帮助规划计算机系统(后端)的结构,让系统更易于维护、测试和扩展。它会讲解 Clean Architecture(整洁架构)和 Domain-Driven Design(领域驱动设计)等方法。

适用场景

  • ✓当你从零开始创建一个新系统时。
  • ✓当你需要整理一个庞大而混乱的系统时。
  • ✓当你需要为团队制定代码编写规则时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/architecture-patterns/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/architecture-patterns/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我该如何使用 Clean Architecture 来搭建一个新的电商应用结构?”

每周 5 个新技能,1 分钟读完。

工作原理

这个工具会分析问题,推荐合适的组织方法,并定义系统各部分之间如何通信,以及它们应当遵循哪些规则。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

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.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
常见问题

什么是“架构模式”?

它们就像菜谱或蓝图,能帮助人们以有条理、高效的方式构建软件系统。

为什么良好的架构很重要?

良好的架构让系统更容易理解、修改和修复,并便于将来扩展(提升承载能力)。

什么时候不应该使用这个工具?

如果你只需要做一些小改动,或者重点只在应用的视觉部分(前端),不涉及核心结构的修改,就不需要使用它。

详情

作者的原始描述

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

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#3810
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能