本文へスキップ
Kitbay
スキル公式

home-assistant-yaml-style

CC-BY-NC-SA-4.02026年11月19日 更新10,212GitHubスター

This skill from the repository behind the Home Assistant website sets the rules for YAML examples in the documentation, such as automation and script examples, action calls, templates and configuration snippets.

スキルの内容

This skill from the repository behind the Home Assistant website sets the rules for YAML examples in the documentation, such as automation and script examples, action calls, templates and configuration snippets. It asks for two-space indentation, true and false rather than other truthy words, block-style lists and mappings, double-quoted strings, literal or folded blocks instead of escaped newlines, implicit nulls and lines of at most 80 characters inside code blocks, along with conventions for comments. An agent applies it when writing or reviewing examples for the documentation.

できること

  • Format YAML examples to Home Assistant's documentation style
  • Review automation and script snippets for style issues