yeelight-pro-app-builder
Installation
SKILL.md
Yeelight PRO App Builder
Generate a deterministic local smart-home application. Interpret the user's request before generation; do not add AI/chat behavior to the generated app.
The Agent interprets natural language into explicit choices, ThemeSpec v1 and ProductSpec v4. Deterministic scripts validate and compile that structure; they do not provide a general-purpose NLU engine.
Core Contract
- Convert one natural-language request plus optional choices to ProductSpec v4 with a normalized ThemeSpec v1.
- Inspect only the Runtime capabilities needed by selected modules.
- Use read-only CLI calls and
--preview-onlyprobes. Preview probes must reportpersistentWrites=false. - Generate only selected modules, device families, routes and dialogs.
- Treat
scene.launcheras execution-only by default. Enable scene detail/create/edit/test/delete only when the user explicitly asks to maintain scenes. - Treat
installer.maintenanceas a workspace shell. Explicitly selectgateway.overview,panel.manager, or both; never add either infrastructure module implicitly. - Browser controls call a loopback Bridge. The Bridge invokes
yeelight-home invoke --stdinwith argv. - Never fall back to an all-in-one application when the request is unclear.
- Never expose builder configuration, CLI details, capability audits or validation pages inside the generated production app.
- Never place CSS, JavaScript, HTML, URLs, local font files or remote font references in ThemeSpec.