ワンクリックで
lua
Write or modify ArduPilot Lua applets. Use when the user asks to create, debug, or modify Lua scripts for AP_Scripting.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Write or modify ArduPilot Lua applets. Use when the user asks to create, debug, or modify Lua scripts for AP_Scripting.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | lua |
| description | Write or modify ArduPilot Lua applets. Use when the user asks to create, debug, or modify Lua scripts for AP_Scripting. |
| argument-hint | <topic or task description> |
| allowed-tools | Read, Grep, Glob |
Before writing or modifying any Lua code, read the full playbook and API reference:
libraries/AP_Scripting/CLAUDE.mdlibraries/AP_Scripting/docs/docs.lua — this is the absolute source of truth for all function signatures. Never invent or assume API patterns.For vehicle control tasks, also read: libraries/AP_Scripting/CLAUDE_VEHICLE_CONTROL.md
For CRSF menu tasks, also read: libraries/AP_Scripting/CLAUDE_CRSF_MENU.md
bind_param/bind_add_param helpersMAV_SEVERITY enum, ENABLE parameter, RC activationupdate() function with reschedule return, protected_wrapper() with pcall.md documentation filedocs.lua before calling any functionmillis() and micros() return userdata — use :tofloat() not tonumber()Parameter() constructor for existing params, bind_add_param() for script paramsPREFIX_NAME)PARAM_TABLE_KEY (1-200) — check existing scripts first.lua script (luacheck compliant, no trailing whitespace).md documentation (purpose, parameters, setup instructions)Review an ArduPilot new-board hwdef PR. Stashes any local changes, checks the PR out as a branch in the current repo, runs DMA / board-ID / file-presence / commit-structure checks, layers the hwdef playbook on top, and (after confirmation) posts a review comment on the PR — then restores the original branch and pops the stash. Use when the user asks to review or pre-review an hwdef PR.
Review an ArduPilot new-board hwdef PR. Stashes any local changes, checks the PR out as a branch in the current repo, runs DMA / board-ID / file-presence / commit-structure checks, layers the hwdef playbook on top, and (after confirmation) posts a review comment on the PR — then restores the original branch and pops the stash. Use when the user asks to review or pre-review an hwdef PR.
Analyze ArduPilot DataFlash .bin log files or MAVLink .tlog telemetry logs. Use when the user provides a .bin or .tlog log file path or asks to analyze flight log data.
Analyze ArduPilot DataFlash .bin log files or MAVLink .tlog telemetry logs. Use when the user provides a .bin or .tlog log file path or asks to analyze flight log data.
Check the local ArduPilot AI Playbook version against the upstream GitHub version and update if newer. Use when the user asks to update the playbooks, check for playbook updates, or wants to know which version is installed.
Write ArduPilot CRSF (Crossfire) menu scripts using crsf_helper.lua. Use when the user asks to create or modify CRSF/ELRS transmitter menus.