重要前提
安装AI Skills的关键前提是:必须科学上网,且开启TUN模式,这一点至关重要,直接决定安装能否顺利完成,在此郑重提醒三遍:科学上网,科学上网,科学上网。查看完整安装教程 →
archimate by markdown-viewer/skills
npx skills add https://github.com/markdown-viewer/skills --skill archimate快速开始: 添加 !include <archimate/Archimate> → 声明类型化元素 → 使用 Rel_* 宏连接 → 用 rectangle 分组到层中 → 用 ````plantuml` 代码块包裹。
⚠️ 重要: 始终使用
plantuml` 或puml代码块。切勿使用 ````text—— 它不会渲染为图表。
@startuml 开始,以 @enduml 结束!include <archimate/Archimate>广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
Layer_Type(alias, "Label")Rel_Type(fromAlias, toAlias, "label")rectangle "Layer" { ... } 将元素分组到 ArchiMate 层中_Up、_Down、_Left、_Right 控制关系方向| 宏 | ArchiMate 元素 |
|---|---|
Business_Actor(id, "Label") | 业务执行者 |
Business_Role(id, "Label") | 业务角色 |
Business_Process(id, "Label") | 业务过程 |
Business_Function(id, "Label") | 业务功能 |
Business_Service(id, "Label") | 业务服务 |
Business_Event(id, "Label") | 业务事件 |
Business_Interface(id, "Label") | 业务接口 |
Business_Collaboration(id, "Label") | 业务协作 |
Business_Object(id, "Label") | 业务对象 |
Business_Product(id, "Label") | 业务产品 |
Business_Contract(id, "Label") | 业务契约 |
Business_Representation(id, "Label") | 业务表示 |
| 宏 | ArchiMate 元素 |
|---|---|
Application_Component(id, "Label") | 应用组件 |
Application_Service(id, "Label") | 应用服务 |
Application_Function(id, "Label") | 应用功能 |
Application_Interface(id, "Label") | 应用接口 |
Application_Process(id, "Label") | 应用过程 |
Application_Interaction(id, "Label") | 应用交互 |
Application_Event(id, "Label") | 应用事件 |
Application_Collaboration(id, "Label") | 应用协作 |
Application_DataObject(id, "Label") | 应用数据对象 |
| 宏 | ArchiMate 元素 |
|---|---|
Technology_Device(id, "Label") | 技术设备 |
Technology_Node(id, "Label") | 技术节点 |
Technology_SystemSoftware(id, "Label") | 系统软件 |
Technology_Artifact(id, "Label") | 技术制品 |
Technology_CommunicationNetwork(id, "Label") | 通信网络 |
Technology_Path(id, "Label") | 技术路径 |
Technology_Service(id, "Label") | 技术服务 |
Technology_Process(id, "Label") | 技术过程 |
Technology_Function(id, "Label") | 技术功能 |
Technology_Interface(id, "Label") | 技术接口 |
| 宏 | ArchiMate 元素 |
|---|---|
Motivation_Stakeholder(id, "Label") | 利益相关者 |
Motivation_Driver(id, "Label") | 驱动因素 |
Motivation_Assessment(id, "Label") | 评估 |
Motivation_Goal(id, "Label") | 目标 |
Motivation_Outcome(id, "Label") | 成果 |
Motivation_Principle(id, "Label") | 原则 |
Motivation_Requirement(id, "Label") | 需求 |
Motivation_Constraint(id, "Label") | 约束 |
Motivation_Value(id, "Label") | 价值 |
| 宏 | ArchiMate 元素 |
|---|---|
Strategy_Capability(id, "Label") | 能力 |
Strategy_Resource(id, "Label") | 资源 |
Strategy_CourseOfAction(id, "Label") | 行动方案 |
Strategy_ValueStream(id, "Label") | 价值流 |
| 宏 | ArchiMate 元素 |
|---|---|
Implementation_WorkPackage(id, "Label") | 工作包 |
Implementation_Deliverable(id, "Label") | 交付物 |
Implementation_Plateau(id, "Label") | 稳定状态 |
Implementation_Gap(id, "Label") | 差距 |
Implementation_Event(id, "Label") | 实现事件 |
所有关系都支持方向后缀:_Up、_Down、_Left、_Right。
| 宏 | ArchiMate 关系 | 线型 |
|---|---|---|
Rel_Composition(from, to, "label") | 组合 | 实线 + 实心菱形 |
Rel_Aggregation(from, to, "label") | 聚合 | 实线 + 空心菱形 |
Rel_Assignment(from, to, "label") | 分配 | 实线 + 圆圈→三角形 |
Rel_Realization(from, to, "label") | 实现 | 虚线 + 空心三角形 |
Rel_Serving(from, to, "label") | 服务 | 实线 + 箭头 |
Rel_Triggering(from, to, "label") | 触发 | 实线 + 实心三角形 |
Rel_Flow(from, to, "label") | 流 | 虚线 + 实心三角形 |
Rel_Access(from, to, "label") | 访问 | 点线 |
Rel_Access_r(from, to, "label") | 访问 (读) | 点线 + 箭头 |
Rel_Access_w(from, to, "label") | 访问 (写) | 点线 + 反向箭头 |
Rel_Influence(from, to, "label") | 影响 | 虚线 + 箭头 |
Rel_Association(from, to, "label") | 关联 | 实线 |
Rel_Specialization(from, to, "label") | 特化 | 实线 + 空心三角形 |
@startuml
!include <archimate/Archimate>
rectangle "业务" {
Business_Actor(customer, "客户")
Business_Process(order, "订单处理流程")
Business_Service(orderSvc, "订单服务")
}
rectangle "应用" {
Application_Component(orderApp, "订单系统")
Application_Service(orderAPI, "订单 API")
}
rectangle "技术" {
Technology_Node(server, "应用服务器")
Technology_Device(db, "数据库服务器")
}
Rel_Triggering(customer, order, "下订单")
Rel_Realization(order, orderSvc, "实现")
Rel_Serving(orderAPI, orderSvc, "服务")
Rel_Realization(orderApp, orderAPI, "实现")
Rel_Assignment(server, orderApp, "运行于")
Rel_Serving(db, server, "存储数据")
@enduml
| 类型 | 用途 | 关键宏 | 示例 |
|---|---|---|---|
| 企业全景图 | 完整的业务/应用/技术分层视图 | 所有层 | enterprise-landscape.md |
| 应用集成图 | 应用间数据流 | Application_* | application-integration.md |
| 技术基础设施图 | 基础设施栈 | Technology_* | technology-infrastructure.md |
| 业务能力图 | 能力地图 | Strategy_*, Business_* | business-capability.md |
| 迁移规划图 | 基于稳定状态的路线图 | Implementation_* | migration-planning.md |
| 安全架构图 | 安全控制 | Technology_*, Motivation_* | security-architecture.md |
| 数据架构图 | 数据流与所有权 | Application_DataObject, Rel_Access_* | data-architecture.md |
| DevOps 流水线图 | CI/CD 交付链 | Technology_*, Application_* | devops-pipeline.md |
每周安装量
60
仓库
GitHub 星标数
7
首次出现
今天
安全审计
安装于
github-copilot60
kimi-cli60
gemini-cli60
cursor60
opencode60
amp60
Quick Start: Add !include <archimate/Archimate> → Declare typed elements → Connect with Rel_* macros → Group into layers with rectangle → Wrap in ````plantuml` fence.
⚠️ IMPORTANT: Always use
plantuml` orpumlcode fence. NEVER use ````text— it will NOT render as a diagram.
@startuml and ends with @enduml!include <archimate/Archimate> before using any macrosLayer_Type(alias, "Label")Rel_Type(fromAlias, toAlias, "label")rectangle "Layer" { ... } to group elements into ArchiMate layers_Up, _Down, _Left, _Right control relationship direction| Macro | ArchiMate Element |
|---|---|
Business_Actor(id, "Label") | Business Actor |
Business_Role(id, "Label") | Business Role |
Business_Process(id, "Label") | Business Process |
Business_Function(id, "Label") | Business Function |
Business_Service(id, "Label") | Business Service |
Business_Event(id, "Label") |
| Macro | ArchiMate Element |
|---|---|
Application_Component(id, "Label") | Application Component |
Application_Service(id, "Label") | Application Service |
Application_Function(id, "Label") | Application Function |
Application_Interface(id, "Label") | Application Interface |
Application_Process(id, "Label") | Application Process |
Application_Interaction(id, "Label") |
| Macro | ArchiMate Element |
|---|---|
Technology_Device(id, "Label") | Technology Device |
Technology_Node(id, "Label") | Technology Node |
Technology_SystemSoftware(id, "Label") | System Software |
Technology_Artifact(id, "Label") | Technology Artifact |
Technology_CommunicationNetwork(id, "Label") | Communication Network |
Technology_Path(id, "Label") |
| Macro | ArchiMate Element |
|---|---|
Motivation_Stakeholder(id, "Label") | Stakeholder |
Motivation_Driver(id, "Label") | Driver |
Motivation_Assessment(id, "Label") | Assessment |
Motivation_Goal(id, "Label") | Goal |
Motivation_Outcome(id, "Label") | Outcome |
Motivation_Principle(id, "Label") |
| Macro | ArchiMate Element |
|---|---|
Strategy_Capability(id, "Label") | Capability |
Strategy_Resource(id, "Label") | Resource |
Strategy_CourseOfAction(id, "Label") | Course of Action |
Strategy_ValueStream(id, "Label") | Value Stream |
| Macro | ArchiMate Element |
|---|---|
Implementation_WorkPackage(id, "Label") | Work Package |
Implementation_Deliverable(id, "Label") | Deliverable |
Implementation_Plateau(id, "Label") | Plateau |
Implementation_Gap(id, "Label") | Gap |
Implementation_Event(id, "Label") | Implementation Event |
All relationships support directional suffixes: _Up, _Down, _Left, _Right.
| Macro | ArchiMate Relationship | Line Style |
|---|---|---|
Rel_Composition(from, to, "label") | Composition | Solid + filled diamond |
Rel_Aggregation(from, to, "label") | Aggregation | Solid + open diamond |
Rel_Assignment(from, to, "label") | Assignment | Solid + circle→triangle |
Rel_Realization(from, to, "label") | Realization | Dotted + hollow triangle |
Rel_Serving(from, to, "label") |
@startuml
!include <archimate/Archimate>
rectangle "Business" {
Business_Actor(customer, "Customer")
Business_Process(order, "Order Process")
Business_Service(orderSvc, "Order Service")
}
rectangle "Application" {
Application_Component(orderApp, "Order System")
Application_Service(orderAPI, "Order API")
}
rectangle "Technology" {
Technology_Node(server, "App Server")
Technology_Device(db, "Database Server")
}
Rel_Triggering(customer, order, "places order")
Rel_Realization(order, orderSvc, "realizes")
Rel_Serving(orderAPI, orderSvc, "serves")
Rel_Realization(orderApp, orderAPI, "realizes")
Rel_Assignment(server, orderApp, "runs on")
Rel_Serving(db, server, "stores data")
@enduml
| Type | Purpose | Key Macros | Example |
|---|---|---|---|
| Enterprise Landscape | Full B/A/T layered view | All layers | enterprise-landscape.md |
| Application Integration | App-to-app data flows | Application_* | application-integration.md |
| Technology Infrastructure | Infrastructure stack | Technology_* | technology-infrastructure.md |
| Business Capability | Capability map | , |
Weekly Installs
60
Repository
GitHub Stars
7
First Seen
Today
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
github-copilot60
kimi-cli60
gemini-cli60
cursor60
opencode60
amp60
文档查找工具:实时获取库、框架和API最新文档,替代训练数据
1,400 周安装
| Business Event |
Business_Interface(id, "Label") | Business Interface |
Business_Collaboration(id, "Label") | Business Collaboration |
Business_Object(id, "Label") | Business Object |
Business_Product(id, "Label") | Business Product |
Business_Contract(id, "Label") | Business Contract |
Business_Representation(id, "Label") | Business Representation |
| Application Interaction |
Application_Event(id, "Label") | Application Event |
Application_Collaboration(id, "Label") | Application Collaboration |
Application_DataObject(id, "Label") | Application Data Object |
| Technology Path |
Technology_Service(id, "Label") | Technology Service |
Technology_Process(id, "Label") | Technology Process |
Technology_Function(id, "Label") | Technology Function |
Technology_Interface(id, "Label") | Technology Interface |
| Principle |
Motivation_Requirement(id, "Label") | Requirement |
Motivation_Constraint(id, "Label") | Constraint |
Motivation_Value(id, "Label") | Value |
| Serving |
| Solid + arrow |
Rel_Triggering(from, to, "label") | Triggering | Solid + filled triangle |
Rel_Flow(from, to, "label") | Flow | Dashed + filled triangle |
Rel_Access(from, to, "label") | Access | Dotted line |
Rel_Access_r(from, to, "label") | Access (read) | Dotted + arrow |
Rel_Access_w(from, to, "label") | Access (write) | Dotted + reverse arrow |
Rel_Influence(from, to, "label") | Influence | Dashed + arrow |
Rel_Association(from, to, "label") | Association | Solid line |
Rel_Specialization(from, to, "label") | Specialization | Solid + hollow triangle |
Strategy_*Business_*| business-capability.md |
| Migration Planning | Plateau-based roadmap | Implementation_* | migration-planning.md |
| Security Architecture | Security controls | Technology_*, Motivation_* | security-architecture.md |
| Data Architecture | Data flow & ownership | Application_DataObject, Rel_Access_* | data-architecture.md |
| DevOps Pipeline | CI/CD delivery chain | Technology_*, Application_* | devops-pipeline.md |