agentleFS
guoliang1114-boopguoliang1114-boop/AriaAI/skills/archimate/SKILL.md

archimate

Skill40 starsChanged 3 months agoMITView on GitHub

Create ArchiMate enterprise architecture diagrams using PlantUML stdlib macros. Best for TOGAF viewpoints, layered EA modeling (Business/Application/Technology), motivation analysis, and migration planning.

1 other project uses a version of this, 1 of them edited.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 0 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Quick Start: Add !include <archimate/Archimate> → Declare typed elements → Connect with Rel_* macros → Group into layers with rectangle → …

    line 14
  2. Very specific:

    Every diagram starts with @startuml and ends with @enduml

    line 32
  3. Very specific:

    Must include !include <archimate/Archimate> before using any macros

    line 33
  4. Very specific:

    Use rectangle "Layer" { ...

    line 36
  5. Very specific:

    All relationships support directional suffixes: _Up, _Down, _Left, _Right.

    line 122

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Enterprise Architecture Diagram Generator (ArchiMate)

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 or ```puml code fence. NEVER use ```text — it will NOT render as a diagram.

When To Use / Diagnostic Intake

适用于表达业务、应用、技术及迁移视图。先确定受众、观点、当前/目标状态、必须出现的实体和关系;仅有清单时不推断生产依赖。

Workflow

选择一个视图→核实元素类型与关系→建立唯一别名→生成 PlantUML→渲染并核对图例及边界。

Tools and Dependencies

需要兼容 stdlib ArchiMate 宏的 PlantUML 渲染器;调用前确认环境可用。无渲染器时提供源文件并说明验证范围。

Critical Rules

  • Every diagram starts with @startuml and ends with @enduml
  • Must include !include <archimate/Archimate> before using any macros
  • Element syntax: Layer_Type(alias, "Label")
  • Relationship syntax: Rel_Type(fromAlias, toAlias, "label")
  • Use rectangle "Layer" { ... } to group elements into ArchiMate layers
  • Directional suffixes _Up, _Down, _Left, _Right control relationship direction

Element Macros

Business Layer

MacroArchiMate 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")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 Layer

MacroArchiMate 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")Application Interaction
Application_Event(id, "Label")Application Event
Application_Collaboration(id, "Label")Application Collaboration
Application_DataObject(id, "Label")Application Data Object

Technology Layer

MacroArchiMate 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")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

Motivation Layer

MacroArchiMate 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")Principle
Motivation_Requirement(id, "Label")Requirement
Motivation_Constraint(id, "Label")Constraint
Motivation_Value(id, "Label")Value

Strategy Layer

MacroArchiMate Element
Strategy_Capability(id, "Label")Capability
Strategy_Resource(id, "Label")Resource
Strategy_CourseOfAction(id, "Label")Course of Action
Strategy_ValueStream(id, "Label")Value Stream

Implementation Layer

MacroArchiMate 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

Relationship Macros

All relationships support directional suffixes: _Up, _Down, _Left, _Right.

MacroArchiMate RelationshipLine Style
Rel_Composition(from, to, "label")CompositionSolid + filled diamond
Rel_Aggregation(from, to, "label")AggregationSolid + open diamond
Rel_Assignment(from, to, "label")AssignmentSolid + circle→triangle
Rel_Realization(from, to, "label")RealizationDotted + hollow triangle
Rel_Serving(from, to, "label")ServingSolid + arrow
Rel_Triggering(from, to, "label")TriggeringSolid + filled triangle
Rel_Flow(from, to, "label")FlowDashed + filled triangle
Rel_Access(from, to, "label")AccessDotted 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")InfluenceDashed + arrow
Rel_Association(from, to, "label")AssociationSolid line
Rel_Specialization(from, to, "label")SpecializationSolid + hollow triangle

Quick Example

@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

Diagram Types

TypePurposeKey MacrosExample
Enterprise LandscapeFull B/A/T layered viewAll layersenterprise-landscape.md
Application IntegrationApp-to-app data flowsApplication_*application-integration.md
Technology InfrastructureInfrastructure stackTechnology_*technology-infrastructure.md
Business CapabilityCapability mapStrategy_*, Business_*business-capability.md
Migration PlanningPlateau-based roadmapImplementation_*migration-planning.md
Security ArchitectureSecurity controlsTechnology_*, Motivation_*security-architecture.md
Data ArchitectureData flow & ownershipApplication_DataObject, Rel_Access_*data-architecture.md
DevOps PipelineCI/CD delivery chainTechnology_*, Application_*devops-pipeline.md

Capability Upgrade

Mode Selection

  • Quick: 根据用户描述生成单视角 ArchiMate 图。
  • Standard: 选择业务、应用、技术、动机或迁移视角,并输出可渲染 PlantUML。
  • Deep: 结合项目架构、业务能力、系统清单、数据流和迁移计划,形成多视角架构图包。

Viewpoint Decision Logic

先判断用户要解释什么:业务能力、应用集成、技术部署、动机目标、安全控制还是迁移路线。不同问题不能混在一张图里;复杂架构应拆成多个 viewpoint。

Quality Gates

  • 元素层级符合 ArchiMate 语义,不混用业务/应用/技术层。
  • 关系类型准确,避免全部使用普通箭头。
  • 图中节点数量适中,必要时拆图。
  • 命名能被业务和技术读者理解。
  • 输出包含可复制 PlantUML 和简短解读。

Deliverable Catalog

DeliverableWhen to useMinimum contentFormat
ArchiMate viewpoint diagram单一架构视角视角目标、元素、关系、PlantUML 和说明PlantUML / Markdown
Enterprise architecture pack多层架构说明业务、应用、技术、动机、迁移视角和关系Markdown / PPT
Capability map业务能力建模能力、层级、owner、支撑应用和目标关联PlantUML / PPT
Application integration view系统集成说明应用、接口、数据对象、协议和依赖关系PlantUML
Migration roadmap view架构演进当前/目标 plateau、work package、里程碑和依赖PlantUML / PPT
Diagram QA checklist发布前检查语义、关系、层级、命名、密度和可读性Checklist

Delivery Verification Materials

  • 场景与预期交付:合成案例及缺失输入、注入指令变体。
  • 逐项验收依据:本能力特有的检查项与复核记录。

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.