Token导航 LogoToken导航

Agent Skill · 前端设计

homeassistant-dashboard-designer(家庭助理仪表板设计师)

homeassistant-dashboard-designer 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

homeassistant-dashboard-designer 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为调用外部服务;许可证信息还不明确,第三方扫描有提醒项,按安装量在前端设计类的 10,216 个 Skill 里排第 3,635。

总安装 1,212周安装 51GitHub Stars 5,186下载 424核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:homeassistant-dashboard-designer(家庭助理仪表板设计师)
来源仓库:https://github.com/ccostan/home-assistantconfig
仓库路径:skills/homeassistant-dashboard-designer
安装命令:
npx skills add https://github.com/ccostan/home-assistantconfig --skill homeassistant-dashboard-designer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/ccostan/home-assistantconfig --skill homeassistant-dashboard-designer

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

homeassistant-dashboard-designer 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。适合围绕仓库状态、代码变更或协作事项进行信息整理。通过 npx skills add 命令从 GitHub 仓库安装并使用。

安装前需确认权限范围、维护状态,以及是否涉及联网、命令执行或文件读写操作。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/homeassistant-dashboard-designer

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/ccostan/home-assistantconfig --skill homeassis…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要调用外部服务,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

homeassistant-dashboard-designer 怎么安装?

在终端执行 npx skills add https://github.com/ccostan/home-assistantconfig --skill homeassistant-dashb…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

homeassistant-dashboard-designer 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

homeassistant-dashboard-designer 需要什么权限?

权限级别是调用外部服务。该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

homeassistant-dashboard-designer 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

homeassistant-dashboard-designer 用的人多吗?

公开数据是累计安装 1,212 次,近一周安装 51 次,下载 424 次,GitHub 5,186 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

homeassistant-dashboard-designer 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 来源仓库有 5,186 星,维护活跃度相对可查。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
frontend-design

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
homeassistant-dashboard-designer

家庭助理仪表板设计师 · 本页

1,2125,186调用外部服务未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Home Assistant Dashboard Designer

Design dashboards as systems: predictable structure, reusable templates, minimal drift. Treat Stitch as inspiration only; translate to safe Lovelace YAML.

Primary Input: Natural Language (Default)

You can give natural-language guidance. The skill must infer the structured intent internally (dashboard intent, view name, entity mapping, constraints) while enforcing the design system and validating entities/services via the Home Assistant MCP when available.

