Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问clear审计通过

architecture-design建筑设计

Agent Skill

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

总安装

494

周安装

21

GitHub Stars

10

下载量

173
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:architecture-design(建筑设计)
来源仓库:https://github.com/dauquangthanh/hanoi-rainbow
仓库路径:skills/architecture-design
安装命令:
npx skills add https://github.com/dauquangthanh/hanoi-rainbow --skill architecture-design
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/dauquangthanh/hanoi-rainbow --skill architecture-design

简介

用于设计全面的软件解决方案架构,涵盖系统与部署模型。

  • 支持需求分析、技术选型、集成模式与安全策略制定。
  • 提供可扩展性、性能与可靠性等非功能性考量建议。architecture-design 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 输出包含组件图、数据流图和部署拓扑的可视化方案。
  • 适用于企业级应用、微服务与云原生架构规划场景。

SKILL.md

Architecture Design

Overview

This skill enables you to design comprehensive software solution architectures including system components, technology stacks, integration patterns, scalability strategies, and deployment models.

Core Capabilities

When activated, this skill provides:

  1. Requirements Analysis & Architecture Planning

- Analyze functional and non-functional requirements - Identify architectural drivers (scalability, security, performance) - Define system boundaries and constraints - Establish architecture goals and success criteria

  1. System Architecture Design

- Design layered/tiered architectures - Create microservices and domain-driven designs - Design event-driven and message-based systems - Plan serverless and cloud-native architectures - Design monolithic, modular monolithic, or distributed systems

  1. Technology Stack Selection

- Evaluate and justify programming languages and frameworks - Select databases with rationale (SQL, NoSQL, time-series, graph) - Choose middleware and integration platforms (message queues, API gateways) - Select infrastructure and cloud platforms (assess vendor lock-in) - Recommend CI/CD and DevOps tools - Document technology decisions in ADRs with alternatives considered - Assess team skills and training needs for new technologies

  1. Architecture Patterns & Best Practices

- Apply design patterns (MVC, MVVM, Clean Architecture, Hexagonal) - Implement integration patterns (REST, GraphQL, gRPC, message queues) - Design for scalability (horizontal/vertical, caching, CDN) - Implement security patterns (OAuth, JWT, zero-trust) - Apply resilience patterns (circuit breakers, retries, bulkheads)

  1. Documentation & Deliverables

- Create C4 model diagrams in Mermaid format (Context, Container, Component, Code) - Generate Mermaid diagrams (class, sequence, deployment) - Produce architecture decision records (ADRs) - Write technical specifications and API contracts - Create implementation roadmaps and migration plans

Architecture Design Workflow

Follow this systematic process:

Step 1: Discovery & Requirements

  1. Gather Requirements

- Functional requirements (features, use cases) - Non-functional requirements (performance, scalability, security) - Business constraints (budget, timeline, compliance) - Technical constraints (existing systems, team skills)

  1. Analyze Architecture Drivers

- Performance: latency, throughput targets - Scalability: user growth, data volume projections - Availability: uptime SLA, disaster recovery needs - Security: authentication, authorization, compliance requirements - Maintainability: testability, modularity goals

  1. Define System Context

- Identify stakeholders and their needs - Map external systems and dependencies - Define system boundaries - Identify integration points

Step 2: Architecture Design

  1. Choose Architecture Style

Select based on requirements and constraints:

Monolithic

  • Use for: Simple applications, MVPs, small teams, tight deadlines
  • Benefits: Simple deployment, strong consistency, no network overhead
  • Trade-offs: Scaling limitations, technology lock-in

Modular Monolithic

  • Use for: Medium complexity, clear domain boundaries
  • Benefits: Better organization, some isolation, shared infrastructure
  • Trade-offs: Still single deployment, limited independent scaling

Microservices

  • Use for: Large scale, multiple teams, different tech stacks
  • Benefits: Independent scaling/deployment, technology flexibility
  • Trade-offs: Distributed complexity, network overhead, eventual consistency

Serverless

  • Use for: Event-driven, variable load, rapid development
  • Benefits: Auto-scaling, pay-per-use, no infrastructure management
  • Trade-offs: Cold starts, vendor lock-in, debugging complexity

Event-Driven

  • Use for: Real-time processing, loose coupling, high throughput
  • Benefits: Scalability, flexibility, asynchronous processing
  • Trade-offs: Complexity, eventual consistency, debugging challenges
  1. Design System Components

Define key layers and components:

┌─────────────────────────────────┐
│   Presentation Layer            │  UI, Controllers, APIs
├─────────────────────────────────┤
│   Application Layer             │  Use Cases, Orchestration
├─────────────────────────────────┤
│   Domain Layer                  │  Business Logic, Entities
├─────────────────────────────────┤
│   Data Layer                    │  Databases, Caches
├─────────────────────────────────┤
│   Infrastructure Layer          │  External APIs, Services
└─────────────────────────────────┘
  1. Define Data Architecture

