Token导航 LogoToken导航

Agent Skill · 前端设计

arc42-documentation(arc42 文档)

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

arc42-documentation 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为调用外部服务;许可证为 MIT,第三方扫描已通过,按安装量在前端设计类的 10,216 个 Skill 里排第 3,877。

总安装 1,077周安装 44GitHub Stars 61下载 348核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/melodic-software/claude-code-plugins --skill arc42-documentation

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

协助生成符合 arc42 标准的架构文档,提升技术方案的可读性与结构化程度。适用于需要撰写系统架构说明、接口定义或工程决策记录的团队项目场景。支持模板引导与最佳实践核查,防止遗漏关键模块与风险点描述。输出前应交叉验证事实准确性,不得将假设写入正式文档内容。

arc42-documentation 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/arc42-documentation

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/melodic-software/claude-code-plugins --skill a…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要调用外部服务,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

arc42-documentation 怎么安装?

在终端执行 npx skills add https://github.com/melodic-software/claude-code-plugins --skill arc42-docum…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

arc42-documentation 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

arc42-documentation 需要什么权限?

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

arc42-documentation 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

arc42-documentation 用的人多吗?

公开数据是累计安装 1,077 次,近一周安装 44 次,下载 348 次,GitHub 61 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

arc42-documentation 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
frontend-design

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
arc42-documentation

arc42 文档 · 本页

1,07761调用外部服务MIT通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

arc42 Documentation Skill

When to Use This Skill

Use this skill when:

  • Arc42 Documentation tasks - Working on arc42 architecture documentation template and guidance
  • Planning or design - Need guidance on Arc42 Documentation approaches
  • Best practices - Want to follow established patterns and standards

Overview

Create comprehensive architecture documentation using the arc42 template.

MANDATORY: Documentation-First Approach

Before creating arc42 documentation:

  1. Invoke docs-management skill for architecture documentation patterns
  2. Verify arc42 current version via MCP servers (perplexity)
  3. Base guidance on official arc42 template

arc42 Template Structure

arc42 Template (12 Sections):

┌─────────────────────────────────────────────────────────────────────────────┐
│  1. Introduction and Goals                                                   │
│     Requirements overview, quality goals, stakeholders                       │
├─────────────────────────────────────────────────────────────────────────────┤
│  2. Architecture Constraints                                                 │
│     Technical, organizational, and convention constraints                    │
├─────────────────────────────────────────────────────────────────────────────┤
│  3. System Scope and Context                                                 │
│     Business context, technical context                                      │
├─────────────────────────────────────────────────────────────────────────────┤
│  4. Solution Strategy                                                        │
│     Technology decisions, top-level decomposition, quality approaches        │
├─────────────────────────────────────────────────────────────────────────────┤
│  5. Building Block View                                                      │
│     Static decomposition: whitebox/blackbox at multiple levels               │
├─────────────────────────────────────────────────────────────────────────────┤
│  6. Runtime View                                                             │
│     Important scenarios, interactions, behaviors                             │
├─────────────────────────────────────────────────────────────────────────────┤
│  7. Deployment View                                                          │
│     Technical infrastructure, mapping of building blocks                     │
├─────────────────────────────────────────────────────────────────────────────┤
│  8. Cross-cutting Concepts                                                   │
│     Recurring patterns, approaches, principles                               │
├─────────────────────────────────────────────────────────────────────────────┤
│  9. Architecture Decisions                                                   │
│     Important decisions with rationale (may link to ADRs)                    │
├─────────────────────────────────────────────────────────────────────────────┤
│ 10. Quality Requirements                                                     │
│     Quality tree, quality scenarios                                          │
├─────────────────────────────────────────────────────────────────────────────┤
│ 11. Risks and Technical Debt                                                 │
│     Known risks, technical debt items                                        │
├─────────────────────────────────────────────────────────────────────────────┤
│ 12. Glossary                                                                 │
│     Important domain and technical terms                                     │
└─────────────────────────────────────────────────────────────────────────────┘

Complete arc42 Template

# Architecture Documentation: [System Name]

**Version:** 1.0
**Date:** [Date]
**Status:** Draft | Review | Final

---

## 1. Introduction and Goals

### 1.1 Requirements Overview

[Brief description of the system and its purpose. What business problem
does it solve? Who are the main users?]

**Key Features:**
- [Feature 1]
- [Feature 2]
- [Feature 3]

### 1.2 Quality Goals

| Priority | Quality Goal | Description |
|----------|--------------|-------------|
| 1 | [Goal] | [Description] |
| 2 | [Goal] | [Description] |
| 3 | [Goal] | [Description] |

### 1.3 Stakeholders

