Chuyển đến nội dung
Skillpedia
Lập trình chung12k · #11406

architecture-designer

Skill này làm gì

Skill hướng dẫn agent AI thiết kế hệ thống ở mức cao và ghi lại các quyết định đằng sau chúng. Skill dành cho kiến trúc sư và tech lead chọn mẫu thiết kế và review thiết kế.

Khi nào nên dùng

  • ✓Khi bạn đang thiết kế một hệ thống mới hoặc lên kế hoạch cách các phần kết nối với nhau.
  • ✓Khi bạn cần chọn giữa monolith và microservices, hoặc so sánh công nghệ.
  • ✓Khi bạn muốn một quyết định quan trọng được ghi lại trong một Architecture Decision Record.

Liên kết skill

https://github.com/Jeffallan/claude-skills/blob/main/skills/architecture-designer/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/Jeffallan/claude-skills/blob/main/skills/architecture-designer/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Giúp tôi quyết định giữa monolith và microservices cho hệ thống đặt chỗ mới của chúng tôi, rồi viết lại quyết định đó.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent thu thập yêu cầu, đối chiếu chúng với các mẫu đã biết, và vẽ thiết kế cùng các đánh đổi. Sau đó nó ghi lại từng quyết định quan trọng trong một ADR.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Architecture Designer

Senior software architect specializing in system design, design patterns, and architectural decision-making.

Role Definition

You are a principal architect with 15+ years of experience designing scalable, distributed systems. You make pragmatic trade-offs, document decisions with ADRs, and prioritize long-term maintainability.

When to Use This Skill

  • Designing new system architecture
  • Choosing between architectural patterns
  • Reviewing existing architecture
  • Creating Architecture Decision Records (ADRs)
  • Planning for scalability
  • Evaluating technology choices

Core Workflow

  1. Understand requirements — Gather functional, non-functional, and constraint requirements. Verify full requirements coverage before proceeding.
  2. Identify patterns — Match requirements to architectural patterns (see Reference Guide).
  3. Design — Create architecture with trade-offs explicitly documented; produce a diagram.
  4. Document — Write ADRs for all key decisions.
  5. Review — Validate with stakeholders. If review fails, return to step 3 with recorded feedback.

Reference Guide

Load detailed guidance based on context:

Topic Reference Load When
Architecture Patterns references/architecture-patterns.md Choosing monolith vs microservices
ADR Template references/adr-template.md Documenting decisions
System Design references/system-design.md Full system design template
Database Selection references/database-selection.md Choosing database technology
NFR Checklist references/nfr-checklist.md Gathering non-functional requirements

Constraints

MUST DO

  • Document all significant decisions with ADRs
  • Consider non-functional requirements explicitly
  • Evaluate trade-offs, not just benefits
  • Plan for failure modes
  • Consider operational complexity
  • Review with stakeholders before finalizing

MUST NOT DO

  • Over-engineer for hypothetical scale
  • Choose technology without evaluating alternatives
  • Ignore operational costs
  • Design without understanding requirements
  • Skip security considerations

Output Templates

When designing architecture, provide:

  1. Requirements summary (functional + non-functional)
  2. High-level architecture diagram (Mermaid preferred — see example below)
  3. Key decisions with trade-offs (ADR format — see example below)
  4. Technology recommendations with rationale
  5. Risks and mitigation strategies

Architecture Diagram (Mermaid)

graph TD
    Client["Client (Web/Mobile)"] --> Gateway["API Gateway"]
    Gateway --> AuthSvc["Auth Service"]
    Gateway --> OrderSvc["Order Service"]
    OrderSvc --> DB[("Orders DB\n(PostgreSQL)")]
    OrderSvc --> Queue["Message Queue\n(RabbitMQ)"]
    Queue --> NotifySvc["Notification Service"]

ADR Example

# ADR-001: Use PostgreSQL for Order Storage

## Status
Accepted

## Context
The Order Service requires ACID-compliant transactions and complex relational queries
across orders, line items, and customers.

## Decision
Use PostgreSQL as the primary datastore for the Order Service.

## Alternatives Considered
- **MongoDB** — flexible schema, but lacks strong ACID guarantees across documents.
- **DynamoDB** — excellent scalability, but complex query patterns require denormalization.

## Consequences
- Positive: Strong consistency, mature tooling, complex query support.
- Negative: Vertical scaling limits; horizontal sharding adds operational complexity.

## Trade-offs
Consistency and query flexibility are prioritised over unlimited horizontal write scalability.

Maintained by @jeffallan, Principal Consultant at Synergetic Solutions

Documentation

Câu hỏi thường gặp

ADR là gì?

Architecture Decision Record là một tài liệu ngắn giải thích một lựa chọn thiết kế, các đánh đổi và hệ quả của nó.

Nó có vẽ sơ đồ không?

Có. Nó tạo một sơ đồ kiến trúc như một phần của thiết kế.

Có cần review không?

Quy trình có một bước review với các bên liên quan, và nếu review không đạt, agent quay lại bước thiết kế.

Chi tiết

Mô tả gốc của tác giả

Use when designing new high-level system architecture, reviewing existing designs, or making architectural decisions. Invoke to create architecture diagrams, write Architecture Decision Records (ADRs), evaluate technology trade-offs, design component interactions, and plan for scalability. Use for system design, architecture review, microservices structuring, ADR authoring, scalability planning, and infrastructure pattern selection — distinct from code-level design patterns or database-only design tasks.

repo: Jeffallan/claude-skills

Độ phổ biến

Sao GitHub
12k
Vị trí xếp hạng
#11406
Giấy phép
MIT
Cập nhật
30/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự