Skills Plugins MCP Prompt Model 博客 我的中心

ha-integration-knowledge

Everything you need to know to build, test and review Home Assistant Integrations. If you're looking at an integration, you must use this as your primary reference.

DeepseekModel 官方收录技能 质量 优秀 · 90 v1.0.0

获取

https://deepseekmodel.com/api/download.php?id=home-assistant-core-claude-skills-ha-integration-knowledge-skill-md&format=skill
下载 .skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name ha-integration-knowledge description Everything you need to know to build, test and review Home Assistant Integrations. If you're looking at an integration, you must use this as your primary reference. File Locations Integration code : ./homeassistant/components/<integration_domain>/ Integration tests : ./tests/components/<integration_domain>/ General guidelines When looking for examples, prefer integrations with the platinum or gold quality scale level first. Polling intervals are NOT user-configurable. Never add scan_interval, update_interval, or polling frequency options to config flows or config entries. Do NOT allow users to set config entry names in config flows. Names are automatically generated or can be customized later in UI. Exception: helper integrations may allow custom names. For entity actions and entity services, avoid requesting redundant defensive checks for fields already enforced by Home Assistant validation schemas and entity filters; only request extra guards when values bypass validation or are transformed unsafely. When validation guarantees a key is present, prefer direct dictionary indexing ( data["key"] ) over .get("key") so invalid assumptions fail fast. Integrations should be thin wrappers. Protocol parsing, device state machines, or other domain logic belong in a separate PyPI library, not in the integration itself. If unsure, ask before inlining. Integrations should not implement fixes or workarounds for limitations in libraries. Instead, the library should be updated to fix the issue. The following platforms have extra guidelines: Diagnostics : platform-diagnostics.md for diagnostic data collection Repairs : platform-repairs.md for user-actionable repair issues Entity platforms Ensure async_added_to_hass() and async_will_remove_from_hass() have symmetrical behavior. For example, if a subscription is created in async_added_to_hass() , it should be unsubscribed in async_will_remove_from_hass() . Also, if something is torn down in async_will_remove_from_hass() , it should be set up in async_added_to_hass() . Entity base class (e.g. SensorEntity , TrackerEntity ) provide a stable API for child classes to inherit from. Do not suggest redeclaring or duplicating attributes, properties, or methods the base class already provides, and do not add guards against the parent's behavior changing — rely on the base class instead. Integration Quality Scale When validating the quality scale rules, check them at https://developers.home-assistant.io/docs/core/integration-quality-scale/rules When implementing or reviewing an integration, always consider the quality scale rules, since they promote best practices. Template scale file: ./script/scaffold/templates/integration/integration/quality_scale.yaml How Rules Apply Check manifest.json : Look for "quality_scale" key to determine integration level Bronze Rules : Always required for any integration with quality scale Higher Tier Rules : Only apply if integration targets that tier or higher Rule Status : Check quality_scale.yaml in integration folder for: done : Rule implemented exempt : Rule doesn't apply (with reason in comment) todo : Rule needs implementation Testing Requirements Tests should avoid interacting or mocking internal integration details. For more info, see https://developers.home-assistant.io/docs/development_testing/#writing-tests-for-integrations
Agent 识别该技能的关键词,点击任意一个即可复制。

该技能未提供触发词。

下载的 .skill 包内含以下字段。
字段 说明
format格式标识(skill/v1)
skill_id技能唯一 ID
name技能名称
version版本号
description技能描述
category所属分类(数组)
trigger_words触发词列表
tags标签列表
source来源标识
source_url来源链接(本页地址)
exported_at导出时间(每次下载生成)
system_prompt系统提示词正文
model_config模型参数:provider / model / temperature / max_tokens / top_p
examples示例
install_guide各平台导入说明(Coze / Dify / Claude / 自定义框架)
同一份技能可按不同平台格式导出。
.skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用 下载
.skillpro 增强格式,额外含脚本 / 工具 / 依赖 / 钩子占位 下载
.json 纯 JSON 导出,只含 system_prompt 与模型参数 下载
Coze 带 frontmatter 的 Markdown,Coze 平台导入用 下载
Dify Dify DSL,创建应用后直接导入 下载

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。