issue-to-pr-resolver
Skill4.9k starsChanged 2 months agoMITView on GitHub
Implement a GitHub issue end-to-end — create a worktree branch, implement the feature with tests, create a draft PR, then iteratively resolve all CI failures and review comments until the PR is clean. Use when you need to fully implement a GitHub issue from start to merge-ready. Triggers on "implement issue", "resolve issue", "/issue-to-pr-resolver <number>".
- Commits and pushes
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
- contrib-pr-reviewSkill
- contributors-updateSkill
- issue-analysisSkill
- my-pr-checkerSkill
- wtSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 31
Follow project conventions (see AGENTS.md for patterns, naming, error handling)
- Very specific: line 32
Write tests — all new MCP tools in src/ha_mcp/tools/ need E2E tests
- Distinctive: line 37
If a non-obvious choice has significant consequences, present the available options to the user and let them choose.
- Very specific: line 56
Before marking ready (gh pr ready), update the PR description to reflect all changes made.
≈ “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
Issue-to-PR Resolver
Implement GitHub issue #$ARGUMENTS in homeassistant-ai/ha-mcp end-to-end.
Phase 1: Setup
Read the issue:
gh issue view "$ARGUMENTS" --repo homeassistant-ai/ha-mcp --json title,body,labels,comments,authorCreate a worktree from repo root:
cd "$(git rev-parse --show-toplevel)"
git checkout master && git pull origin master
git worktree add "worktree/issue-$ARGUMENTS" -b "feature/issue-$ARGUMENTS"
git -C "worktree/issue-$ARGUMENTS" submodule update --init --recursive
cd "worktree/issue-$ARGUMENTS"Phase 2: Implement
- Analyze codebase structure and patterns before writing code
- Follow project conventions (see
AGENTS.mdfor patterns, naming, error handling) - Write tests — all new MCP tools in
src/ha_mcp/tools/need E2E tests - Make atomic, well-described commits using conventional commit prefixes
Philosophy: Work autonomously. Don't ask about every small decision. Fix unrelated test failures encountered. Document all choices for the final summary.
If a non-obvious choice has significant consequences, present the available options to the user and let them choose.
Phase 3: Create PR
Write the PR body to local/pr-body-$ARGUMENTS.md first. local/ is git-ignored, so a new worktree does not have it; create it with mkdir -p local if it does not exist. Build the body from .github/pull_request_template.md: keep its headings, put Closes #$ARGUMENTS and the description under ## What does this PR do?, and delete ## Future improvements unless the user has confirmed work to defer. Then push and create the PR:
git push -u origin "feature/issue-$ARGUMENTS"
PR_NUMBER=$(gh pr create --draft \
--repo homeassistant-ai/ha-mcp \
--title "<descriptive title>" \
--body-file "local/pr-body-$ARGUMENTS.md" | grep -oE '[0-9]+$')Wait for CI:
gh pr checks "$PR_NUMBER" --repo homeassistant-ai/ha-mcp --watchBefore marking ready (gh pr ready), update the PR description to reflect all changes made.
Phase 4: Resolution Loop
Repeat until all checks green and no unresolved threads:
Check for issues:
gh pr checks "$PR_NUMBER" --repo homeassistant-ai/ha-mcp
gh api repos/homeassistant-ai/ha-mcp/pulls/"$PR_NUMBER"/comments \
--jq '.[] | {id, path, line, author: .user.login, body}'
gh api graphql -F pr="$PR_NUMBER" -f query='query($pr: Int!) { repository(owner:"homeassistant-ai", name:"ha-mcp") { pullRequest(number:$pr) { reviewThreads(first:100) { nodes { id isResolved comments(first:1) { nodes { databaseId body } } } } } } }'Resolve each comment (both steps required):
# 1. Reply on the inline thread
gh api repos/homeassistant-ai/ha-mcp/pulls/"$PR_NUMBER"/comments/<COMMENT_ID>/replies \
-f body="✅ Fixed in [commit]. [explanation]"
# or: -f body="📝 Not addressing because [reason]."
# 2. Resolve the thread via GraphQL
gh api graphql -f query='mutation($threadId: ID!) { resolveReviewThread(input: {threadId: $threadId}) { thread { id isResolved } } }' \
-f threadId="<PRRT_...>"After pushing fixes, wait and re-check:
gh pr checks "$PR_NUMBER" --repo homeassistant-ai/ha-mcp --watchPhase 5: Final Report
Once all checks pass and all threads resolved:
gh pr comment "$PR_NUMBER" --repo homeassistant-ai/ha-mcp --body "## Implementation Summary
**Choices Made:**
- [key technical decisions with rationale]
**Problems Encountered:**
- [issues faced and how resolved]
- [unrelated test failures fixed, if any]
"Report to user: PR number, status, key choices.
Rules
- Never commit to master — always work in the worktree
- Always create PRs as draft — never mark ready without user request
- Maximum 5 resolution iterations before reporting blockers
- Discovered improvements: fix-in-place by default. See AGENTS.md § Boy Scout Rule — Handling Discovered Improvements for the full rubric. Never open a follow-up PR or issue without explicit user approval; never populate
## Future improvementswithout the user explicitly confirming the work is out of scope.
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.

