Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

ha-frontend-demo

Skill by home-assistant

Guides work on the standalone demo of the Home Assistant frontend, which runs the full UI against mocked APIs. It also covers shared demo stubs used by the gallery and how to validate both.

  • Score 83
  • 5.8k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install ha-frontend-demo

Built from the published package, never by AI.

git clone --depth 1 https://github.com/home-assistant/frontend /tmp/frontend && mkdir -p ~/.claude/skills && cp -r /tmp/frontend/.agents/skills/ha-frontend-demo ~/.claude/skills/ha-frontend-demo

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install ha-frontend-demo in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill guides work on the standalone demo of the Home Assistant frontend. The demo runs the full frontend against a mocked backend, so it needs no Home Assistant server. It is published at demo.home-assistant.io and is useful for loading the real UI in a browser, for example to take screenshots.

It covers the demo structure, the demo configurations selected by URL slug, hash-based page routing, and the mocked WebSocket and REST APIs in demo/src/stubs/. It explains that these stubs are shared with gallery pages, so changes need checks in both consumers. It is aimed at developers who change files under demo/ or run and validate the demo in the Home Assistant frontend repository.

Written from the project's SKILL.md and checked against it.

What it can do

  • Run the demo serverStarts the demo development server on localhost port 8090, optionally detached in the background.
  • Open a specific demoSelects a demo configuration with the demo query parameter, using slugs defined in demo-configs.ts.
  • Open a specific pageRoutes to a frontend path such as the energy dashboard tabs using the URL hash.
  • Change shared stubs safelyFinds callers of demo/src/stubs/ in demo and gallery code before changing or removing a stub.
  • Regenerate core dataUses script/gen_demo_core_data to refresh generated service, trigger and condition data from Home Assistant Core.
  • Validate the demoPoints to the ha-frontend-testing skill for demo and gallery validation workflows.

What you need

  • pnpm to run the demo commands
  • A checkout of the Home Assistant frontend repository

Try asking

  • Open the water tab of the energy dashboard in the second demo.
  • Check which gallery pages use a stub before I change it.
  • Regenerate the demo core data for services, triggers and conditions.

Good to know

  • The demo runs against a mocked backend, not a real Home Assistant server.
  • Generated service and trigger files must not be edited by hand.
  • A stub change that looks correct in the demo can still break a gallery page.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agents/skills/ha-frontend-demo/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md4 KB

Alternatives to ha-frontend-demo

All alternatives →

Compare with react-component-performance, react-component-performance or lecture-style

ha-frontend-demo: common questions

Does the Home Assistant demo need a Home Assistant server?

No. The demo is the full Home Assistant frontend running against a mocked backend, so it needs no Home Assistant server.

How do I open a specific demo configuration?

Use the demo query parameter with a slug from demoConfigs in demo/src/configs/demo-configs.ts. An unknown slug falls back to the first entry.

Why check the gallery when changing demo stubs?

The gallery and the demo use stubs differently, so a change that works in the demo can break a gallery page. The source says to validate both consumers.

How do I install ha-frontend-demo?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is ha-frontend-demo free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is ha-frontend-demo safe to use?

It scores 83 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to ha-frontend-demo?

Similar skills: react-component-performance, react-component-performance, lecture-style, workshop-style.

ha-frontend-demo Install

Add to stack

Loading.