- Design data models and schemas - Choose database types (relational, document, graph, time-series) - Plan data partitioning and sharding strategies - Design caching layers (Redis, Memcached) - Define data flows and ETL processes

  1. Design Integration Points

- API design (REST, GraphQL, gRPC) - Message queues (Kafka, RabbitMQ, SQS) - Event streaming architectures - Authentication and authorization flows - Rate limiting and throttling strategies

Step 3: Document Architecture

  1. Create Architecture Diagrams

Use C4 model in Mermaid format for comprehensive documentation:

  • Context: System in environment with users and external systems (use Mermaid C4Context)
  • Container: High-level technology choices and communication (use Mermaid C4Container)
  • Component: Internal structure of containers (use Mermaid C4Component)
  • Code: Class diagrams for complex components (use Mermaid classDiagram)

All diagrams should use Mermaid syntax for easy versioning and rendering in markdown.

  1. Write Architecture Decision Records (ADRs)

Document all significant decisions using structured ADRs:

# ADR-001: [Decision Title]

## Status
Proposed | Accepted | Deprecated | Superseded

## Context
[Problem and constraints requiring decision]

## Decision
[Chosen solution and approach]

## Consequences
[Benefits and trade-offs]

Full ADR Template: See adr-template.md for complete structure with examples

  1. Produce Technical Specifications

- System overview and objectives - Component descriptions and responsibilities - API contracts and interfaces - Data models and schemas - Security and compliance measures - Deployment and operations guidelines

Step 4: Validate & Review

  1. Quality Attributes Assessment

- Performance: Response time, throughput - Scalability: Horizontal/vertical scaling capabilities - Availability: Fault tolerance, disaster recovery - Security: Authentication, authorization, encryption - Maintainability: Code organization, testability - Cost: Infrastructure and operational expenses

  1. Design Validation Checklist

Ensure architecture is review-ready:

  • All functional and non-functional requirements addressed
  • Architecture style justified with trade-offs documented
  • Scalability strategy defined (horizontal/vertical, capacity planning)
  • Security measures implemented (authentication, authorization, encryption)
  • Data architecture validated (storage, consistency, replication)
  • Integration patterns specified (sync/async, APIs, events)
  • Monitoring and observability planned (metrics, logs, traces, alerts)
  • Disaster recovery and backup strategy documented (RPO/RTO)
  • Cost estimates provided (infrastructure, operations, scaling)
  • Architecture Decision Records (ADRs) created for major decisions

Reference Files

Load reference files based on specific needs:

- Need detailed step-by-step guidance for complex architectures - Working through each phase systematically - Require comprehensive checklists and considerations

- Need detailed pattern descriptions with benefits and trade-offs - Comparing multiple architecture styles - Looking for specific pattern implementations and examples

- Evaluating specific technologies or frameworks - Need recommendations for databases, languages, or cloud platforms - Comparing technology options for specific requirements

- Need design principles and guidelines - Looking for API design standards - Require security or operational best practices

- Evaluating quality attributes (performance, scalability, security) - Need guidance on specific architectural concerns - Planning for observability, resilience, or cost optimization

- Reviewing existing architectures for issues - Validating design decisions - Need examples of what NOT to do

- Modernizing legacy applications - Planning migration strategies - Need patterns for phased migrations or strangler fig approaches

- Need complete architecture examples for common scenarios - Looking for real-world reference implementations - Want to see how patterns are applied in practice

- Need external documentation links - Looking for additional learning resources - Require specifications or standards references

Output Format

Produce clear, comprehensive architecture documentation:

  1. Architecture Overview

- System purpose and scope - Key architecture decisions and rationale - High-level component diagram

  1. Detailed Design

- Component descriptions and responsibilities - Data models and schemas - API specifications - Integration patterns

  1. Diagrams (All in Mermaid format)

- C4 Context diagram (Mermaid C4Context) - C4 Container diagram (Mermaid C4Container) - Sequence diagrams for key flows (Mermaid sequenceDiagram) - Deployment diagram (Mermaid flowchart or C4Deployment)

  1. Implementation Roadmap

- Phase breakdown with milestones - Dependencies and sequencing - Resource requirements - Risk mitigation strategies

  1. Architecture Decision Records

- Document all significant decisions - Include context, alternatives, and trade-offs

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

30.45%
按下载量换算53

Claude Code

22.86%
按下载量换算40

Antigravity

17.9%
按下载量换算31

Gemini CLI

11.69%
按下载量换算20

windsurf

7.26%
按下载量换算13

OpenCode

3.91%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills