wiring-doc
Installation
SKILL.md
Task
Generate or update a WIRING.md file for the project at $1 (relative path under packages/<domain>/).
Process
-
Read the project source code to discover pin assignments, components, and peripherals:
main/*.candmain/*.h— look for#definepin assignments,gpio_config(),i2c_config(),spi_bus_config(), LEDC, UART, ADC usagemain/CMakeLists.txt—REQUIRESlist reveals components (mdns, driver, esp_wifi, led_strip, etc.)sdkconfig.defaults— enabled features, stack sizes, Bluetooth modejustfile— target chip, build variantsREADME.md/CLAUDE.md— existing hardware descriptionKconfig.projbuild— user-configurable pin assignments
-
Identify the board from sdkconfig.defaults (
CONFIG_IDF_TARGET), CLAUDE.md, or justfile. Note any board-specific constraints (e.g., ESP32-CAM PSRAM conflicts, TTGO LoRa pin reservations, ESP32-S3 USB PHY sharing). -
Generate WIRING.md following the template below. Include ONLY sections relevant to the project — omit empty sections rather than adding placeholder text.