跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

Architecture Patterns

技能 活跃
属于:Agents

Implement proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design. Use this skill when designing clean architecture for a new microservice, when refactoring a monolith to use bounded contexts, when implementing hexagonal or onion architecture patterns, or when debugging dependency cycles between application layers.

目的

Implement proven backend architecture patterns to build maintainable, testable, and scalable systems.

功能

  • Implement Clean Architecture layers and principles
  • Implement Hexagonal Architecture ports and adapters
  • Implement Domain-Driven Design strategic and tactical patterns
  • Provide directory structure examples
  • Illustrate core implementation with Python code snippets
  • Guide on testing with in-memory adapters
  • Troubleshoot common architectural issues

使用场景

  • Designing new backend services or microservices from scratch
  • Refactoring monolithic applications
  • Establishing bounded contexts before splitting a system
  • Debugging dependency cycles between application layers
  • Creating testable codebases independent of external services

非目标

  • Providing a full framework or library
  • Handling deployment or infrastructure setup
  • Covering frontend or mobile architecture patterns

工作流

  1. Understand core architectural concepts (Clean, Hexagonal, DDD)
  2. Review directory structure and implementation examples
  3. Apply patterns to new or existing projects
  4. Use provided troubleshooting guidance for common issues

实践

  • Clean Architecture
  • Hexagonal Architecture
  • Domain-Driven Design
  • Dependency Injection
  • Testability

Versioning

  • warning:Release ManagementThere is no explicit versioning information (like semver in frontmatter or GitHub releases) for this skill, and installation instructions in the README reference 'main', making version pinning difficult.

Execution

  • warning:Pinned dependenciesWhile the `plugins/backend-development/skills/architecture-patterns/SKILL.md` and related files do not explicitly list dependencies, the root `README.md` mentions a lockfile (`poetry.lock` or similar implied by `Pipfile.lock` for Python). However, specific interpreter versions or side-effect headers are not declared for bundled scripts.

安装

请先添加 Marketplace

/plugin marketplace add wshobson/agents
/plugin install backend-development@claude-code-workflows

质量评分

85 /100
1 day ago 分析

信任信号

最近提交3 days ago
星标35.3k
许可证MIT
状态
查看源代码

类似扩展

Clean Architecture

99

Structure software around the Dependency Rule: source code dependencies point inward from frameworks to use cases to entities. Use when the user mentions "architecture layers", "dependency rule", "ports and adapters", "hexagonal architecture", "use case boundary", "onion architecture", "screaming architecture", or "framework independence". Also trigger when decoupling business logic from databases or frameworks, defining module boundaries, or debating where to put business rules. Covers component principles, boundaries, and SOLID. For code quality, see clean-code. For domain modeling, see domain-driven-design.

技能
wondelai

Domain Driven Design

98

Model software around the business domain using bounded contexts, aggregates, and ubiquitous language. Use when the user mentions "domain modeling", "bounded context", "aggregate root", "ubiquitous language", "anti-corruption layer", "context mapping", "domain events", or "strategic design". Also trigger when splitting a monolith into services, defining microservice boundaries, or aligning code structure with business processes. Covers entities vs value objects, domain events, and context mapping strategies. For architecture layers, see clean-architecture. For complexity, see software-design-philosophy.

技能
wondelai

Event Store Design

90

Design and implement event stores for event-sourced systems. Use when building event sourcing infrastructure, choosing event store technologies, or implementing event persistence patterns.

技能
wshobson

V3 Ddd Architecture

100

Domain-Driven Design architecture for claude-flow v3. Implements modular, bounded context architecture with clean separation of concerns and microkernel pattern.

技能
ruvnet

API Design Patterns

100

Comprehensive API design patterns covering REST, GraphQL, gRPC, versioning, authentication, and modern API best practices

技能
bobmatnyc

Metal

100

Extract the conceptual essence of a repository as skills, agents, and teams — the project's roles, procedures, and coordination patterns expressed as agentskills.io-standard definitions. Reads an arbitrary codebase and produces generalized definitions that capture WHAT the project does and WHO operates it, without replicating HOW it does it. Use when onboarding to a new codebase and wanting to understand its conceptual architecture, when bootstrapping an agentic system from an existing project, when studying a project's organizational DNA for cross-pollination, or when creating a skill/agent/team library inspired by a reference implementation.

技能
pjt222