スキル一覧に戻る
vasilyu1983

software-architecture-design

by vasilyu1983

25🍴 6📅 2026年1月23日
GitHubで見るManusで実行

SKILL.md


name: software-architecture-design description: System design, architecture patterns, scalability tradeoffs, and distributed systems for production-grade software. Covers microservices, event-driven, CQRS, modular monoliths, and reliability patterns.

Software Architecture Design — Quick Reference

Use this skill for system-level design decisions rather than implementation details within a single service or component.

Quick Reference

TaskPattern/ToolKey ResourcesWhen to Use
Choose architecture styleLayered, Microservices, Event-driven, Serverlessmodern-patterns.mdGreenfield projects, major refactors
Design for scaleLoad balancing, Caching, Sharding, Read replicasscalability-reliability-guide.mdHigh-traffic systems, performance goals
Ensure resilienceCircuit breakers, Retries, Bulkheads, Graceful degradationmodern-patterns.mdDistributed systems, external dependencies
Document decisionsArchitecture Decision Record (ADR)adr-template.mdMajor technical decisions, tradeoff analysis
Define service boundariesDomain-Driven Design (DDD), Bounded contextsmicroservices-template.mdMicroservices decomposition
Model data consistencyACID vs BASE, Event sourcing, CQRS, Saga patternsevent-driven-template.mdMulti-service transactions
Plan observabilitySLIs/SLOs/SLAs, Distributed tracing, Metrics, Logsarchitecture-blueprint.mdProduction readiness

When to Use This Skill

Invoke when working on:

  • System decomposition: Deciding between monolith, modular monolith, microservices
  • Architecture patterns: Event-driven, CQRS, layered, hexagonal, serverless
  • Data architecture: Consistency models, sharding, replication, CQRS patterns
  • Scalability design: Load balancing, caching strategies, database scaling
  • Resilience patterns: Circuit breakers, retries, bulkheads, graceful degradation
  • API contracts: Service boundaries, versioning, integration patterns
  • Architecture decisions: ADRs, tradeoff analysis, technology selection

Decision Tree: Choosing Architecture Pattern

Project needs: [New System or Major Refactor]
    ├─ Single team, evolving domain?
    │   ├─ Start simple → Modular Monolith (clear module boundaries)
    │   └─ Need rapid iteration → Layered Architecture
    │
    ├─ Multiple teams, clear bounded contexts?
    │   ├─ Independent deployment critical → Microservices
    │   └─ Shared data model → Modular Monolith with service modules
    │
    ├─ Event-driven workflows?
    │   ├─ Asynchronous processing → Event-Driven Architecture (Kafka, queues)
    │   └─ Complex state machines → Saga pattern + Event Sourcing
    │
    ├─ Variable/unpredictable load?
    │   ├─ Pay-per-use model → Serverless (AWS Lambda, Cloudflare Workers)
    │   └─ Batch processing → Serverless + queues
    │
    └─ High consistency requirements?
        ├─ Strong ACID guarantees → Monolith or Modular Monolith
        └─ Distributed data → CQRS + Event Sourcing

