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.
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-demoRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/home-assistant/frontend /tmp/frontend && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/frontend/.agents/skills/ha-frontend-demo ~/.gemini/antigravity-cli/skills/ha-frontend-demoAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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
ANo 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 →Diagnoses slow React components and suggests targeted performance fixes. Built for developers who want to reduce re-renders or list lag in React UIs.
Diagnoses slow React components and suggests targeted performance fixes. Built for React developers who need to reduce re-renders, list lag, or expensive render work.
Designs masterclass-style lectures as slide courses with dense pages, long teacher narration and rare quizzes. Built for subjects where understanding matters more than hands-on practice.
Designs hands-on workshop courses in which the learner practises through exercise and quiz pages instead of watching. It suits workshops, bootcamp sessions and skills the learner should leave able to use.
Analyzes competition and develops market positioning strategies using Porter's Five Forces, Blue Ocean Strategy, and positioning maps. Useful for founders and teams evaluating competitors or preparing a startup or investor pitch.
Designs courses whose content depends on current or external facts. It researches the topic first, records each claim with its source, and builds the outline and pages from fetched material. Built for educators teaching time-sensitive subjects.
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.
