ワンクリックで
add-extension
Add a new extension of `tedge-mapper` or `tedge-agent` as an actor.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Add a new extension of `tedge-mapper` or `tedge-agent` as an actor.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Expert Rust code review focused on correctness, testing, and idiomatic code. Use when reviewing a diff, file, or change for bugs, test gaps, and non-idiomatic Rust.
Create a new actor with builder in the thin-edge.io actor framework. Use when implementing a new concurrent component that processes messages.
Add a new configuration option to tedge_config. Use when adding a new setting to the thin-edge.io configuration in tedge.toml.
Write a Robot Framework integration test for thin-edge.io. Use when adding end-to-end tests.
Add a new plugin binary to thin-edge.io. Use when creating a new extension of built-in operations supported by tedge-agent.
| name | add-extension |
| description | Add a new extension of `tedge-mapper` or `tedge-agent` as an actor. |
crates/extensions/<name>/ with src/lib.rs, src/actor.rs, src/builder.rs, src/messages.rsCargo.toml with workspace conventions:
[package]
name = "<name>"
version.workspace = true
edition.workspace = true
license.workspace = true
[lints]
workspace = true
[dependencies]
tedge_actors = { workspace = true }
# add other workspace deps as needed
messages.rs (implement Message: Debug + Send + Sync + 'static)actor.rs:
ServerMessageBox<Request, Response> or SimpleMessageBox<Input, Output>)Actor trait: fn name(&self) -> &str, async fn run(self) -> Result<(), RuntimeError>builder.rs:
Builder<T>, RuntimeRequestSinkMessageSink<M> and MessageSource<M, Config> for wiringSimpleMessageBoxBuilder (event-driven) or ServerMessageBoxBuilder (request-response)Cargo.toml — extensions use glob (crates/extensions/*) so no manual addition neededcrates/core/tedge_agent/src/agent.rs:just check and just testRead these for patterns:
crates/extensions/tedge_timer_ext/ — server-based actor with ServerMessageBox, builder, and testscrates/extensions/tedge_signal_ext/src/lib.rs — minimal actor using SimpleMessageBoxcrates/core/tedge_mapper/src/lib.rs — mapper registration and lookup_component()