一键导入
add-config-option
Add a new configuration option to tedge_config. Use when adding a new setting to the thin-edge.io configuration in tedge.toml.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Add a new configuration option to tedge_config. Use when adding a new setting to the thin-edge.io configuration in tedge.toml.
用 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 extension of `tedge-mapper` or `tedge-agent` as an actor.
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-config-option |
| description | Add a new configuration option to tedge_config. Use when adding a new setting to the thin-edge.io configuration in tedge.toml. |
define_tedge_config! macro in crates/common/tedge_config/src/tedge_toml/tedge_config.rsString — free-form textAbsolutePath — filesystem pathConnectUrl — URL with schemeSecondsOrHumanTime — duration (e.g., 30s, 5m)crates/common/tedge_config/src/tedge_toml/models/#[tedge_config()] attributes:
default(value = "...") — default valueexample = "..." — example for documentationreader(...) — custom reader functiontedge configcrates/common/tedge_config/src/tedge_toml/models/cargo test -p tedge_configRead these for patterns:
crates/common/tedge_config/src/tedge_toml/tedge_config.rs — the define_tedge_config! invocation with all existing optionscrates/common/tedge_config/src/tedge_toml/models/ — custom configuration types