brainstorming
Structured design dialogue that validates ideas before implementation begins.
ha-integration-reviewer
严格的 Home Assistant 集成代码审查。用于提交 PR 前的全面检查,包括 Quality Scale 规则验证、代码风格、Config Flow、测试覆盖和文档。当用户说"审查我的 HA 集成"、"检查我的代码是否符合 HA 规范"、"帮我 review 一下准备提交的代码"时触发。
Full skill instructions
以最严格的 Home Assistant Reviewer 视角审查集成代码。
# 获取待审查的文件(ha-core 使用 dev 分支)
git diff --name-only HEAD~1 # 最近一次提交
git diff --name-only dev # 与 dev 分支的差异(ha-core 主分支)
或用户指定的目录/文件。
使用 Task 工具并行启动多个专项检查,详见 review-workflow.md:
Agent 1: Quality Scale 规则检查
Agent 2: 代码风格检查
Agent 3: Config Flow 检查
Agent 4: 测试覆盖检查
Agent 5: 文档与 Manifest 检查
并行执行方式:
在 Claude Code 中,通过在同一轮对话中发起多个独立检查实现并行:
每个检查独立进行,最后汇总结果。
不要使用过时的静态文档,每次审查时动态获取:
WebFetch: https://raw.githubusercontent.com/home-assistant/developers.home-assistant/refs/heads/master/docs/core/integration-quality-scale/rules/{rule_name}.md
WebFetch: https://raw.githubusercontent.com/home-assistant/core/dev/.github/copilot-instructions.md
使用 Context7 获取最新的 Home Assistant 开发者文档。
查看 ha-core 中类似集成的实现:
gh api repos/home-assistant/core/contents/homeassistant/components/{integration_name}
输出结构化报告,包含:
详见 common-issues.md,包含:
ha-core 仓库提供了专门的 Quality Scale 验证 agent:
位置: repos/ha-core/.claude/agents/quality-scale-rule-verifier.md
调用方式:
# 验证单个规则
"Check if the {integration} integration follows the {rule_name} rule"
# 验证整个等级
"Verify that this integration reaches the {tier} quality scale"
该 agent 会动态获取规则文档并验证实现,比静态检查更准确。
验证代码是否真正符合规则要求,而非仅仅标记为 done。
检查是否接近完成,提示用户考虑完成以提升 Quality Scale 等级。
评估豁免理由是否合理,是否真的不适用于该集成。
gather 替代循环中的 awaitServiceValidationError 处理输入错误HomeAssistantError 处理通信故障tests/components/{domain}/Structured design dialogue that validates ideas before implementation begins.
Comprehensive design intelligence for web and mobile UI/UX across 10 technology stacks.
Comprehensive implementation plans for multi-step tasks, breaking down specs into bite-sized, testable steps.
Introduction to the obra skills system with mandatory skill invocation rules and best practices.
Execute a written implementation plan with critical review and task checkpoints.
Delegate independent tasks to specialized agents working concurrently with isolated context.
Isolated git worktrees with smart directory selection and safety verification.
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
Plan searchable and shareable content that drives traffic, builds authority, and generates leads.
README-first repository scanner that extracts commands and classifies reproduction candidates without executing them.
Brainstorm and prioritize marketing strategies tailored to your SaaS stage, budget, and goals.
Plan and optimize your website's page hierarchy, navigation, URL structure, and internal linking.
The world's fastest calendar for remote work
Capture, organize, and utilize your knowledge effortlessly.
Instant Summaries of Audio & Video Interviews with AnySummary
Transform PDFs into engaging mind maps.
Chat with any PDF instantly
Create an optimal daily plan using your voice
A productivity platform to centralize organizational knowledge and workflows with contextual AI assistance.
AskYourPDF Pricing Plans: Tailored to Your Needs