mcpField
I
iot

iot

github.com/markdown-viewerクラウド・DevOps3.4k3.0k 回インストール3 週間前に更新
リポジトリ

iot について

iotは、IoTアーキテクチャ図を作成するスキルです。デバイス、エッジ、クラウド間のデータフローを、AWSのステンシルで表現します。

主な機能

  1. 01AWS IoTとデバイスのステンシル
  2. 02デバイス・エッジ・クラウド間の接続
  3. 03ゾーンやサイト単位のグループ化
  4. 04複数のIoTアーキテクチャ形式

活用シーン

  1. 01スマート工場の監視構成の図示
  2. 02車両フリートのテレメトリフロー計画
  3. 03エッジコンピューティング構成の表示
  4. 04デジタルツインやセンサーネットワークの記述

インストール

コマンドをコピーしてターミナルで実行します。

$npx skills add https://github.com/markdown-viewer/skills --skill iot

インストール後、Claude Code で/iotを入力して読み込まれたか確認します。

同梱ファイル

SKILL.md と一緒にインストールされる参考資料やスクリプト。

examples/
device-management.md
digital-twin.md
edge-computing.md
fleet-telemetry.md
robotics.md
sensor-network.md
smart-factory.md
smart-home.md

詳細

IoT アーキテクチャ図ジェネレーター

クイックスタート: デバイス/センサーのアイコンを選択 → エッジゲートウェイを配置 → クラウドサービスに接続 → ゾーンにグループ化 → ```plantuml フェンスで囲みます。

⚠️ IMPORTANT: 必ず ```plantuml または ```puml のコードフェンスを使用してください。```text は絶対に使用しないでください。図としてレンダリングされません。

重要なルール

  • すべての図は @startuml で始まり、@enduml で終わります。
  • 一般的な IoT データフロー(デバイス → エッジ → クラウド)には left to right direction を使用します。
  • IoT サービスとデバイスのアイコンには、mxgraph.aws4.* ステンシル構文を使用します。
  • デフォルトの色は自動的に適用されます。fillColor や strokeColor を指定する必要はありません。
  • グループ化には rectangle "Zone" { ... } または package "Site" { ... } を使用します。
  • 方向付きのフローには --> を使用し、非同期/イベント駆動型のフローには ..>(破線)を使用します。

ステンシルの完全なリファレンス: 利用可能な 9500 以上のアイコンについては、stencils/README.md を参照してください。

Mxgraph ステンシル構文

mxgraph.aws4.<icon> "Label" as <alias>
IoT の主要ステンシル
カテゴリステンシル用途
IoT プラットフォームiot_core, internet_of_things, iot_1click中央 IoT ハブ/メッセージブローカー
エッジ/ゲートウェイgreengrass, iot_device_gateway, freertos, iot_expresslinkエッジコンピューティングとデバイスゲートウェイ
Greengrassiot_greengrass_component, iot_greengrass_nucleus, iot_greengrass_stream_managerエッジランタイムコンポーネント
デバイス管理iot_device_management, iot_device_defender, iot_device_tester, iot_over_the_air_updateフリートのプロビジョニング、セキュリティ、OTA
分析iot_analytics, iot_analytics_channel, iot_analytics_pipeline, iot_analytics_dataset, iot_analytics_data_storeIoT データ処理パイプライン
イベント/ルールiot_events, iot_device_defender_iot_device_jobsイベント検出とジョブ実行
デジタルツインiot_twinmaker, iot_sitewise, iot_sitewise_asset, iot_sitewise_asset_modelアセットのモデリングと可視化
フリートiot_fleetwise, iot_device_management_fleet車両およびデバイスフリートのテレメトリ
デバイスとセンサーのステンシル
カテゴリステンシル
センサーsensor, iot_thing_temperature_sensor, iot_thing_humidity_sensor, iot_thing_vibration_sensor, iot_thing_temperature_humidity_sensor, iot_thing_temperature_vibration_sensor
アクチュエーターactuator, iot_thing_relay, iot_thing_stacklight
産業用factory, iot_thing_industrial_pc, iot_thing_plc
スマートホームthermostat, alexa_enabled_device, alexa_smart_home_skill, camera, camera2
プロトコルmqtt_protocol, iot_lorawan_protocol, iot_greengrass_protocol
船舶/車両iot_sailboat, iot_fleetwise
ロボティクスrobomaker, iot_roborunner
接続タイプ
構文意味使用例
A --> B実線の矢印同期 API/データフロー
A ..> B破線の矢印非同期テレメトリ/MQTT パブリッシュ
A -- B実線物理リンク/双方向リンク
A --> B : "label"ラベル付き接続プロトコルやデータの説明
簡単な例
@startuml
left to right direction
rectangle "Factory Floor" {
  mxgraph.aws4.sensor "Temp\nSensor" as s1
  mxgraph.aws4.iot_thing_plc "PLC" as plc
}
mxgraph.aws4.greengrass "Greengrass\nEdge" as gg
mxgraph.aws4.iot_core "IoT Core" as core
mxgraph.aws4.iot_analytics "IoT\nAnalytics" as analytics

s1 --> gg : MQTT
plc --> gg
gg --> core
core --> analytics
@enduml

IoT アーキテクチャの種類

種類目的主なステンシル例
スマートファクトリー産業用 IoT の監視sensor, iot_thing_plc, greengrass, iot_sitewisesmart-factory.md
スマートホームホームオートメーションthermostat, alexa_enabled_device, camera, iot_coresmart-home.md
車両フリートのテレメトリー車両フリートの追跡iot_fleetwise, iot_core, iot_analyticsfleet-telemetry.md
エッジコンピューティングエッジでのローカル処理greengrass, freertos, iot_greengrass_componentedge-computing.md
デジタルツインアセットのモデリングとシミュレーションiot_twinmaker, iot_sitewise_asset_model, iot_sitewisedigital-twin.md
センサーネットワーク分散型センサーメッシュsensor, iot_lorawan_protocol, iot_device_gatewaysensor-network.md
デバイス管理フリートのプロビジョニングと OTAiot_device_management, iot_device_defender, iot_over_the_air_updatedevice-management.md
ロボティクスロボットフリートのオーケストレーションrobomaker, iot_roborunner, greengrassrobotics.md

コメント