Agent skill

Ha Frontend Review

by home-assistant in home-assistant/frontend

Home Assistant frontend PR and review guidance, including implementation quality, existing review feedback, established design patterns, and the authority of UI/UX evidence.

Apache-2.0Auto-check passedFrontend & Design

Install Ha Frontend Review

skills CLI
$ npx skills add home-assistant/frontend --skill ha-frontend-review -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install home-assistant/frontend ha-frontend-review --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/home-assistant/frontend.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/ha-frontend-review .claude/skills/ha-frontend-review && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
ha-frontend-review
GitHub stars
5.7k
Token cost
~2.2k tokens
SKILL.md length
1,172 words
Files
1
Skills in repo
12
Repo updated
First seen
Licence
Apache-2.0

At a glance

Home Assistant frontend PR and review guidance, including implementation quality, existing review feedback, established design patterns, and the authority of UI/UX evidence.

  • Works in 3 steps: Establish the review scope from the diff… → Before identifying findings, use the… → Apply all loaded guidance within that…
  • Reviewing frontend changes
  • SKILL.md covers Review Preparation, Pull Request Body, Pre-Submission Checklist and Recurring Review Issues, plus 2 more sections
  • Calls pnpm

What it does

Ha Frontend Review is an agent skill from home-assistant/frontend. Home Assistant frontend PR and review guidance, including implementation quality, existing review feedback, established design patterns, and the authority of UI/UX evidence. Use when reviewing frontend changes, preparing a PR, checking recurring review issues, or applying the PR template.

Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Frontend & Design, covering UI design and Design patterns. It works with Home Assistant. The repository describes itself as: :lollipop: Frontend for Home Assistant. The licence is Apache-2.0.

When your agent uses it

  • Reviewing frontend changes
  • Checking recurring review issues
  • Applying the PR template

Example prompts

  • “/ha-frontend-review”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Establish the review scope from the diff and the behavior changed by it.
  2. Before identifying findings, use the project skill catalogue to load every matching companion's SKILL.md. Follow applicable companion…
  3. Apply all loaded guidance within that scope. Report only problems introduced or worsened by the changeset, anchored to changed lines. Read…

What it can do on your machine

Read from SKILL.md and the folder at commit 3280113. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • pnpm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • developers.home-assistant.io

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Ha Frontend Review loads about 2.2k tokens when it runs. Until then it costs about 77 tokens; SKILL.md has 1,172 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~77
When it runs · the whole SKILL.md, loaded when a task matches
~2.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from home-assistant/frontend at commit 3280113, republished under its Apache-2.0 licence (© home-assistant). 1,172 words, ~2,241 tokens.

Download SKILL.mdSave it as .claude/skills/ha-frontend-review/SKILL.md (or your agent's skills folder).
name
ha-frontend-review
description
Home Assistant frontend PR and review guidance, including implementation quality, existing review feedback, established design patterns, and the authority of UI/UX evidence. Use when reviewing frontend changes, preparing a PR, checking recurring review issues, or applying the PR template.

HA Frontend Review

Use this skill when reviewing Home Assistant frontend changes or preparing a pull request.

Review Preparation

  1. Establish the review scope from the diff and the behavior changed by it.
  2. Before identifying findings, use the project skill catalogue to load every matching companion's SKILL.md. Follow applicable companion references in those skills as well; this review skill supplies the workflow, and companions supply the domain-specific criteria.
  3. Apply all loaded guidance within that scope. Report only problems introduced or worsened by the changeset, anchored to changed lines. Read surrounding code to understand affected behavior, not to generate unrelated cleanup or migration requests.

Pull Request Body

When creating a pull request, use .github/PULL_REQUEST_TEMPLATE.md as the body.

  • Do not omit, reorder, or rewrite template sections.
  • Check the appropriate "Type of change" box based on the actual change.
  • Do not check checklist items on behalf of the user.
  • If the PR includes UI changes, remind the user to add screenshots or a short video.
  • Explain what the change does for users, not only implementation details.
  • Use Markdown.

Pre-Submission Checklist

  • pnpm lint passes when practical for the scope.
  • pnpm test or focused relevant tests are green when practical for the scope.
  • Each test added by the change protects real logic, not the look of a component.
  • User-facing text is localized and follows ha-frontend-user-facing-text guidance.
  • Components handle loading, error, unavailable, and missing-entity states.
  • Entity existence is checked before property access.
  • Event listeners and subscriptions are cleaned up.
  • UI is accessible to screen readers and keyboard users.

Recurring Review Issues

Scope and public surface:

  • Keep changes independently reviewable and limited to the requested area.
  • Prefer existing Home Assistant helpers, Lit primitives, and component seams over parallel implementations.
  • Challenge new public properties and optional feature surface when transient options or existing seams meet the requirement with less lifecycle and consistency cost.

Stateful and asynchronous UI:

  • Review transitions in both directions, not only individual rendered states.
  • When controls reappear, restore valid defaults instead of retaining state that was only valid while they were hidden.
  • Establish immutable dirty-state baselines before asynchronous work, guard against stale responses, and preserve unsaved state in mounted editors.
  • Determine an action's current meaning before applying dirty-state checks, especially when an action can change between Save and Close.

Readiness and invalidation:

  • Treat readiness as the first displayable terminal result, including stable empty and error states.
  • Register child readiness before resolving the parent, do not treat fallback work as terminal, and replay readiness correctly for cached or reused panels.
  • Ensure every value read by memoized output participates in its invalidation.

Repository-owned contracts:

  • Consult the public frontend developer documentation for documented architecture, data flow, design, and development workflows.
  • For new leaf components, load ha-frontend-contexts and verify they consume narrow contexts instead of introducing a broad hass property; containers and external APIs may still require hass.
  • Verify backend assumptions against the owning Core, Supervisor, or WebSocket implementation, and component assumptions against the exported component contract.
  • Prefer canonical repository helpers and test setup over duplicate local implementations.
  • Promote AI-review concerns into durable guidance only when supported by code evidence, reproduced behavior, an accepted corrective commit, or human-maintainer validation.

User experience and accessibility:

  • Forms need proper labels, helper text, and validation feedback.
  • Form markup should not cause password managers to identify fields incorrectly.
  • Clickable areas should be large enough for touch interaction.
  • Hover, active, disabled, loading, and focus states should be clear.

Dialog and modal patterns:

  • Multi-step operations should show progress.
  • Dialog state should survive background operations correctly.
  • Cancel and close buttons should behave consistently.
  • Defaults should be helpful without blocking user override.

Component design patterns:

  • Terminology should be consistent. Use words like "Join" or "Apply" instead of "Group" when that better matches the user action.
  • Visual hierarchy should use appropriate font sizes, weights, and spacing ratios.
  • Components should align to the design grid.
  • Badges and indicators should be placed consistently.

Code quality:

  • Null and undefined paths should be handled explicitly.
  • Potentially undefined array and object access should be guarded.
  • Event handlers, timers, observers, and subscriptions should be cleaned up.

Configuration and props:

  • Make configuration fields optional when sensible.
  • Provide reasonable defaults.
  • Keep APIs extensible without adding speculative abstractions.
  • Validate configuration before applying changes.
Show full SKILL.md (475 more words)Show less

UI/UX Evidence

For user-facing changes, establish the existing design context as part of frontend review:

  • Treat an applicable gallery specification as the authoritative repository source for the documented component or interaction. Inspect its written guidance and demos when present.
  • Note relevant production designs, approved designs, and shared ha-* components so the implementation can also be compared with established frontend behaviour.
  • Require the applicable gallery documentation or demo to change when the implementation intentionally changes behaviour documented there.
  • Prefer an established input layout or appropriate shared component over a raw input or ad hoc control.
  • Treat explicit UI/UX approval, current repository guidance, and direct human or workflow instructions as stronger evidence than inference.
  • Treat linked tasks as evidence of the problem and stated requirements, not automatic UI/UX approval.
  • When the direction remains uncertain, search frontend pull requests that carry or previously carried Needs UX. Inspect their label history, comments, and reviews rather than relying on the current label alone.
  • Judge relevant feedback by its content and surrounding discussion. When GitHub provides author_association, prioritise feedback marked MEMBER.
  • Prefer recent feedback about similar interactions or components. Label removal can show that a workflow gate moved on, but does not prove approval without the surrounding discussion.
  • Summarise the applicable guidance instead of maintaining a reviewer list or treating one historical decision as a permanent rule.

Review Flow

  • Before reviewing a pull request, read its existing comments, reviews, and threads, including their status, resolver, and Copilot resolution reason when available.
  • Prioritise substantive human feedback, especially from authors marked MEMBER, and validate agent-generated feedback against the code and repository guidance.
  • Do not duplicate unresolved findings as new inline comments; reference any that still need action in the review summary. Treat resolved feedback as closed only when the resolution reason or surrounding discussion supports that outcome; otherwise validate it against the current code before suppressing it. Respect Won't fix and Incorrect reasons.
  • When a later commit addresses an unresolved thread, note in the review summary that it looks addressed, linking the thread and the commit, so it can be resolved. Do not report it as still open.
  • Identify behavioral regressions, bugs, accessibility issues, and missing tests that ha-frontend-testing calls for first.
  • Do not ask for new tests on visual components. If the visuals clearly changed and the PR has no screenshots or videos, suggest adding them instead.
  • When the change adds something repository guidance rules out, such as a rendering test, open the comment with the removal ("Remove this test file") and cite the guidance in one sentence. Do not critique how the unwanted code is written, as that reads as a request to fix it.
  • Record the applicable UI/UX evidence for user-facing changes, whether or not further input is needed.
  • Keep style-only comments secondary unless they affect maintainability or user experience.
  • Prefer small, direct fixes over large refactors during review follow-up.

© home-assistant, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/ha-frontend-review of home-assistant/frontend.

Open the folder on GitHubat commit 3280113

Compare with similar skills

Ha Frontend Review next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Ha Frontend Review compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Ha Frontend Review this skillhome-assistant/frontend5.7k—~2.2kAutomated safety check: PassApache-2.0
Od UI UX Pro Maxcriptogus/agent-evolve-network288—~761Automated safety check: PassApache-2.0
Design Guidepaperclipai/paperclip100k1 repos~3.1kAutomated safety check: PassMIT
Design GuideLF-Decentralized-Trust-labs/gitmesh144—~3.1kAutomated safety check: PassApache-2.0
Svelte UI Designpodman-desktop/extension-bootc474—~1.3kAutomated safety check: PassApache-2.0
Frontend Enhancerailabs-393/ai-labs-claude-skills455—~3kAutomated safety check: PassMIT

Similar skills

  • Od UI UX Pro Max

    criptogus/agent-evolve-network

    UI/UX design patterns and best practices Use when the user asks for ui ux pro max work, or mentions od, ui, ux.

    288 GitHub stars~761 tokensUpdated 2 days ago
    Frontend & DesignAuto-check passed
  • Design Guide

    paperclipai/paperclip

    Paperclip UI design system guide for building consistent, reusable frontend components.

    100k GitHub starsUsed in 1 repo~3.1k tokens
    Frontend & DesignAuto-check passed
  • Design Guide

    LF-Decentralized-Trust-labs/gitmesh

    GitMesh Agents UI design system. An agent skill from LF-Decentralized-Trust-labs/gitmesh.

    144 GitHub stars~3.1k tokensUpdated 6 days ago
    Frontend & DesignAuto-check passed
  • Svelte UI Design

    podman-desktop/extension-bootc

    Guides designing and building Svelte 5 UI components in the bootc extension.

    474 GitHub stars~1.3k tokensUpdated 2 days ago
    Frontend & DesignAuto-check passed
  • Frontend Enhancer

    ailabs-393/ai-labs-claude-skills

    This skill should be used when enhancing the visual design and aesthetics of Next.js web applications.

    455 GitHub stars~3k tokensUpdated 11 mo ago
    Frontend & DesignAuto-check passed
  • UI UX Design Pro

    LeoYeAI/openclaw-master-skills

    Senior-level UI/UX design expert for building data-driven, premium production interfaces.

    2.2k GitHub stars~5.3k tokensUpdated 2 mo ago
    Frontend & DesignAuto-check passed

More from home-assistant/frontend

All 12 skills in this repo
  • Ha Frontend Components

    home-assistant/frontend

    Home Assistant frontend component patterns. An agent skill from home-assistant/frontend.

    5.7k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Ha Frontend Contexts

    home-assistant/frontend

    Home Assistant frontend Lit context and hass migration guidance.

    5.7k GitHub stars~1.9k tokensUpdated today
    Auto-check passed
  • Ha Frontend Demo

    home-assistant/frontend

    Home Assistant standalone demo structure, configurations, URL navigation, mocked APIs, shared demo stubs used by gallery, and verification.

    5.7k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Ha Frontend Gallery

    home-assistant/frontend

    Home Assistant frontend gallery structure, pages, demos, content, and verification.

    5.7k GitHub stars~2k tokensUpdated today
    Auto-check passed
  • Ha Frontend Styling

    home-assistant/frontend

    Home Assistant frontend styling, theming, spacing, responsive layout, RTL, and View Transitions guidance.

    5.7k GitHub stars~799 tokensUpdated today
    Auto-check passed
  • Ha Frontend Testing

    home-assistant/frontend

    Home Assistant frontend testing and validation workflow. An agent skill from home-assistant/frontend.

    5.7k GitHub stars~1.7k tokensUpdated today
    Auto-check passed

Works with

Questions about Ha Frontend Review

What does Ha Frontend Review do?

Home Assistant frontend PR and review guidance, including implementation quality, existing review feedback, established design patterns, and the authority of UI/UX evidence. Ha Frontend Review is an agent skill from home-assistant/frontend. Home Assistant frontend PR and review guidance, including implementation quality, existing review feedback, established design patterns, and the authority of UI/UX evidence.

When should I use Ha Frontend Review?

Ha Frontend Review fits situations like: reviewing frontend changes; checking recurring review issues; applying the PR template.

How do I install Ha Frontend Review in Claude Code?

Run `npx skills add home-assistant/frontend --skill ha-frontend-review -a claude-code`. Or copy the skill folder (.agents/skills/ha-frontend-review in home-assistant/frontend) into .claude/skills/ha-frontend-review in your project. Claude Code loads it when a task matches its description.

How do I install Ha Frontend Review in Codex?

Run `npx skills add home-assistant/frontend --skill ha-frontend-review -a codex`. Or copy the skill folder (.agents/skills/ha-frontend-review in home-assistant/frontend) into .agents/skills/ha-frontend-review in your project. Codex loads it when a task matches its description.

Can I use Ha Frontend Review in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add home-assistant/frontend --skill ha-frontend-review -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ha-frontend-review, .gemini/skills/ha-frontend-review, .github/skills/ha-frontend-review and .opencode/skills/ha-frontend-review in your project.

What does Ha Frontend Review need to run?

Going by SKILL.md and its folder, Ha Frontend Review needs the command-line tools its instructions call (pnpm).

Does Ha Frontend Review access the network?

SKILL.md names 1 domain. As links in the text: developers.home-assistant.io. This is read from the text; nothing was executed.

Is Ha Frontend Review safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Ha Frontend Review use?

Ha Frontend Review is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Ha Frontend Review use?

About 2.2k tokens (SKILL.md is roughly 9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Ha Frontend Review?

Skills that share tags, products or a category with Ha Frontend Review: Od UI UX Pro Max (criptogus/agent-evolve-network, 288 stars), Design Guide (paperclipai/paperclip, 100k stars), Design Guide (LF-Decentralized-Trust-labs/gitmesh, 144 stars) and Svelte UI Design (podman-desktop/extension-bootc, 474 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Ha Frontend Review?

home-assistant (a GitHub organization) maintains it in home-assistant/frontend, which has 5,699 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 11, 2026.

Source: home-assistant/frontend on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.