AgentSkillsCN

smartthings-edge-driver

为新功能生成产品需求文档(PRD)。适用于功能规划、新项目启动,或在被要求创建 PRD 时使用。触发条件包括:create a prd、write prd for、plan this feature、requirements for、spec out。

SKILL.md
--- frontmatter
name: smartthings-edge-driver
description: Build and troubleshoot SmartThings Edge device drivers in Lua, including Zigbee, Z-Wave, Matter, LAN, capabilities, device profiles, driver channels, and Edge driver API reference usage.

SmartThings Edge Driver

Use this skill when working on SmartThings Edge drivers (Lua). Always open the exact official doc pages from references/ before answering so guidance stays current.

Workflow

  1. Identify the device protocol (Zigbee, Z-Wave, Matter, LAN) and the device capabilities.
  2. Confirm required capabilities, profiles, and preferences in the device docs.
  3. Use Edge driver structure docs to set up driver layout and lifecycle handlers.
  4. Consult the Edge driver API reference for exact class/module usage and defaults.
  5. For protocol-specific behavior, use the corresponding library reference.
  6. Link the exact pages used in the response.

References

  • Core Edge docs and device fundamentals: references/edge-links.md
  • Full Edge driver API reference (Lua): references/edge-reference.md

Load only the reference file(s) needed for the user request.