Pular para o conteúdo
Kitbay
SkillOficial

home-assistant-yaml-style

CC-BY-NC-SA-4.0Atualizado em 19 de nov. de 202610.212Estrelas no GitHub

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.

O que a skill ensina

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.

O que faz

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