archimate について
PlantUMLでArchiMateのエンタープライズアーキテクチャ図を生成するスキルです。型付き要素、関係マクロ、レイヤー分けを使い、ビジネス、アプリケーション、テクノロジーの各ビューを扱います。
主な機能
- 01型付きArchiMate要素
- 02関係マクロ
- 03レイヤーごとの要素グループ化
- 04複数のアーキテクチャビューの例
活用シーン
- 01エンタープライズ全体像の記録
- 02アプリケーション連携の整理
- 03技術基盤や移行の計画
- 04データアーキテクチャやDevOpsパイプラインの図示
インストール
コマンドをコピーしてターミナルで実行します。
$
npx skills add https:/ / github.com/ markdown-viewer/ skills --skill archimateインストール後、Claude Code で/archimateを入力して読み込まれたか確認します。
同梱ファイル
SKILL.md と一緒にインストールされる参考資料やスクリプト。
examples/application-integration.mdbusiness-capability.mddata-architecture.mddevops-pipeline.mdenterprise-landscape.mdmigration-planning.mdsecurity-architecture.mdtechnology-infrastructure.md詳細
エンタープライズアーキテクチャ図ジェネレーター(ArchiMate)
クイックスタート: !include <archimate/Archimate> を追加 → 型付き要素を宣言 → Rel_* マクロで接続 → rectangle でレイヤーにグループ化 → ```plantuml フェンスで囲みます。
⚠️ 重要: 必ず
```plantumlまたは```pumlのコードフェンスを使用してください。```textは絶対に使用しないでください。図としてレンダリングされません。
重要なルール
- すべての図は
@startumlで始まり、@endumlで終わります - マクロを使用する前に、必ず
!include <archimate/Archimate>を含める必要があります - 要素の構文:
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" {
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
図の種類
| 種類 | 目的 | 主要マクロ | 例 |
|---|---|---|---|
| エンタープライズランドスケープ | 完全な B/A/T 階層ビュー | すべてのレイヤー | 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 |
コメント
Markdown 対応