debug — connected-home Linus-Dashboard, community, connected-home, ide skills, custom-dashboard, dashboard, domotics, hacs-integration, hass-magic-areas, home-assistant, Claude Code

v1.0.0

关于此技能

非常适合需要系统错误调试和全面内容分析的 Home Assistant Integration Agents。 Debug errors, bugs, and unexpected behavior systematically in Home Assistant integration. Use when investigating errors, analyzing stack traces, fixing bugs, or troubleshooting unexpected behavior.

# 核心主题

Thank-you-Linus Thank-you-Linus
[181]
[5]
更新于: 3/17/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 9/11

This page remains useful for operators, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution Quality floor passed for review
Review Score
9/11
Quality Score
52
Canonical Locale
en
Detected Body Locale
en

非常适合需要系统错误调试和全面内容分析的 Home Assistant Integration Agents。 Debug errors, bugs, and unexpected behavior systematically in Home Assistant integration. Use when investigating errors, analyzing stack traces, fixing bugs, or troubleshooting unexpected behavior.

核心价值

使得代理能够系统地调试 Home Assistant 集成中的错误、漏洞和意外行为,使用 Linus Dashboard,遵循干净的代码标准和异步模式,并使用项目架构知识简化工作流程。

适用 Agent 类型

非常适合需要系统错误调试和全面内容分析的 Home Assistant Integration Agents。

赋予的主要能力 · debug

调试 Home Assistant 集成中的错误
分析全面内容以改善系统性能
系统地识别和修复 Linus Dashboard 中的问题

! 使用限制与门槛

  • 需要了解 Home Assistant 集成模式
  • 需要访问项目架构和干净的代码标准
  • 仅限于使用 Linus Dashboard 调试 Home Assistant 集成

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.

Source Boundary

The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.

实验室 Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

常见问题与安装步骤

以下问题与步骤与页面结构化数据保持一致,便于搜索引擎理解页面内容。

? FAQ

debug 是什么?

非常适合需要系统错误调试和全面内容分析的 Home Assistant Integration Agents。 Debug errors, bugs, and unexpected behavior systematically in Home Assistant integration. Use when investigating errors, analyzing stack traces, fixing bugs, or troubleshooting unexpected behavior.

如何安装 debug?

运行命令:npx killer-skills add Thank-you-Linus/Linus-Dashboard/debug。支持 Cursor、Windsurf、VS Code、Claude Code 等 19+ IDE/Agent。

debug 适用于哪些场景?

典型场景包括:调试 Home Assistant 集成中的错误、分析全面内容以改善系统性能、系统地识别和修复 Linus Dashboard 中的问题。

debug 支持哪些 IDE 或 Agent?

该技能兼容 Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer。可使用 Killer-Skills CLI 一条命令通用安装。

debug 有哪些限制?

需要了解 Home Assistant 集成模式;需要访问项目架构和干净的代码标准;仅限于使用 Linus Dashboard 调试 Home Assistant 集成。

安装步骤

  1. 1. 打开终端

    在你的项目目录中打开终端或命令行。

  2. 2. 执行安装命令

    运行:npx killer-skills add Thank-you-Linus/Linus-Dashboard/debug。CLI 会自动识别 IDE 或 AI Agent 并完成配置。

  3. 3. 开始使用技能

    debug 已启用,可立即在当前项目中调用。

! 参考页模式

此页面仍可作为安装与查阅参考,但 Killer-Skills 不再把它视为主要可索引落地页。请优先阅读上方评审结论,再决定是否继续查看上游仓库说明。

Imported Repository Instructions

The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.

Supporting Evidence

debug

安装 debug,这是一款面向AI agent workflows and automation的 AI Agent Skill。支持 Claude Code、Cursor、Windsurf,一键安装。

SKILL.md
Readonly
Imported Repository Instructions
The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.
Supporting Evidence

Debug Errors and Bugs Systematically

Debug errors, bugs, and unexpected behavior in the Linus Dashboard Home Assistant integration.


Context Loading

Before debugging, load:

  1. .aidriven/memorybank.md - Project architecture
  2. .aidriven/rules/clean_code.md - Code standards
  3. .aidriven/rules/homeassistant_integration.md - HA patterns
  4. .aidriven/rules/async_patterns.md - Async best practices

Debug Process

Step 1: Understand the Error

Collect Information:

  • Error message (full stack trace)
  • When does it occur? (startup, service call, state change)
  • Which file/function is involved?
  • User actions that trigger it
  • Home Assistant version and logs

Questions to Ask:

  1. Is this a Python exception or HA-specific error?
  2. Does the error occur consistently or randomly?
  3. Are there related errors in home-assistant.log?
  4. What changed recently (code, config, HA version)?

Step 2: Analyze Root Cause

Common Error Categories:

1. Async/Await Issues

python
1# Symptoms: 2# - "coroutine was never awaited" 3# - Event loop blocking 4# - Timeouts 5 6# Check for: 7await missing_function() # Missing await 8blocking_io_call() # Blocking I/O in async context

2. Home Assistant Integration Errors

python
1# Symptoms: 2# - Integration fails to load 3# - Config flow errors 4# - Entity not showing up 5 6# Check for: 7# - Missing async_setup_entry/async_unload_entry 8# - Incorrect platform registration 9# - Missing unique_id on entities 10# - Data not stored in hass.data correctly

3. API/Network Errors

python
1# Symptoms: 2# - Connection refused 3# - Timeouts 4# - 4xx/5xx HTTP errors 5 6# Check for: 7# - Supabase URL/key configuration 8# - Network connectivity 9# - API rate limits 10# - Timeout values

Step 3: Investigate

Review Code:

  • Read the file where error occurs
  • Trace the execution path
  • Check function signatures
  • Review recent changes with git log

Check Logs:

bash
1# Home Assistant logs 2tail -f /config/home-assistant.log | grep linus 3 4# Check for warnings 5grep -i "warning.*linus" /config/home-assistant.log

Add Debug Logging:

python
1import logging 2_LOGGER = logging.getLogger(__name__) 3 4_LOGGER.debug("Variable value: %s", variable) 5_LOGGER.info("Entering function with args: %s", args)

Step 4: Fix the Issue

Apply Fix:

  • Make minimal changes to fix root cause
  • Follow code standards from .aidriven/rules/clean_code.md
  • Add error handling if missing
  • Update documentation if behavior changed

Test the Fix:

  1. Restart Home Assistant
  2. Reproduce the original error scenario
  3. Verify error is gone
  4. Check logs for new errors
  5. Test related functionality

Step 5: Verify and Document

Verification:

  • Error no longer occurs
  • No new errors introduced
  • Related features still work
  • Logs are clean

Documentation:

  • Update inline comments if needed
  • Note the fix in commit message
  • Update CHANGELOG if user-facing

Common Issues and Solutions

Issue: "coroutine was never awaited"

Solution: Add await before async function calls

python
1# Before 2result = async_function() 3 4# After 5result = await async_function()

Issue: Integration doesn't load

Solution: Check entry setup and platform registration

python
1# Ensure proper setup 2async def async_setup_entry(hass, entry): 3 await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS) 4 return True

Issue: Entity not updating

Solution: Verify state updates and coordinator refresh

python
1# Ensure coordinator updates 2await self.coordinator.async_request_refresh()

Issue: Timeout errors

Solution: Increase timeout or optimize slow operations

python
1# Add proper timeout 2async with timeout(30): 3 result = await slow_operation()

Debug Tools

Home Assistant Developer Tools:

  • Services tab - Test service calls
  • States tab - Check entity states
  • Events tab - Monitor events
  • Template tab - Test templates

Python Debugging:

python
1# Add breakpoint (if debugging locally) 2import pdb; pdb.set_trace() 3 4# Add detailed logging 5_LOGGER.debug("State: %s, Attrs: %s", self.state, self.extra_state_attributes)

Git Tools:

bash
1# Find when bug was introduced 2git log --oneline -- path/to/file.py 3 4# Check recent changes 5git diff HEAD~5 -- path/to/file.py

Checklist

Before completing debug:

  • Root cause identified
  • Fix implemented following code standards
  • Error no longer reproduces
  • Related functionality tested
  • Logs reviewed for new issues
  • Changes documented

相关技能

寻找 debug 的替代方案 (Alternative) 或可搭配使用的同类 community Skill?探索以下相关开源技能。

查看全部

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
AI

widget-generator

Logo of f
f

为prompts.chat的信息反馈系统生成可定制的插件小部件

149.6k
0
AI

flags

Logo of vercel
vercel

React 框架

138.4k
0
浏览器

pr-review

Logo of pytorch
pytorch

Python中具有强大GPU加速的张量和动态神经网络

98.6k
0
开发者工具