Minimum helpful info to include in natural language:

  • What to change (add/remove/refactor) and why (the goal).
  • Where to change it: the exact view/partial path(s) under config/dashboards/**.
  • Any constraints you care about: desktop/mobile columns, time window preferences for graphs, "do not touch" templates/sections.

If any of the above is missing, ask targeted clarifying questions (do not demand a full "intent block").

Example natural-language request:

  • "Refactor config/dashboards/infrastructure/views/06_mariadb.yaml to match the button-card-first system used in other Infrastructure views. Keep the same entities, no new templates, 4 columns desktop / 2 columns mobile."

Optional Input: Structured Intent (Allowed, Not Required)

If the user provides structured intent, accept it. Do not require it.

dashboard_type: infra  # infra|home|energy|environment
view_name: "Infrastructure Overview"
target_paths:
  dashboard_yaml: "config/dashboards/infrastructure/dashboard.yaml"
  view_yaml: "config/dashboards/infrastructure/views/07_docker_containers.yaml"
entities:
  - name: "Proxmox01"
    cpu: "sensor.proxmox01_cpu"
    memory: "sensor.proxmox01_mem"
constraints:
  desktop_columns: 4
  mobile_columns: 2
notes:
  - "Preserve existing templates; minimize diff."

If updating an existing view and not obvious from context, ask:

  • Which view file (single view dict) is the source of truth?
  • Any "don't touch" areas/templates?
  • Any fallback cards already in use that must remain?

Output Contract (Always Produce)

  • One valid Lovelace view (single view dict)
  • Deterministic ordering (stable ordering of cards/sections)
  • Section comments (short, consistent)
  • Zero per-card styling variance (no one-off styles; use templates/snippets)
  • Fallback usage explicitly justified (YAML comments adjacent to the fallback card)

Card Priority Model

Attempt Tier 1 first. Use Tier 2 only if Tier 1 cannot express the requirement safely.

Tier 1 (primary):

  • custom:button-card (structure + tiles + headers + containers)
  • card-mod (shared/global polish only; shared snippets OK)
  • custom:flex-horseshoe-card (single-metric radial telemetry)
  • custom:mini-graph-card (single-metric trends)

Tier 2 (fallback, must justify in comments):

  • entities, markdown, history-graph, conditional
  • iframe (last resort)

Layout Rules (Hard Constraints)

  • Allowed layout containers: grid, vertical-stack
  • Maximum nesting depth: 2 (example: grid -> vertical-stack -> cards)
  • No horizontal-stack inside grid cells (prefer: more grid columns, or vertical-stack)
  • No freeform positioning
  • No layout logic embedded in card-mod
  • For dense tile lists in type: sections views, keep the outer panel full-width (column_span: 4) and make the inner tile grid responsive using custom:layout-card (4 desktop / 2 mobile unless the user asks otherwise).
  • In type: sections views, the first section immediately below top chips/badges must be a full-width container (column_span: 4) with a single wrapper card that also sets grid_options.columns: full to prevent skinny-column whitespace.
  • Consolidate upward after removals/moves: do not leave dead space, empty placeholders, or intentionally sparse rows unless the user explicitly asks for whitespace.

Note: If the repo/view uses Home Assistant type: sections, treat sections as the top-level structure and enforce the same container rules inside each section (sections should contain only grid/vertical-stack cards and their children).

Design System Rules (Implementation Discipline)

Button Card (Primary Renderer)

  • Use custom:button-card as the structural primitive.
  • Templates required. Do not inline per-card styles:; keep styling inside centralized templates/snippets.
  • Logic via variables or template JS only (avoid duplicating logic per-card).

card-mod (Styling Constraint Layer)

  • Allowed only for shared/global polish:

- padding normalization - border radius control - shadow suppression - typography consistency

  • No entity-specific styling
  • No per-card visual experimentation

Flex Horseshoe Card

  • One primary metric per card.
  • Explicit color thresholds.
  • No mixed units.

Mini Graph Card

  • One metric per graph.
  • Consistent time windows per dashboard.
  • Minimal legends (only when required).

Template Architecture (Required)

  • Views reference templates only (for custom:button-card: every instance must specify template:).
  • Templates accept variables; views pass variables.
  • Do not create new templates unless explicitly instructed.

Repo reality check (important):

  • If the repo already has established templates (for example, Infrastructure uses bearstone_*), use what exists.
  • If the spec's "required template categories" are not present, map to the closest existing template and call out the gap, or ask for explicit permission to add templates.

Stitch MCP (Inspiration Only)

Use Stitch only to learn:

  • visual hierarchy (headers, grouping, density)
  • spacing rhythm (padding/gaps)
  • grouping patterns (panels, sections)

Never treat Stitch output as implementation code.

When prompting Stitch, include these constraints verbatim:

Grid-only layout. No absolute positioning. No JS frameworks. No custom HTML/CSS outside card-mod.
Card types limited to: custom:button-card, card-mod, custom:flex-horseshoe-card, custom:mini-graph-card, and HA core fallback cards only if unavoidable.
Max layout nesting depth: 2. No horizontal-stack inside grid cells.

Optional Stitch Handoff (Light Bridge)

Use this only when the user explicitly asks for visual ideation, layout exploration, or variants.

  • Trigger Stitch path:

- User asks for redesign inspiration, variants, or multiple visual directions.

  • Skip Stitch path:

- User asks for direct dashboard refactor/update and no ideation is needed.

  • Preconditions:

- Stitch is used for hierarchy/spacing/grouping ideation only. - Stitch output must never be copied as implementation code. - Final implementation must still obey all allowed card/layout rules in this skill.

Handoff artifact (summary only, no code export):

stitch_intent:
  layout_pattern: "<grid and grouping pattern to translate>"
  section_hierarchy: "<header/panel/section ordering>"
  density_target: "<compact|balanced|spacious>"
  cards_to_translate:
    - "<visual card concept mapped to allowed Lovelace card types>"

Translation requirement:

  • Convert stitch_intent into approved Lovelace structures only (grid, vertical-stack, Tier 1 cards first).
  • Re-map any unsupported Stitch concepts to compliant cards/containers and explain fallback choices inline when Tier 2 is required.

Fallback behavior when Stitch is unavailable:

  • Continue with manual ideation using this skill's design system and rules.
  • State degraded mode clearly ("Stitch unavailable; proceeding with manual hierarchy/density planning").
  • Do not block dashboard work on Stitch availability.

Workflow (Do This In Order)

  1. Use direct-update mode for this repo:

- Edit production YAML directly (no staged dashboard copies in this skill workflow). - Keep rollback safety by minimizing diffs and validating before HA restart/reload.

  1. Read the target dashboard/view/partials/templates and include targets before editing:

- Confirm the exact source view/partial/template files. - Confirm referenced !include files/directories exist and are in-scope.

  1. Determine intent from the user's request and existing dashboard context: infra (NOC), home, energy, or environment. Keep one intent per view.
  2. Validate entities and services before editing:

- Prefer the Home Assistant MCP for live entity/service validation (required when available). - Record the MCP validation step in the work notes before writing YAML. - If MCP is not available, ask the user to confirm entity IDs and services (do not guess).

  1. Draft layout with constraints: a top-level grid and optional vertical-stack groups.

- If using Stitch, first summarize stitch_intent and treat it as advisory input to this step. - After removals, reflow cards/sections upward to collapse gaps and reduce empty rows.

  1. Implement using Tier 1 cards first; reuse existing templates; avoid one-off styles.
  2. If fallback cards are necessary, add an inline comment explaining why Tier 1 cannot satisfy the requirement.
  3. Validate in this order:

- Run pwsh -NoProfile -File tools/validate_dashboards.ps1. - Run pwsh -NoProfile -File tools/ha_ui_smoke.ps1. - Run Home Assistant config validation (ha core check or homeassistant --script check_config) when available. - Run scripts/validate_lovelace_view.py from this skill against each changed view file.

  1. Failure behavior:

- If requirements can't be met: state the violated rule and propose a compliant alternative. - If validation fails: stop, surface the error output, and propose corrected YAML. Do not leave invalid config applied.

Example flow:

  • User asks for redesign inspiration -> Stitch ideation with required constraints -> summarize stitch_intent -> translate to Lovelace-safe YAML -> run validation checks.

References

  • Read references/dashboard_rules.md when you need the full constraint set and repo-specific mapping notes.

Home Assistant MCP Validation (Required When Available)

Before writing Lovelace YAML, confirm:

  • Every entity: (and any entities referenced via variables) exists.
  • Every service you plan to call exists and the payload shape is correct (especially service_data).

When Home Assistant MCP is enabled, use it to:

  • List/confirm entities (avoid typos like sensor.foo_bar vs sensor.foobar).
  • Confirm the dashboard card references match real entities.
  • Validate service names and fields before committing YAML changes.

If MCP is not enabled or not reachable, stop and ask for the missing entity/service IDs rather than inventing them.

平台分布

Codex

34.39%
按下载量换算146

Claude

28.84%
按下载量换算122

Cursor

20.18%
按下载量换算86

Gemini CLI

9.34%
按下载量换算40

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

调用外部服务

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills