ワンクリックで
test-device
Run on-device (hardware) tests via PlatformIO and report results. Requires a physical device connected via USB.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Run on-device (hardware) tests via PlatformIO and report results. Requires a physical device connected via USB.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Write Bash commands that don't trigger unnecessary permission prompts. Use Read/Edit/Grep instead of head/tail/sed/awk/cat/echo; split chained commands (&&, ;, ||) into separate Bash calls; drop diagnostic suffixes like `; echo "EXIT=$?"`. The allowlist matches whole command strings — every mismatch costs the user attention.
Commit user-named files atomically via scripts/commit-pathspec.sh (which wraps `git commit -m "..." -- <files>` and writes the provenance token the pre-commit hook validates). Applies the CLAUDE.md "Pre-commit hook failures on unrelated changes" protocol when the hook fails. Never adds --no-verify silently — explicit user approval is required.
Scaffold a new epic file in docs/developers/tasks/open/ and run housekeep
Scaffold a new idea file in docs/developers/ideas/open/ and regenerate the ideas OVERVIEW.md
Set a task to active — updates status, moves to active/, runs housekeep. Also resumes paused tasks (paused/ → active/ or active/ with closed prerequisites).
Mark a task as closed — writes effort_actual, moves the file to closed/, runs housekeep, and commits
| name | test-device |
| description | Run on-device (hardware) tests via PlatformIO and report results. Requires a physical device connected via USB. |
Run on-device integration tests for a specific target and report pass/fail.
The user invokes this as /test-device <target> where <target> is one of:
| Target | Make command | Device needed |
|---|---|---|
esp32-button | make test-esp32-button | ESP32 via USB |
esp32-serial | make test-esp32-serial | ESP32 via USB |
esp32-profiles | make test-esp32-profiles | ESP32 via USB |
nrf52840-button | make test-nrf52840-button | nRF52840 via USB |
nrf52840-serial | make test-nrf52840-serial | nRF52840 via USB |
nrf52840-profiles | make test-nrf52840-profiles | nRF52840 via USB |
Steps:
make command from the table above. If the target is not in the table,
report "Unknown target" and list valid options.X Tests Y Failures Z Ignored)Do not suggest fixes — just report what happened.
Run /test-device for code that touches:
digitalRead, digitalWrite, pinMode)attachInterrupt, ISR functions)If the change only touches lib/PedalLogic/ logic with no hardware calls, use /test (host)
instead — it is faster and requires no device.