home/categories/cms-platforms/homeassistant-ai-skills-skills-home-assistant-best-practices-skill-md
cms-platformsdevelopment

home-assistant-best-practices

Best practices for HA automations, helpers, scripts, device controls, and dashboards. TRIGGER THIS SKILL WHEN: - Creating/editing automations, scripts, scenes, or dashboards - Choosing between template sensors and built-in helpers - Writing or restructuring triggers, conditions, or automation modes - Setting up Zigbee button/remote automations (ZHA or Zigbee2MQTT) - Renaming entities or migrating device_id to entity_id - Configuring dashboard cards or picking helpers to feed them - Looking up card types or domain-specific documentation SYMPTOMS: - Agent uses Jinja2 templates where native conditions/triggers/helpers exist - Agent uses device_id instead of entity_id - Agent modifies entity IDs without checking consumers - Agent chooses wrong automation mode (e.g., single for motion lights) - Agent hard-codes values or picks raw sensor over derived helper - Agent edits `.storage/` files, writes raw YAML, or generates YAML snippets - Agent tells user to edit configuration.yaml for UI-configured integrations

homeassistant-ai
maintainer
homeassistant-ai
更新日 4/6/2026
スター
265
フォーク
11
quick start

Installation and usage

Best practices for HA automations, helpers, scripts, device controls, and dashboards. TRIGGER THIS SKILL WHEN: - Creating/editing automations, scripts, scenes, or dashboards - Choosing between template sensors and built-in helpers - Writing or restructuring triggers, conditions, or automation modes - Setting up Zigbee button/remote automations (ZHA or Zigbee2MQTT) - Renaming entities or migrating device_id to entity_id - Configuring dashboard cards or picking helpers to feed them - Looking up card types or domain-specific documentation SYMPTOMS: - Agent uses Jinja2 templates where native conditions/triggers/helpers exist - Agent uses device_id instead of entity_id - Agent modifies entity IDs without checking consumers - Agent chooses wrong automation mode (e.g., single for motion lights) - Agent hard-codes values or picks raw sensor over derived helper - Agent edits `.storage/` files, writes raw YAML, or generates YAML snippets - Agent tells user to edit configuration.yaml for UI-configured integrations

インストール
$ install --globalskills.sh
使い方

インストール後、ターミナルで以下のコマンドを実行してこのスキルを使用できます:

skills use home-assistant-best-practices