contrib-pr-review
Skill4.9k starsChanged 2 months agoMITView on GitHub
Review a contribution PR for safety, quality, and readiness. Checks for security concerns, test coverage, size appropriateness, and intent alignment. Use when reviewing external contributions.
Trending
Quiet since October.about the whole repository
Who's talking about homeassistant-ai/ha-mcp
- pail23/stiebel_eltron_isg_component“State class removed from _today energy sensors after updating to 2026.8”GitHub · Aug 14, 2026 · 6 reactions
- @syshack.ch“So cool - I installed claude code in the SSH core app (curl -fsSL claude.ai/install.sh | bash) and linked …”Bluesky · Aug 8, 2026 · 4 likes
- @burnsie.com“Absolutely! This thing is awesome and I use it for all sorts of @homeassistant.bsky.social tasks …”Bluesky · Mar 23, 2026 · 3 likes
- @bradsjm.bsky.social“Connecting Codex CLI using GPT 5.2 with this very powerful MCP server (github.com/homeassistan...) is a …”Bluesky · Dec 25, 2025 · 3 likes
- A Hacker News story“The Unofficial and Home Assistant MCP Server”Hacker News · Jun 16, 2026 · 2 points
The biggest 5 of 46 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 46
Talked about on GitHub, Bluesky and Hacker News (46 times).
On GitHub · 40
- Aug 14, 2026State class removed from _today energy sensors after updating to 2026.8 — pail23/stiebel_eltron_isg_component6 reactions · 4 comments
- Sep 27, 2026Enhancement: ha-mcp style in-process MCP onboarding for zero-config agent setup — ruaan-deysel/unraid-management-agent1 reaction · 3 comments
- May 12, 2026install for home-assistant only https://github.com/homeassistant-ai/ha-mcp — jeffborg/home-network1 reaction
- May 6, 2026Extend Assist with home management help, starting with documentation — OpenHomeFoundation/roadmap1 reaction · 6 comments
- Oct 4, 2026Add home assistant mcp — d-buckner/bloud0 reactions
35 more on GitHub
- Oct 3, 2026agent-skills.github.homeassistant-ai.ha-mcp: 8.5.0 → 8.6.0 — sudosubin/agents.nix0 reactions
- Oct 3, 2026feat(container): update image ghcr.io/homeassistant-ai/ha-mcp to v8.6.0 — Stormcargo/k8s-gitops0 reactions · 1 comment
- Oct 1, 2026Energy counters stay at 0 since mid-August (device reports Electric: 0 while running) — blues-sechseck/Mitsubishi-WF-RAC-Integration0 reactions · 1 comment
- Sep 30, 2026feat(container): update image ghcr.io/homeassistant-ai/ha-mcp (8.5.0 ➔ 8.6.0) — tscibilia/home-ops0 reactions · 1 comment
- Sep 30, 2026feat(container): update image ghcr.io/homeassistant-ai/ha-mcp (8.5.0 → 8.6.0) — joryirving/home-ops0 reactions · 2 comments
- Sep 30, 2026feat(container): update image ghcr.io/homeassistant-ai/ha-mcp (8.5.0 ➔ 8.6.0) — drag0n141/home-ops0 reactions · 1 comment
- Sep 28, 2026agent-skills.github.homeassistant-ai.ha-mcp: init at 8.5.0 — sudosubin/agents.nix0 reactions
- Sep 19, 2026[vote] hacs/homeassistant-ai/ha-mcp: 8.4.3 -> 8.5.0 — HA-Update-Manager/community-votes0 reactions · 1 comment
- Sep 19, 2026feat(container): update image ghcr.io/homeassistant-ai/ha-mcp to v8.5.0 — Stormcargo/k8s-gitops0 reactions · 1 comment
- Sep 16, 2026build(deps): bump homeassistant-ai/ha-mcp from 7.8.1 to 8.5.0 in /config/homeassistant — tun0/frigate-reid0 reactions
- Sep 16, 2026feat(container): update image ghcr.io/homeassistant-ai/ha-mcp (8.4.3 ➔ 8.5.0) — drag0n141/home-ops0 reactions · 1 comment
- Sep 9, 2026python3Packages.ha-mcp: 8.4.0 -> 8.4.3 — NixOS/nixpkgs0 reactions · 1 comment
- Sep 7, 2026build(deps): bump homeassistant-ai/ha-mcp from 7.8.1 to 8.4.3 in /config/homeassistant — tun0/frigate-reid0 reactions · 1 comment
- Sep 5, 2026fix(container): update image ghcr.io/homeassistant-ai/ha-mcp (8.4.2 ➔ 8.4.3) — tscibilia/home-ops0 reactions · 1 comment
- Sep 5, 2026fix(container): update image ghcr.io/homeassistant-ai/ha-mcp (8.4.2 ➔ 8.4.3) — drag0n141/home-ops0 reactions · 1 comment
- Sep 4, 2026build(deps): bump homeassistant-ai/ha-mcp from 7.8.1 to 8.4.2 in /config/homeassistant — tun0/frigate-reid0 reactions · 1 comment
- Sep 4, 2026fix(container): update image ghcr.io/homeassistant-ai/ha-mcp (8.4.1 ➔ 8.4.2) — drag0n141/home-ops0 reactions · 1 comment
- Sep 4, 2026fix(container): update image ghcr.io/homeassistant-ai/ha-mcp (8.4.1 ➔ 8.4.2) — tscibilia/home-ops0 reactions · 1 comment
- Sep 4, 2026fix(container): update image ghcr.io/homeassistant-ai/ha-mcp (8.4.1 → 8.4.2) — joryirving/home-ops0 reactions · 2 comments
- Sep 2, 2026build(deps): bump homeassistant-ai/ha-mcp from 7.8.1 to 8.4.1 in /config/homeassistant — tun0/frigate-reid0 reactions · 1 comment
- Sep 2, 2026fix(container): update image ghcr.io/homeassistant-ai/ha-mcp (8.4.0 ➔ 8.4.1) — drag0n141/home-ops0 reactions · 1 comment
- Sep 1, 2026[FIXTURE] Consolidate CI lanes — homeassistant-ai/ha-mcp-workflows-dev0 reactions · 1 comment
- Sep 1, 2026[FIXTURE] Add Traditional Chinese locale — homeassistant-ai/ha-mcp-workflows-dev0 reactions · 1 comment
- Sep 1, 2026[FIXTURE] Document ha_call_service parameters — homeassistant-ai/ha-mcp-workflows-dev0 reactions · 1 comment
- Sep 1, 2026[FIXTURE] Reduce CI runner contention without losing coverage — homeassistant-ai/ha-mcp-workflows-dev0 reactions · 1 comment
- Sep 1, 2026[FIXTURE] Discover HA-MCP natively inside Home Assistant — homeassistant-ai/ha-mcp-workflows-dev0 reactions · 1 comment
- Sep 1, 2026[FIXTURE] Let agents clean up blueprints reported as unused — homeassistant-ai/ha-mcp-workflows-dev0 reactions · 1 comment
- Sep 1, 2026[FIXTURE] Support safely removing unused blueprints — homeassistant-ai/ha-mcp-workflows-dev0 reactions · 1 comment
- Aug 31, 2026build(deps): bump homeassistant-ai/ha-mcp from 7.8.1 to 8.4.0 in /config/homeassistant — tun0/frigate-reid0 reactions · 1 comment
- Aug 29, 2026feat(container): update image ghcr.io/homeassistant-ai/ha-mcp (8.3.0 ➔ 8.4.0) — drag0n141/home-ops0 reactions · 1 comment
- Aug 24, 2026build(deps): bump homeassistant-ai/ha-mcp from 7.8.1 to 8.3.0 in /config/homeassistant — tun0/frigate-reid0 reactions · 1 comment
- Aug 15, 2026MCP write tool calls rejected: Unexpected keyword argument arguments / tool_call requires a name argument (reads work) — NousResearch/hermes-agent0 reactions · 2 comments
- Aug 13, 2026build(deps): bump homeassistant-ai/ha-mcp from 7.8.1 to 8.2.0 in /config/homeassistant — tun0/frigate-reid0 reactions · 1 comment
- Aug 10, 2026build(deps): bump homeassistant-ai/ha-mcp from 7.8.1 to 8.1.1 in /config/homeassistant — tun0/frigate-reid0 reactions · 1 comment
- Aug 5, 2026NR-65D 보일러 제보 입니다 — ripe-avocado/navien_smart_ha0 reactions · 1 comment
On Bluesky · 5
- Aug 8, 2026So cool - I installed claude code in the SSH core app (curl -fsSL claude.ai/install.sh | bash) and linked it with the… — @syshack.ch4 likes and reposts · 7 replies
- Mar 23, 2026Absolutely! This thing is awesome and I use it for all sorts of @homeassistant.bsky.social tasks github.com/homeassistan... — @burnsie.com3 likes and reposts · 1 reply
- Dec 25, 2025Connecting Codex CLI using GPT 5.2 with this very powerful MCP server (github.com/homeassistan...) is a game changer for my #homeassistant.… — @bradsjm.bsky.social3 likes and reposts · 1 reply
- Mar 4, 2026Claude is the way to configure Home Assistant: github.com/homeassistan... — @denovich.com1 likes and repost
- Dec 6, 2025github.com/homeassistan... — @rewse.jp0 likes and reposts · 1 reply
On Hacker News · 1
- Jun 16, 2026The Unofficial and Home Assistant MCP Server2 points
In this repository17 other files it gives its agents.
- AGENTS.mdAGENTS.md
- homeassistant-addon-webhook-proxy/AGENTS.mdAGENTS.md
- homeassistant-addon-webhook-proxy-dev/AGENTS.mdAGENTS.md
- site/AGENTS.mdAGENTS.md
- tests/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- homeassistant-addon-webhook-proxy/CLAUDE.mdCLAUDE.md
- homeassistant-addon-webhook-proxy-dev/CLAUDE.mdCLAUDE.md
- site/CLAUDE.mdCLAUDE.md
- tests/CLAUDE.mdCLAUDE.md
- bat-adhocSkill
- bat-story-evalSkill
- contributors-updateSkill
- issue-analysisSkill
- issue-to-pr-resolverSkill
- my-pr-checkerSkill
- wtSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. About 0 are common, 15 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈15
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 51
Verify if concerns are valid
- Distinctive: line 52
Do NOT approve until issues addressed or confirmed false positives
- Distinctive: line 62
If security assessment passes and PR has workflow changes or new workflows:
- Distinctive: line 137
Check overall GitHub experience (repos, total commits)
- Distinctive: line 168
Read issue to understand expected outcome
- Distinctive: line 170
Does PR solve the issue?: Check:
- Distinctive: line 172
No scope creep (extra features not requested)
- Distinctive: line 176
Is this a bug fix?: Should reference issue
- Distinctive: line 177
Is this a feature?: Should have issue for discussion
- Distinctive: line 223
After completing all steps, present a short summary of what the PR does and the review findings, then ask: "Should I post this comment to …
- Distinctive: line 227
After completing the analysis, draft a comment for the PR following these guidelines:
- Distinctive: line 235
Always ask user before posting
- Distinctive: line 248
Note: Do NOT mention security assessment in comment unless issues were found.
- Distinctive: line 294
Security is checked, not publicized: Always check security (step 1), but only mention in comment if issues found
- Distinctive: line 298
The bots already reviewed code: Don't duplicate detailed code review
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Contribution PR Review
Review PR #$ARGUMENTS from external contributor for safety, quality, and readiness.
Context
PR Metadata:
!`gh pr view $ARGUMENTS --repo homeassistant-ai/ha-mcp --json author,additions,deletions,files,commits,closingIssuesReferences,isDraft,reviews,url,title,body`Contributor Stats:
!`gh api /repos/homeassistant-ai/ha-mcp/pulls/$ARGUMENTS --jq '{author: .user.login, user_id: .user.id}' | jq -r '.author' | xargs -I {} gh api /repos/homeassistant-ai/ha-mcp/contributors --jq '.[] | select(.login == "{}") | {login: .login, contributions: .contributions}'`Files Changed:
!`gh api /repos/homeassistant-ai/ha-mcp/pulls/$ARGUMENTS/files --jq '.[] | {filename: .filename, status: .status, additions: .additions, deletions: .deletions, changes: .changes, patch: .patch}' | head -50`Review Protocol
1. Check the Bot Security Reviews
Note: Codex (chatgpt-codex-connector[bot]) and CodeRabbit (coderabbitai[bot]) both review PRs automatically. Check whether either flagged security concerns.
# Check both bots' reviews and any security-related comments.
# Their findings can be inline-only, so also fetch the pull review comments
# endpoint — review bodies and conversation comments alone can miss them.
# --paginate: both endpoints page at 30, and an iterating PR outruns that.
gh api --paginate /repos/homeassistant-ai/ha-mcp/pulls/$ARGUMENTS/reviews --jq '.[] | select(.user.login == "chatgpt-codex-connector[bot]" or .user.login == "coderabbitai[bot]") | {author: .user.login, state: .state, body: .body}'
gh api --paginate /repos/homeassistant-ai/ha-mcp/pulls/$ARGUMENTS/comments --jq '.[] | select(.user.login == "chatgpt-codex-connector[bot]" or .user.login == "coderabbitai[bot]") | {author: .user.login, path: .path, line: .line, body: .body}'
# CodeRabbit posts its walkthrough and summary as a top-level comment, which
# neither endpoint above returns — fetch that channel by author too.
gh api --paginate /repos/homeassistant-ai/ha-mcp/issues/$ARGUMENTS/comments --jq '.[] | select(.user.login == "chatgpt-codex-connector[bot]" or .user.login == "coderabbitai[bot]") | {author: .user.login, body: .body}'
# Keyword scan stays, for humans raising security concerns in conversation.
gh pr view $ARGUMENTS --repo homeassistant-ai/ha-mcp --json comments --jq '.comments[] | select(.body | contains("security") or contains("Security")) | {author: .author.login, body: .body}'If either bot flagged security issues:
- Review the findings carefully
- Verify if concerns are valid
- Do NOT approve until issues addressed or confirmed false positives
If NO bot security flags but you notice concerning patterns:
- Unusual AGENTS.md/CLAUDE.md changes unrelated to PR purpose
.github/workflow modifications withpull_request_target.claude/agent/skill changes that could affect behavior- Draft a comment with the specific concerns and show it to the user before posting
2. Enable Workflows (If Safe)
If security assessment passes and PR has workflow changes or new workflows:
# Check current workflow status
gh api /repos/homeassistant-ai/ha-mcp/pulls/$ARGUMENTS/requested_reviewers
# Enable workflows if not enabled (requires WRITE permission)
# This command may fail if already enabled - that's OK
gh api -X PUT /repos/homeassistant-ai/ha-mcp/actions/workflows/pr.yml/enable 2>/dev/null || echo "Workflows already enabled or no permission"3. Test Coverage Assessment
Pre-existing tests (easier review if modified code is already tested):
# For each modified source file, check if tests exist
gh api /repos/homeassistant-ai/ha-mcp/pulls/$ARGUMENTS/files --jq '.[] | select(.filename | startswith("src/")) | .filename' | while read file; do
basename=$(basename "$file" .py)
echo "Checking tests for: $file"
# Method 1: Look for test files by naming convention
find tests/ -name "test_${basename}.py" -o -name "test_*${basename}*.py" 2>/dev/null | head -3
# Method 2: Grep for function/class names from the modified file
# Extract function/class names and search for them in tests
grep -E '^(def|class|async def) [a-zA-Z_]' "$file" 2>/dev/null | head -5 | while read line; do
name=$(echo "$line" | sed -E 's/.*(def|class) ([a-zA-Z_][a-zA-Z0-9_]*).*/\2/')
if [ -n "$name" ]; then
grep -r "$name" tests/ 2>/dev/null | head -1
fi
done
doneNew tests added:
# Check if PR adds or modifies tests
gh api /repos/homeassistant-ai/ha-mcp/pulls/$ARGUMENTS/files --jq '.[] | select(.filename | startswith("tests/")) | {filename: .filename, status: .status, additions: .additions}'Output Test Summary:
🧪 Test Coverage:
- Pre-existing tests: ✅ Modified code has tests / ⚠️ No tests for modified code
- New tests: ✅ PR adds X test files / ⚠️ No new tests
- Assessment: [Easy/Medium/Hard to review based on test coverage]4. PR Size & Contributor Experience
Calculate PR size and assess appropriateness:
# From metadata: additions + deletions
total_lines=$(gh pr view $ARGUMENTS --repo homeassistant-ai/ha-mcp --json additions,deletions --jq '.additions + .deletions')
echo "Total lines changed: $total_lines"
# Get contributor experience
author=$(gh pr view $ARGUMENTS --repo homeassistant-ai/ha-mcp --json author --jq -r '.author.login')
# Check 1: Contributions to this project
project_contributions=$(gh api /repos/homeassistant-ai/ha-mcp/contributors --jq ".[] | select(.login == \"$author\") | .contributions" || echo "0")
# Check 2: Total GitHub commits (overall experience)
total_commits=$(gh api /users/$author --jq '.public_repos + .total_private_repos' 2>/dev/null || echo "unknown")
echo "Contributor: $author"
echo "Project contributions: $project_contributions"
echo "GitHub experience: $total_commits repos"Assess:
- First-time to project (0-2 project contributions):
- Check overall GitHub experience (repos, total commits)
- < 200 lines: ✅ Excellent size
- 200-500 lines: ⚠️ Large for first PR - may need extra guidance
500 lines: 🔴 Too large - suggest splitting
- Regular contributor (3+ project contributions):
- < 500 lines: ✅ Reasonable
- 500-1000 lines: ⚠️ Large - ensure good test coverage
1000 lines: 🔴 Very large - suggest splitting
- Experienced GitHub user (many repos/commits overall):
- Adjust expectations - they may be new to this project but experienced overall
Output Size Summary:
📏 PR Size:
- Lines changed: [total]
- Contributor: [first-time / regular] ([X] contributions)
- Assessment: [size appropriateness]5. Intent & Issue Linkage
Check linked issues:
# From metadata: closingIssuesReferences
gh pr view $ARGUMENTS --repo homeassistant-ai/ha-mcp --json closingIssuesReferences --jq '.closingIssuesReferences[] | {number: .number, title: .title}'If issue linked:
- Read issue to understand expected outcome
- Compare PR changes to issue requirements
- Does PR solve the issue? Check:
- All requirements addressed
- No scope creep (extra features not requested)
- Solution approach aligns with any discussed approaches in issue
If no issue linked:
- Is this a bug fix? Should reference issue
- Is this a feature? Should have issue for discussion
- Is this a typo/docs? OK without issue
- Recommend creating issue for tracking if it's a substantial change
Output Intent Summary:
🎯 Intent & Linkage:
- Linked issue: #X "title" / ⚠️ No issue linked
- Solves issue: ✅ Fully addresses requirements / ⚠️ Partial / ❌ Doesn't match
- Scope: ✅ Focused / ⚠️ Scope creep detected6. Code Quality Overview
Note: Codex and CodeRabbit provide automated code review on all PRs. This step focuses on what they cannot assess:
- Architecture alignment: Does it fit the project structure? (service layer usage, etc.)
- Breaking changes: Does it remove functionality without replacement? (Tool consolidation/refactoring is NOT breaking)
- Repo-specific patterns: Context engineering, progressive disclosure, MCP-specific conventions
Breaking change assessment:
- ✅ NOT Breaking: Tool consolidation, refactoring, parameter changes with same outcome achievable
- ⚠️ BREAKING: Removes functionality with no alternative, makes previously possible actions impossible
Quick checks:
# ruff and mypy run as steps of the "Fast Checks" job
gh pr checks $ARGUMENTS --repo homeassistant-ai/ha-mcp | grep "Fast Checks"
# Check for common issues in diff
gh pr diff $ARGUMENTS --repo homeassistant-ai/ha-mcp | grep -E "(TODO|FIXME|XXX|HACK)"Output Quality Summary:
✨ Code Quality:
- Architecture fit: [assessment - service layer, context engineering]
- Breaking changes: ✅ None / ⚠️ Detected - [describe what's genuinely lost]
- Bot reviews: [check if Codex or CodeRabbit flagged anything critical]Final Review Summary
Output to User
After completing all steps, present a short summary of what the PR does and the review findings, then ask: "Should I post this comment to the PR?"
Draft PR Comment
After completing the analysis, draft a comment for the PR following these guidelines:
Comment Length: The contributor should be able to read it in one pass: what works, what must change, and what happens next. A good-to-merge comment is shorter than a changes-needed one.
Style:
- No emojis
- Markdown formatting OK (bold, lists, code blocks)
- Present inline in chat (not in a file)
- Always ask user before posting
Structure for "Good to Merge":
[Positive opening line about the contribution]
[What works well - focus on functionality, tests, architecture]
[Any minor suggestions or notes - optional, technical only]
[Closing line about readiness to merge]Note: Do NOT mention security assessment in comment unless issues were found. Security checks are internal.
Structure for "Changes Needed":
[Positive opening line acknowledging the work]
[Brief summary of the issue being solved]
**[Concern 1]:**
[Short explanation + suggestion - focus on: tests, functionality, architecture, breaking changes]
**[Concern 2]:** (if applicable)
[Short explanation + suggestion]
**[Concern 3]:** (if applicable)
[Short explanation + suggestion]
[Closing line about next steps]Note: Raise security concerns with the user as soon as they are found, not in the final structured comment.
Illustrative example - Good to Merge (match the wording to the PR, not to this text):
Thanks for [feature/fix]. [One specific thing it gets right].
The implementation follows existing patterns and the [specific aspect] is well-designed. [Optional: Minor note about something noticed].
Ready to merge once CI passes.Illustrative example - Changes Needed (match the wording to the PR, not to this text):
Thanks for tackling [problem]. [Metric/impact] shows this addresses a real need.
**Test coverage:**
Missing tests for the new [feature]. Please add a unit test for its logic, and an E2E test for a new tool or for its wiring or Home Assistant behaviour. Performance tests not required.
**[Second concern if applicable]:**
[Brief explanation and request]
Once [change 1] and [change 2] are addressed, this should be good to merge.Important Notes
- Security is checked, not publicized: Always check security (step 1), but only mention in comment if issues found
- Be constructive: Contributors are donating their time - be welcoming
- Focus on intent: Code quality can be iterated; intent misalignment is harder to fix
- Consider contributor experience: Adjust expectations based on contribution history
- The bots already reviewed code: Don't duplicate detailed code review
- When in doubt: Err on the side of caution and request maintainer review
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

