← Back to list

review
by hermanolsson
Simple plugin to add home assistsant sensors for traffic departures. Build with help of Claude AI.
⭐ 0🍴 0📅 Jan 8, 2026
SKILL.md
name: review description: Review Home Assistant integration code against best practices. Use when asked to review code, check quality, or before major releases.
Code Review for Home Assistant Integration
Review the SL Departures integration against Home Assistant and Python best practices.
Instructions
-
Fetch Reference Documentation
Use WebFetch to get these resources:
- Home Assistant Integration Quality Scale: https://developers.home-assistant.io/docs/integration_quality_scale_index
- Config Flow Guide: https://developers.home-assistant.io/docs/config_entries_config_flow_handler
- DataUpdateCoordinator: https://developers.home-assistant.io/docs/integration_fetching_data
- Entity Guide: https://developers.home-assistant.io/docs/core/entity
-
Read All Integration Files
custom_components/sl_departures/__init__.pycustom_components/sl_departures/config_flow.pycustom_components/sl_departures/sensor.pycustom_components/sl_departures/const.pycustom_components/sl_departures/manifest.jsoncustom_components/sl_departures/strings.jsoncustom_components/sl_departures/translations/*.json
-
Review Checklist
- Config flow follows HA patterns
- Proper DataUpdateCoordinator usage
- Correct entity/device registration
- Complete type hints
- Correct async patterns (no blocking calls)
- Appropriate error handling
- Complete translations
- Valid manifest.json
-
Report Findings
Format output as:
- Critical: Issues that will cause problems
- Warnings: Potential issues or bad practices
- Suggestions: Nice-to-have improvements
- Good: Things done well (brief)
Include file paths and line numbers for each finding.
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon