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-gallery

Skill by home-assistant

Guides changes to the Home Assistant frontend gallery under gallery/, covering pages, demos, sidebar entries, mock data, and builds. It is for developers working on the Home Assistant frontend repository.

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

Install ha-frontend-gallery

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-gallery ~/.claude/skills/ha-frontend-gallery

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

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

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

About

This skill gives an AI assistant the rules for working in the gallery under gallery/. The gallery is a developer and designer reference for Home Assistant frontend UI patterns. It documents component APIs, shows Lovelace and more-info states, and provides demos that can be inspected outside a running Home Assistant instance.

The skill explains how pages are generated from markdown files and TypeScript demo modules that share a page ID. It covers sidebar ordering and subsections, demo components, shared mock data, and content standards. It lists the verification commands to run, such as gallery/script/build_gallery and pnpm lint. It is aimed at contributors to the Home Assistant frontend.

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

What it can do

  • Gallery page generationExplains how markdown and TypeScript files with the same page ID become one gallery page.
  • Sidebar configurationDescribes how to set categories, headers, page order, and subsections in gallery/sidebar.js.
  • Markdown pagesCovers frontmatter titles, sentence case headings, and copyable code examples for gallery documentation.
  • TypeScript demo pagesShows how demo modules define custom elements and import production components from src/.
  • Demo helpers and mock dataPoints to gallery-only wrappers like demo-card and shared fake states in gallery/src/data/.
  • Content standardsApplies Home Assistant copy rules for terminology, Remove versus Delete, and Add versus Create.
  • Verification stepsLists which build, lint, and type checks to run for markdown, demo, and visual changes.

What you need

  • A local clone of the Home Assistant frontend repository
  • pnpm to run lint and type check commands
  • The repository AGENTS.md guidance

Try asking

  • Add a new gallery page for the ha-button component with a demo
  • Add a subsection called Inputs to the components category in the gallery sidebar
  • Check my gallery markdown changes against the Home Assistant copy standards

Good to know

  • Do not run pnpm lint:types or tsc with file arguments
  • Do not hand-edit generated output under gallery/build/ or gallery/dist/
  • Gallery markdown is not localized with localize

Security check

A

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

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

Inside the skill

  • SKILL.md8 KB

Alternatives to ha-frontend-gallery

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

ha-frontend-gallery: common questions

How does a gallery page get created?

A markdown file and a TypeScript file with the same page ID under gallery/src/pages/ become one gallery page. A page can also have only markdown or only a demo.

What commands verify gallery changes?

The skill says to run gallery/script/build_gallery for markdown, sidebar, and page generation changes, and pnpm lint for TypeScript demo changes. Type checks use pnpm lint:types without file arguments.

Should gallery demos use production components?

Yes. The skill says to prefer real production components from src/ instead of creating gallery-only replacements.

How do I install ha-frontend-gallery?

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

Is ha-frontend-gallery free?

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

Is ha-frontend-gallery 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-gallery?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

ha-frontend-gallery Install

Add to stack

Loading.