Decision Factors:

  • Team size threshold: <10 developers → modular monolith typically outperforms microservices (operational overhead)
  • Team structure (Conway's Law) — architecture mirrors org structure
  • Deployment independence needs
  • Consistency vs availability tradeoffs (CAP theorem)
  • Operational maturity (monitoring, orchestration)

Industry Data (CNCF 2025): 42% of organizations that adopted microservices have consolidated at least some services back into larger deployable units. Primary drivers: debugging complexity, operational overhead, network latency.

See references/modern-patterns.md for detailed pattern descriptions.


Modern Architecture Patterns (Jan 2026)

Data Mesh Architecture

Use when data silos impede cross-functional analytics.

Principles:

  • Domain-oriented data ownership
  • Data as a product
  • Self-serve data platform
  • Federated computational governance
DoAvoid
Assign data ownership to domain teamsCentralized data lake without ownership
Publish data with SLAs and documentationSchema changes without consumer notification
Use standard interfaces (APIs, SQL)Proprietary formats without discoverability

Composable Architecture

Use when business demands rapid capability assembly.

Characteristics:

  • Packaged business capabilities (PBCs)
  • API-first integration
  • Low-code/no-code composition layer
  • Event-driven coordination
DoAvoid
Design components with clear contractsTightly coupled monolithic modules
Use standard protocols (REST, GraphQL, gRPC)Custom integration patterns
Enable runtime compositionBuild-time-only assembly

Continuous Architecture

Architecture evolves with software, not separate from it.

Practices:

  • Just-enough upfront design
  • Delay decisions to responsible moment
  • Architect roles on delivery teams
  • Architecture fitness functions (automated checks)

Edge Computing Patterns

Use when latency or bandwidth constraints require local processing.

PatternUse Case
Edge gatewayProtocol translation, local caching
Edge compute workloadsValidation, transforms, local control loops
Edge-cloud hybridLocal processing, cloud aggregation

Platform Engineering (2026)

Internal developer platforms (IDPs) for self-service infrastructure. By 2026, 80% of large software engineering organizations will have platform teams (Gartner).

IDP Stack:

ComponentToolsPurpose
PortalBackstage (89% market share), PortService catalog, tech docs
Golden pathsScaffolder templatesStandardized project creation
InfrastructureTerraform, CrossplaneSelf-service provisioning
AI agentsFirst-class citizens with RBACAutomated workflows

FinOps Integration: Platforms now implement pre-deployment cost gates that block services exceeding unit-economic thresholds.

Unified Delivery: Single pipeline for app developers, ML engineers, and data scientists.


Optional: AI/Automation Extensions

Note: This section covers AI-specific architectural patterns. Skip if building traditional systems.

RAG Architecture Patterns

Retrieval-Augmented Generation for enterprise AI.

ComponentPurpose
Vector storeEmbedding storage (Pinecone, Weaviate, pgvector)
RetrieverSemantic search over documents
GeneratorLLM produces responses with context
OrchestratorChains retrieval and generation

Google's 8 Multi-Agent Design Patterns (Jan 2026)

The agentic AI field is experiencing its "microservices revolution" — single all-purpose agents are being replaced by orchestrated teams of specialized agents.

Three foundational execution patterns: Sequential, Loop, Parallel

PatternDescriptionUse Case
Sequential PipelineAgents in assembly line, output → next inputDocument processing, ETL
Parallel Fan-outConcurrent agent execution, results mergedMulti-source research
Loop/IterativeAgent refines until condition metCode review, optimization
HierarchicalManager delegates to worker agentsComplex task decomposition
Bidding/AuctionAgents compete for task assignmentResource allocation
Human-in-the-loopApproval gates for critical decisionsHigh-stakes workflows
ReflectionAgent critiques and improves own outputQuality assurance
Tool UseAgent selects and invokes external toolsAPI integration

Anti-patterns:

  • Unbounded agent loops without termination conditions
  • Missing human-in-the-loop for critical decisions
  • No observability into agent actions and reasoning
  • Single monolithic agent trying to do everything

Agent Communication Protocols

ProtocolPurposeStandard
MCP (Model Context Protocol)LLM-to-data source connectionAnthropic open standard
A2A (Agent-to-Agent)Inter-agent communication at scaleGoogle Cloud Agent Engine

MCP enables: Agents access external data (databases, APIs, file systems) through standardized interfaces.

A2A enables: Cross-system agent orchestration, discovery, and collaboration between agents from different platforms.


Core Resources

  • references/modern-patterns.md — 10 contemporary architecture patterns with decision trees (microservices, event-driven, serverless, CQRS, modular monolith, service mesh, edge computing)
  • references/scalability-reliability-guide.md — CAP theorem, database scaling, caching strategies, circuit breakers, SRE patterns, observability
  • data/sources.json — 60 curated external resources (AWS, Azure, Google Cloud, Martin Fowler, microservices.io, SRE books, multi-agent patterns, MCP/A2A protocols, platform engineering 2026)

Templates

Planning & Documentation (assets/planning/):

Architecture Patterns (assets/patterns/):

Operations & Scalability (assets/operations/):

Implementation Details:

Reliability & Operations:

Security & Data:

Quality & Code:

Documentation:


Trend Awareness Protocol

IMPORTANT: When users ask recommendation questions about software architecture, you MUST use WebSearch to check current trends before answering.

Trigger Conditions

  • "What's the best architecture for [use case]?"
  • "What should I use for [microservices/serverless/event-driven]?"
  • "What's the latest in system design?"
  • "Current best practices for [scalability/resilience/observability]?"
  • "Is [architecture pattern] still relevant in 2026?"
  • "[Monolith] vs [microservices] vs [modular monolith]?"
  • "Best approach for [distributed systems/data consistency]?"

Required Searches

  1. Search: "software architecture best practices 2026"
  2. Search: "[microservices/serverless/event-driven] architecture 2026"
  3. Search: "system design patterns 2026"
  4. Search: "[specific pattern] vs alternatives 2026"

What to Report

After searching, provide:

  • Current landscape: What architecture patterns are popular NOW
  • Emerging trends: New patterns gaining traction (AI-native, edge)
  • Deprecated/declining: Approaches that are losing relevance
  • Recommendation: Based on fresh data and real-world case studies
  • Modular monolith renaissance
  • AI-native architecture patterns
  • Edge computing and CDN-first design
  • Event-driven microservices evolution
  • Platform engineering and internal developer platforms
  • Observability-driven development

Operational Playbooks

Shared Foundation

Architecture-Specific

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です