Automated summary
Finds open Home Assistant core pull requests that are genuinely ready to merge by checking CI, merge-gate statuses, code-owner approval, merge conflicts and unresolved review threads.
Strengths
- Lays out five explicit checks (combined statuses, check runs, mergeable_state, approvals, review threads) and disqualifies any PR failing even one
- Warns that the GitHub search index lags and requires per-PR verification with full pagination of check runs and reviews
- Interprets mergeable_state precisely (clean, blocked, behind, unstable, dirty) and forbids rebasing, per AGENTS.md
- Ships ready-to-run search queries, including 'quick wins' and already-approved filters
Limitations
- Hard-coded to the home-assistant/core repository and its specific status contexts, so it does not transfer directly to other projects
- Assumes GitHub API access (statuses, check runs, paginated reviews) that the skill does not describe and that the environment must supply
- Does not merge anything: it returns a shortlist plus near-misses that need a nudge
- mergeable_state latency forces repeated polling, which can make runs noticeably slow
Use it during merge-queue triage or when someone asks for 'quick wins' from the open PR backlog of Home Assistant.
Avoid it for repositories other than home-assistant/core, or when the goal is an in-depth code review rather than a mergeability assessment.
Security analysis
SafeThis skill is pure procedural guidance for querying GitHub pull requests in home-assistant/core: it describes search queries, pagination of statuses/check-runs/reviews/threads, and how to interpret mergeable_state values. There is no executable code, no shell invocation, no credential or token handling, no network calls to anything but GitHub's own API, and no destructive or obfuscated instructions. No tools are declared, so risk is limited to read-only repository inspection.
No concerns found
How this analysis is madeExamples
Find me 10 open PRs in home-assistant/core that are ready to merge right now — focus on quick wins with the small-pr label.Do a merge-queue triage of the open home-assistant/core PRs and give me the near-misses, with the one specific thing each one needs.Check whether PR #123456 in home-assistant/core is actually mergeable: verify the merge-gate statuses, all check runs, conflicts and any unresolved review threads.name: ha-merge-queue description: Finds open Home Assistant pull requests that are genuinely ready to merge, checking CI, the merge-gate statuses, code-owner approval, merge conflicts, requested changes and unresolved review threads. Use when looking for PRs to merge, doing merge-queue triage, or asking for "quick wins" from the open PR backlog.
Find Ready-to-Merge Pull Requests
Produce a shortlist of open PRs a maintainer can approve and merge immediately, plus a short list of near-misses that each need one specific nudge. Default to 10 candidates unless the user asks for a different number.
Gather candidates
Search open PRs, excluding those that are structurally not mergeable:
repo:home-assistant/core is:open is:pr draft:false status:success -review:changes_requested
-label:"awaiting-frontend" -label:"stale" -label:"cla-needed"
Add label:"small-pr" for quick wins, or label:"code-owner-approved" / review:approved
for PRs already carrying an approval. Run several searches and pool the results — no single
query surfaces everything.
The search index lags reality by hours. Treat status: as a rough filter, never as proof;
verify every finalist with the per-PR checks below.
Verify each finalist
Check all five. A PR fails the shortlist if any one fails.
Paginate every list response before deciding. Check runs, reviews and review threads are all paged, typically 30 per page, and a full-suite Home Assistant PR runs to 40-odd check runs — so page one shows a green subset while a failure or a standing review sits on page two. Compare the returned count against the reported total and keep fetching until they match.
-
Merge-gate statuses — fetch the combined commit status. This is the cheapest and most informative call, and it is what actually blocks the merge button. Five contexts matter:
code-owner-approval(required for Platinum integrations),required-labels(red when the author checked no "Type of change" box),docs-missing(red when a user-facing change has no documentation PR),cla-bot, andblocking-label-awaiting-frontend. -
Check runs — the commit statuses do not cover GitHub Actions. Fetch the check runs and require every one to have reached an acceptable terminal result:
statusmust becompleted, andconclusionmust besuccess,skippedorneutral. Everything else disqualifies —failure,cancelled,timed_out,action_requiredandstale, and any run stillqueuedorin_progress. A green combined status sitting on top of a red or still-running test job is common, so the status list alone is never enough. -
Merge conflicts — read
mergeable_state. GitHub computes it asynchronously: a request that finds no cached answer returnsunknownand starts the computation, and the request after that can still returnunknown. Poll with bounded retries — a few attempts, pausing between them — and treat anunknownthat never resolves as not ready, rather than assuming it is fine.clean— every merge requirement met; merge nowblocked— some branch-protection requirement is unmet. It does not specifically mean "waiting on an approval", so do not report it that way by default: use the other four checks to establish which requirement is missing, and only call it awaiting review once they all come back clean.behind— the base branch has moved on. Actionable and often a one-click update, so surface it rather than dropping the PR.unstable— a non-required check is failing. Find out which one before shortlisting.dirty— merge conflict. The author needs to mergedevinto the branch. Do not tell them to rebase:AGENTS.mdforbids rewriting history on a PR branch once the PR is open, because reviewers need to see what changed since their last review.homeassistant/generated/integrations.jsonconflicts constantly, so PRs adding integrations go stale fast.- anything else (
draft,has_hooks, a value not listed here) — do not guess at what it means. Treat the PR as not ready and report the value you got.
-
Review submissions — fetch the reviews, not just the threads. A
CHANGES_REQUESTEDreview is returned here and nowhere else, and a reviewer can request changes with only a top-level body and no inline comments — such a PR has zero open review threads and looks clean to the check above. Take the latest submission per reviewer: a standingCHANGES_REQUESTEDthat no laterAPPROVEDfrom the same person supersedes disqualifies the PR, regardless of whether its inline threads have since been resolved — resolving a thread does not withdraw the review. Do not lean on the-review:changes_requestedsearch qualifier instead — the index is stale, andmergeable_state: blockeddoes not distinguish "needs an approval" from "changes were requested". -
Review threads — fetch review threads and read
is_resolved. Judge a thread by whether it is resolved or substantively addressed, never by who wrote it: an unresolved finding fromcopilot-pull-request-revieweris a bug report and can be a real defect, so read it on its merits before discounting it. Every thread still open counts against the PR until you have read it and concluded it needs no change — the question was answered, the suggestion was considered and declined, the point was fixed elsewhere in the diff. Say for each open thread what it is and why it does or does not block. Never discount one for the category it appears to fall into; an unaddressed defect is a blocker whether or not anyone is arguing about it.
Report
Rank by how little work each PR needs: clean first, then blocked with everything else
green. For each PR give the number as a full markdown link, the integration or core area,
one line on what it does, and its blocking state. Plenty of home-assistant/core PRs touch
helpers, the framework, the recorder or repo tooling and have no integration at all — name
what they touch instead, rather than dropping them or inventing one.
Then list the near-misses separately, each with the one action that unblocks it. The recurring ones:
- A failing test unrelated to the diff — name the test, say re-run the job.
required-labelsred — name the label to add (bugfix,new-feature, …).- Awaiting code-owner approval — name the code owner from
manifest.json. - A standing
CHANGES_REQUESTEDreview — name the reviewer, and say what they asked for. dirty— the author must mergedevand regenerate any generated files.
Call out mismatches worth a maintainer's attention: a PR whose body declares a breaking
change but carries no breaking-change label will silently miss the release notes.
IMPORTANT
- Only report in the CONSOLE. DO NOT ACT ON GITHUB — no comments, no reviews, no merges,
no pushes to contributor branches. Per
AI_POLICY.md, a human decides and acts. - Never call a PR ready on green CI alone. Read the diff of every PR you shortlist; CI cannot tell you whether the change is correct or wanted.
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/home-assistant-merge-queue-mte1lfm7/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/home-assistant-merge-queue-mte1lfm7' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/home-assistant-merge-queue-mte1lfm7/download' --output '.skill-downloads/home-assistant-merge-queue-mte1lfm7/SKILL.md.part' && mv '.skill-downloads/home-assistant-merge-queue-mte1lfm7/SKILL.md.part' '.skill-downloads/home-assistant-merge-queue-mte1lfm7/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/home-assistant-merge-queue-mte1lfm7/SKILL.md' && test -s '.skill-downloads/home-assistant-merge-queue-mte1lfm7/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/ha-merge-queue' && cp -R '.skill-downloads/home-assistant-merge-queue-mte1lfm7' '.claude/skills/ha-merge-queue'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/home-assistant-merge-queue-mte1lfm7'openskills read 'home-assistant-merge-queue-mte1lfm7'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/home-assistant-merge-queue-mte1lfm7/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.