| Role | Name/Team | Expectations |
|------|-----------|--------------|
| Product Owner | [Name] | [Expectations] |
| Development Team | [Team] | [Expectations] |
| Operations | [Team] | [Expectations] |
| Security | [Team] | [Expectations] |

---

## 2. Architecture Constraints

### 2.1 Technical Constraints

| Constraint | Description | Background |
|------------|-------------|------------|
| [TC-1] | [Description] | [Why this constraint exists] |
| [TC-2] | [Description] | [Why this constraint exists] |

### 2.2 Organizational Constraints

| Constraint | Description | Background |
|------------|-------------|------------|
| [OC-1] | [Description] | [Why this constraint exists] |
| [OC-2] | [Description] | [Why this constraint exists] |

### 2.3 Conventions

| Convention | Description |
|------------|-------------|
| [CON-1] | [Description] |
| [CON-2] | [Description] |

---

## 3. System Scope and Context

### 3.1 Business Context

[Diagram showing the system in its business environment, with actors
and external systems it interacts with.]

C4Context title System Context Diagram

Person(user, "User", "End user of the system") System(system, "System Name", "System description") System_Ext(ext1, "External System 1", "Description") System_Ext(ext2, "External System 2", "Description")

Rel(user, system, "Uses") Rel(system, ext1, "Calls API") Rel(system, ext2, "Sends events")


| Actor/System | Description | Communication |
| --- | --- | --- |
| [Actor 1] | [Description] | [Protocol/Format] |
| [External System 1] | [Description] | [Protocol/Format] |

### 3.2 Technical Context

[Technical details of integration: protocols, data formats, interfaces.]

| Interface | Technology | Description |
| --- | --- | --- |
| [API 1] | REST/JSON | [Description] |
| [Queue 1] | Kafka | [Description] |
| [File 1] | SFTP/CSV | [Description] |

---

## 4. Solution Strategy

### 4.1 Technology Decisions

| Decision | Technology | Rationale |
| --- | --- | --- |
| Programming Language | C# (.NET 10) | [Rationale] |
| Database | PostgreSQL | [Rationale] |
| Message Broker | Kafka | [Rationale] |
| Cloud Platform | Azure | [Rationale] |

### 4.2 Top-Level Decomposition

[High-level description of how the system is structured.]

**Approach:** [Microservices / Modular Monolith / etc.]

**Key Modules:**

### 4.3 Approaches to Achieve Quality Goals

| Quality Goal | Approach |
| --- | --- |
| Performance | Caching, async processing, optimized queries |
| Reliability | Redundancy, circuit breakers, retry patterns |
| Security | Defense in depth, encryption, audit logging |

---

## 5. Building Block View

### 5.1 Level 1: Whitebox Overall System

C4Container title Container Diagram

Container(api, "API Gateway", "Kong", "Routes and secures API calls") Container(web, "Web Application", "Blazor", "User interface") Container(svc1, "Service 1", ".NET", "Business logic") Container(svc2, "Service 2", ".NET", "Business logic") ContainerDb(db, "Database", "PostgreSQL", "Stores data") ContainerQueue(queue, "Message Queue", "Kafka", "Async messaging")

Rel(web, api, "Calls", "HTTPS") Rel(api, svc1, "Forwards", "gRPC") Rel(api, svc2, "Forwards", "gRPC") Rel(svc1, db, "Reads/Writes") Rel(svc1, queue, "Publishes") Rel(svc2, queue, "Subscribes")


**Contained Building Blocks:**

| Building Block | Purpose |
| --- | --- |
| API Gateway | Request routing, authentication, rate limiting |
| Web Application | User interface and presentation |
| Service 1 | [Core business function] |
| Service 2 | [Core business function] |

### 5.2 Level 2: [Building Block Name]

[Whitebox description of a specific building block, showing its internal structure.]

**Responsibility:** [What this block does]

**Interfaces:**

**Internal Structure:**

| Component | Responsibility |
| --- | --- |
| [Component 1] | [Description] |
| [Component 2] | [Description] |

---

## 6. Runtime View

### 6.1 Scenario: [User Creates Order]

sequenceDiagram participant U as User participant W as Web App participant A as API Gateway participant O as Order Service participant I as Inventory Service participant D as Database participant Q as Message Queue

U->>W: Submit order W->>A: POST /orders A->>O: CreateOrder O->>I: CheckInventory I->>D: Query stock D-->>I: Stock levels I-->>O: Available O->>D: Save order O->>Q: Publish OrderCreated O-->>A: Order confirmed A-->>W: 201 Created W-->>U: Order confirmation


**Description:** [Explanation of the scenario and any important details]

### 6.2 Scenario: [Another Important Scenario]

[Similar structure...]

---

## 7. Deployment View

### 7.1 Infrastructure Level 1

