ワンクリックで
rt-claw-new-module
// Use when adding a new rt-claw service, driver, tool, platform helper, platform port, or RTOS backend.
// Use when adding a new rt-claw service, driver, tool, platform helper, platform port, or RTOS backend.
Use when adding CI coverage for a new rt-claw module, feature chain, endpoint backend, service integration, or regression.
Use when building rt-claw, choosing a platform target, running QEMU, flashing hardware, or debugging C/Meson/native build failures.
Use when finding rt-claw definitions, call sites, subsystem ownership, build wiring, OSAL boundaries, or platform-specific implementations.
Use when analyzing rt-claw build logs, QEMU output, serial monitor logs, CI failures, network/API failures, or boot/runtime crashes.
Use when rt-claw behavior, APIs, configuration, build commands, platforms, or developer workflows change and documentation may need synchronization.
Use when reviewing rt-claw changes for OSAL boundary violations, RTOS coupling, platform leakage, driver layering, or portability risks.
| name | rt-claw-new-module |
| description | Use when adding a new rt-claw service, driver, tool, platform helper, platform port, or RTOS backend. |
| license | MIT |
Create new modules by copying the closest existing pattern and wiring only the minimum required build and init paths.
| Type | Owning path |
|---|---|
| Service | claw/services/<name>/ |
| Tool Use tool | claw/services/tools/<name>.c |
| Hardware driver | drivers/<subsystem>/<vendor>/ and include/drivers/... |
| Platform helper | platform/common/<vendor>/ |
| Board/platform port | platform/<board>/ |
| RTOS backend | osal/<rtos>/ |
.c and .h file.CLAW_<SUBSYSTEM>_<PARAM> naming for config
macros.Use snake_case names such as bluetooth, audio_tts, or weather. For
services, the normal public lifecycle names are <name>_init(),
<name>_start(), and <name>_stop() when the module exposes them directly.
claw/services/<name>/.claw_os.h instead of RTOS headers.CLAW_SERVICES_<NAME>_H..c file, followed by
claw_os.h, system headers, and project headers.meson.build and guard optional modules
with existing feature-option patterns.include/drivers/.claw/.claw/services/tools/.CLAW_TOOL_REGISTER() and capability patterns.vendor/.