C4Deployment title Deployment Diagram

Deployment_Node(cloud, "Azure", "Cloud Platform") { Deployment_Node(aks, "AKS Cluster", "Kubernetes") { Container(api, "API Pods", "3 replicas") Container(svc, "Service Pods", "3 replicas") } Deployment_Node(data, "Data Tier") { ContainerDb(db, "Azure PostgreSQL", "Managed database") ContainerDb(redis, "Azure Redis", "Caching") } }


### 7.2 Infrastructure Elements

| Element | Technology | Description |
| --- | --- | --- |
| Kubernetes Cluster | AKS | Container orchestration |
| Load Balancer | Azure LB | Traffic distribution |
| Database | Azure PostgreSQL | Persistent storage |
| Cache | Azure Redis | In-memory caching |

---

## 8. Cross-cutting Concepts

### 8.1 Domain Model

[Core domain entities and their relationships]

### 8.2 Security

**Authentication:** OAuth 2.0 / OpenID Connect **Authorization:** Role-based access control (RBAC) **Data Protection:** Encryption at rest (AES-256), in transit (TLS 1.3)

### 8.3 Error Handling

**Strategy:** Structured error responses with correlation IDs **Logging:** Structured logging with severity levels **Monitoring:** Distributed tracing with OpenTelemetry

### 8.4 Testability

**Unit Testing:** xUnit, Moq, FluentAssertions **Integration Testing:** TestContainers **E2E Testing:** Playwright

---

## 9. Architecture Decisions

| ID | Decision | Status | Date |
| --- | --- | --- | --- |
| ADR-001 | [Decision title] | Accepted | [Date] |
| ADR-002 | [Decision title] | Accepted | [Date] |

[Link to detailed ADR documents]

---

## 10. Quality Requirements

### 10.1 Quality Tree

mindmap root((Quality)) Performance Response Time Throughput Reliability Availability Recoverability Security Confidentiality Integrity Maintainability Modifiability Testability


### 10.2 Quality Scenarios

| ID | Scenario | Attribute | Target |
| --- | --- | --- | --- |
| QS-1 | API response under load | Performance | P95 < 200ms |
| QS-2 | System availability | Reliability | 99.9% |
| QS-3 | Add new payment provider | Modifiability | < 5 days |

---

## 11. Risks and Technical Debt

### 11.1 Risks

| ID | Risk | Impact | Probability | Mitigation |
| --- | --- | --- | --- | --- |
| R-1 | [Risk description] | High | Medium | [Mitigation] |
| R-2 | [Risk description] | Medium | Low | [Mitigation] |

### 11.2 Technical Debt

| ID | Debt Item | Impact | Priority |
| --- | --- | --- | --- |
| TD-1 | [Debt description] | [Impact] | High |
| TD-2 | [Debt description] | [Impact] | Medium |

---

## 12. Glossary

| Term | Definition |
| --- | --- |
| [Term 1] | [Definition] |
| [Term 2] | [Definition] |
| [Term 3] | [Definition] |

## Section Guidelines

### When to Include Each Section

| Section | Always Include | Include If... |
| --- | --- | --- |
| 1. Introduction | ✓ | - |
| 2. Constraints | ✓ | - |
| 3. Context | ✓ | - |
| 4. Solution Strategy | ✓ | - |
| 5. Building Blocks | ✓ | - |
| 6. Runtime |  | Important scenarios exist |
| 7. Deployment | ✓ | - |
| 8. Cross-cutting | ✓ | - |
| 9. Decisions | ✓ | - |
| 10. Quality |  | Quality requirements defined |
| 11. Risks |  | Known risks exist |
| 12. Glossary |  | Domain-specific terms |

## Workflow

When creating arc42 documentation:

1. **Start with context**: Sections 1-3 establish the "what" and "why"
2. **Document decisions**: Section 4 captures strategic choices
3. **Detail structure**: Section 5 shows how it's built
4. **Show behavior**: Section 6 demonstrates how it works
5. **Map to infrastructure**: Section 7 shows where it runs
6. **Capture patterns**: Section 8 documents recurring solutions
7. **Record decisions**: Section 9 links to ADRs
8. **Define quality**: Section 10 sets expectations
9. **Acknowledge risks**: Section 11 shows awareness
10. **Define terms**: Section 12 ensures shared understanding

## References

For detailed guidance:

---

**Last Updated:** 2025-12-26

平台分布

Claude Code

30.08%
按下载量换算105

OpenCode

21.64%
按下载量换算75

trae

17.79%
按下载量换算62

Antigravity

12.13%
按下载量换算42

Codex

7.75%
按下载量换算27

Gemini CLI

2.96%
按下载量换算10

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

调用外部服务

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

安装前确认

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

继续浏览同类 Skills